Skip to content

Instantly share code, notes, and snippets.

@cassc
Created May 16, 2024 07:37
Show Gist options
  • Save cassc/09dce1b9fd5ba6ed3894e2c9ed275bc7 to your computer and use it in GitHub Desktop.
Save cassc/09dce1b9fd5ba6ed3894e2c9ed275bc7 to your computer and use it in GitHub Desktop.
create2-gas-mismatch
{
"00000001-mixed-9": {
"env": {
"currentCoinbase": "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty": "0x200000",
"currentRandom": "0x0000000000000000000000000000000000000000000000000000000000200000",
"currentGasLimit": "0x26e1f476fe1e22",
"currentNumber": "0x1",
"currentTimestamp": "0x3e8",
"previousHash": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
"currentBaseFee": "0x10"
},
"pre": {
"0x00000000000000000000000000000000000000f1": {
"code": "0x6036609860e5604d604460b96043776e89305b51701986750a8320821415313c58830b4403098af56b6434431d63644670614408038c066713854011400950383b14701d4600746920696f07808b033b32968b610aa4a1421c867b8906a0678858586e115020a0f4337c5a6674780288315036098014f1fd47176d12191809793e5f8c097690376e706f72f3360484797885117c61798179667d97470076624610145051604089f5125317915016569c6753461a00f46d057875997a7237006951844596959a855386118d9476674197575764830b8635a2318c78393063701871511b1b6692388a966318616c570a357f32747046430a386d306c9b0b64598e0b52146970386665537900167c0545738f0a641d16f45854799e9d393b66921308368a7a8b567c0244163b11025f1566886b1d5796a27009727d6404080300148a439c81709961117971899245f03da158770398330a3114706a6b947b59786d5461a185086c65528d5802161a8e3030fe317f7e39878b1d528b6043059d721a5970393112463104448815180652368738a35020144567394343735371406e37058c8ca419168905073593021946706b1c816a74553d57829c738204920311167161541b0a88895ffd4594560637f561728b415a5341524112530382446f3a5b3b35886766528c4099847234fa80795068053306606c30faa06da378738c833d8e4644886ef1f5335bfe76414854639533483a1b945543783a0588708d14486e6b77f1044839396c4375556b71336c6f0b9697a182583d3218019962101547516a12a0a3511b61584093558b3b9b4560608a1b50157770007b02802056795f8e9b20523836613389385f5f77a2393452136f04986da215605938317b8888644350523d6916837c51848e510298658244455612668e8c7920117b381d9d681b74540a07fd6c8d3e17f363958c627b136320443584a0079b92521b610062557b786e51833c646410590a3d153285a1896404906a1d1da1481c4293741b071d5504858112f5027b365b858e8f779132848f068657867a9c7f838b0144800b13617bf47865719d65189a8e9b5f617a731c6d093b3d4220523cfff33f3132740430558a8e3ef4648b0681341c503a4006514186368214766b54ff0536188d0b965f5556f08e1da185036bfea21188460858505176996bf21414048859033df21395a3091d41420b441778fe54621b6d726e9d716a3e8d5a43559a5a0374fa5268865f9f956d83338d8d73691a727257707f3272697a027d9150438a8c14f35b3c8c06f069343f0734073303763b9d426d631d8482615867453d6e8e696a64695a86078a858b8b88026e3c815234075a6d9b6f72fd50556e0a75596c57690552840b8d378553967cff391072423c02a2353c043758739c6a54a1875247015437fe6d73",
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000000000000000000000000000000000000000008",
"0x0000000000000000000000000000000000000000000000000000000000000002": "0x0000000000000000000000000000000000000000000000000000000000000005",
"0x0000000000000000000000000000000000000000000000000000000000000004": "0x0000000000000000000000000000000000000000000000000000000000000005",
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x000000000000000000000000000000000000000000000000000000000000000d",
"0x0000000000000000000000000000000000000000000000000000000000000006": "0x0000000000000000000000000000000000000000000000000000000000000004",
"0x0000000000000000000000000000000000000000000000000000000000000007": "0x000000000000000000000000000000000000000000000000000000000000000c",
"0x0000000000000000000000000000000000000000000000000000000000000008": "0x000000000000000000000000000000000000000000000000000000000000000d"
},
"balance": "0x0",
"nonce": "0x0"
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
"code": "0x",
"storage": {},
"balance": "0xffffffffff",
"nonce": "0x0"
}
},
"transaction": {
"gasPrice": "0x10",
"nonce": "0x0",
"to": "0x00000000000000000000000000000000000000f1",
"data": [
"0x511f330fa296f45a75fbc15a5d045f29e0c5ab456237c4c39da7a12b7e95956d1786c930e6fd6b3d2ab0e179c40175b0f3fcd21f4cedd3ed4dcfbba86f535661e98fb54ae9e08c101c17e6f7c2dde58f97b9ac76e054a90f60521c"
],
"gasLimit": [
"0x7a1200"
],
"value": [
"0x6fbe"
],
"sender": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"secretKey": "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"
},
"out": "0x",
"post": {
"Shanghai": [
{
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"logs": "0x0000000000000000000000000000000000000000000000000000000000000000",
"indexes": {
"data": 0,
"gas": 0,
"value": 0
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment