Comments (5)
Could you please share genesis.json anvil is initialized with?
from foundry.
Could you please share genesis.json anvil is initialized with?
{
"config": {
"chainId": 32382,
"homesteadBlock": 0,
"daoForkSupport": true,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"arrowGlacierBlock": 0,
"grayGlacierBlock": 0,
"shanghaiTime": 0,
"cancunTime": 0,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true
},
"nonce": "0x0",
"timestamp": "0x65f40695",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000123463a4b065722e99115d6c222f267d9cabb5240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x1c9c380",
"difficulty": "0x1",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
"1c5a77d9fa7ef466951b2f01f724bca3a5820b63": {
"balance": "0x200000000000000000000000000000000000000000000000000000000000000"
},
"33e0f539e31b35170faaa062af703b76a8282bf7": {
"balance": "0x200000000000000000000000000000000000000000000000000000000000000"
},
"1e32abcfe6db15c1570709e3fc02725335f50a47": {
"balance": "0x200000000000000000000000000000000000000000000000000000000000000"
},
"03a1bba60b5aa37094cf16123add674c01589488": {
"balance": "0x200000000000000000000000000000000000000000000000000000000000000"
}
},
"number": "0x0",
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"baseFeePerGas": null,
"excessBlobGas": null,
"blobGasUsed": null
}
from foundry.
For me running anvil --init genesis.json
and then cast public <tx payload>
with tx payload you've provided results in successful tx inclusion, am I misunderstanding the issue?
from foundry.
For me running
anvil --init genesis.json
and thencast public <tx payload>
with tx payload you've provided results in successful tx inclusion, am I misunderstanding the issue?
interesting. then the error may be returned by the Go SDK...
from foundry.
Had the same issue, and we mostly see it (I think) using Go's go-ethereum
lib since it does check for v, r, s
validity when parsing a full block from RPC.
The bug was introduced here: 4a1ad3658#diff-bbb221c267c4e8729a42aafb229eb1119e229db1cfa531b4bf61b3e928cac341
by using
v: U256::from(t.signature().v().y_parity_byte())
for all the tx type variants, instead of the raw v
value.
I'll try to make a PR to fix it
from foundry.
Related Issues (20)
- forge inspect should show event topics
- Using cast wallet account in forge test
- forge script: "Could not instantiate forked environment with fork url" --rpc-url to local anvil chain HOT 2
- "too many arguments, want at most 2" on custom network HOT 1
- Cheat to save/load the blockchain HOT 1
- Add random cheatcodes HOT 1
- Cleanup build_tx and cast_send HOT 1
- `forge test` is crashing with message: called `Option::unwrap()` on a `None` value HOT 4
- Add support for solc `0.8.26` HOT 1
- docker images for Mac m1-m3, arm HOT 2
- Contract call extremely slow after anvil_reset on a fork hangs HOT 11
- Formatter unable to exit gracefully when evaluating bad syntax
- RuntimeTransport jwt is broken HOT 1
- Failed to read artifacts from forge test HOT 2
- 0 ^ 0 returns 0 HOT 2
- Add support for filecoin
- Can't verify signature with Trezor One HOT 1
- Uncommitted changes HOT 2
- Allow to set an ERC20 token balance using json-rpc in anvil HOT 2
- Forge crashes when running Create2 script HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundry.