Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error thrown by Miner on Subnet-EVM #1342

Closed
ashucoder9 opened this issue Sep 16, 2024 · 5 comments
Closed

Error thrown by Miner on Subnet-EVM #1342

ashucoder9 opened this issue Sep 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@ashucoder9
Copy link
Member

Describe the bug
We created 4 new subnets on the Fuji testnet. Initially, a transaction is minted on 2 chains, but then transactions either stay in a pending state or fail.

Upon checking the logs, we noticed two types of errors:

  1. rpc/handler.go:579 Served eth_sendRawTransaction reqid=6051647550030550 execTime="86.652µs" procTime="88.615µs" totalTime="88.896µs" err="invalid sender"
  2. Commit new mining work number=1 hash=bce612..a36d06 uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed=1.043ms. Here, the ‘number’ variable increases every second.

The other two chains are working fine, and all 4 were set up similarly. We’ve tried restarting the chains. This resolves the "invalid sender" issue, but then the second error appears.

Screenshots
Screenshot 2024-09-11 at 3 09 47 AM

Logs
[09-09|13:20:05.987] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> bootstrap/storage.go:187 executed blocks {"numExecuted": 0, "numToExecute": 0, "halted": false, "duration": "54.17µs"} [09-09|13:20:05.988] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> snowman/engine.go:513 starting consensus {"lastAcceptedID": "26Ue2RuBk6ikffW1f6ETamK7RGxnKbp4qrwoChsGXi93FRmiPZ", "lastAcceptedHeight": 24} [09-09|13:22:01.452] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> internal/ethapi/api.go:1780 Submitted transaction hash=0xdcd22f2674aa57fde9cf0b68ef90bd5076d7d90c8de0e7f0284ad8ffb6b3003f from=0xE0bC98d52fF56780BF9D0fdc973a0fEa333Dfad9 nonce=40 recipient=0x00EBbc3B3Eb868CcC861e33A75B9fA123816E1Ed value=1,000,000,000,000,000,000 type=2 gasFeeCap=1001 gasTipCap=1001 gasPrice=1001 [09-09|13:22:01.453] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=6,049,604,819,201,596,910,717,545,524,423,942,977,736,529,612,800,024 hash=5ad2f3..e36b4c uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed=1.157ms [09-09|13:22:01.956] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=58,239,545,594,453,773,459,477,810,763,629,299,046,669,570,582,425,600,024 hash=9dfa5c..5d7c96 uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="748.629µs" [09-09|13:22:02.457] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=560,672,105,437,806,477,094,392,884,221,459,261,922,287,955,997,011,251,200,024 hash=19cf37..8492bb uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="645.846µs" [09-09|13:22:02.959] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=5,397,590,359,049,762,954,987,720,296,399,988,314,525,866,152,383,227,315,302,400,024 hash=1dc3de..2d6004 uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="769.475µs" [09-09|13:22:03.461] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=51,962,602,386,572,067,967,666,783,293,442,687,503,940,513,448,993,329,364,416,204,800,024 hash=c26273..3a74d3 uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="764.618µs" [09-09|13:22:03.962] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=500,243,973,175,529,298,324,728,122,765,972,752,600,435,322,973,458,781,791,234,803,609,600,024 hash=fbd3ef..3388db uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="590.72µs" [09-09|13:22:04.464] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=4,815,848,729,760,820,554,972,157,637,868,019,689,284,390,854,265,487,692,304,217,454,349,619,200,024 hash=6b7ed8..9b001d uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="668.679µs" [09-09|13:22:04.965] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=46,362,175,721,407,419,482,716,961,579,755,425,548,740,830,754,013,850,013,812,701,433,023,784,038,400,024 hash=46bb71..603714 uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="572.249µs" [09-09|13:22:05.467] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=446,328,665,669,989,227,360,116,189,128,305,481,757,727,977,668,891,334,082,974,876,695,719,968,937,676,800,024 hash=767e87..e87bf1 uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="596.224µs" [09-09|13:22:05.969] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=4,296,806,064,404,986,291,795,838,552,738,196,872,881,647,241,018,416,873,216,799,137,949,696,140,963,014,553,600,024 hash=374839..290c8a uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="573.605µs" [09-09|13:22:06.471] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=398,224,243,530,972,032,780,578,162,892,396,651,209,194,786,382,839,948,768,636,372,273,128,684,159,113,410,041,971,814,400,024 hash=01f3f3..50544e uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="609.098µs" [09-09|13:22:06.973] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=3,833,704,792,472,667,759,578,625,974,165,102,561,190,918,208,507,600,186,795,662,355,873,409,842,399,784,798,474,062,657,228,800,024 hash=a2c623..d1fb9b uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="656.377µs" [09-09|13:22:07.474] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=36,907,076,037,134,372,521,463,432,253,287,442,356,584,969,593,302,666,998,281,841,499,993,316,552,782,728,254,909,801,201,141,657,600,024 hash=868028..a16d5b uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="660.204µs" [09-09|13:22:07.976] INFO <2krPEErf6MWtXvFs3aK3HWPWBwN89R5qzMjvsLonEELzwoW6Ak Chain> miner/worker.go:531 Commit new mining work number=355,304,421,009,492,604,264,128,462,302,398,207,566,843,502,274,724,775,192,459,288,120,435,658,453,639,324,910,016,656,163,390,737,715,200,024 hash=9dc18c..9e8e9a uncles=0 txs=1 gas=21000 fees=2.1021e-11 elapsed="607.051µs"

Operating System
Ubuntu 24.04

Additional context
Our project required 100bn gas limit. By default RPCGasCap was set to 50mn so we changed it to 200bn (more than 100 so that if we want to increase our gaslimits again, we can do it without updating the config.json). We archived it by the following steps:

  1. navigate to '~/.avalanchego/configs/chains'
  2. make a directory named by Blockchain ID
  3. inside this new dir creating a file named 'config.json'
  4. populated it with this json object:
    {
    "rpc-gas-cap":200000000000
    }
  5. restart the avalanche go server by 'sudo systemctl restart avalanchego'
@ashucoder9 ashucoder9 added the bug Something isn't working label Sep 16, 2024
@ceyonur
Copy link
Collaborator

ceyonur commented Sep 16, 2024

Thanks for putting the issue. We have found the root cause and put up a fix here #1343 .

We suspect this occur only with some extreme fee configuration (where base fee denominator is very high). We're going to release a new subnet-evm version with the fix soon and your network should recover after running that version.

@ceyonur
Copy link
Collaborator

ceyonur commented Sep 17, 2024

We have released Subnet-EVM v0.6.10 . Could you see if it fixes the issue?

@ashucoder9
Copy link
Member Author

@yaksheshgupta

@yaksheshgupta
Copy link

Hey,
the issue is solved!!
I was facing this issue in 3 blockchains, updated them and they are working fine
@ashucoder9
thanks

@ceyonur
Copy link
Collaborator

ceyonur commented Oct 3, 2024

Thank you for reporting this.

@ceyonur ceyonur closed this as completed Oct 3, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants