temper
temper copied to clipboard
Simulate UniswapV4 swap transaction, got OpcodeNotFound
- I'm trying to simulate a uniswapV4 swap transaction and got issue
OpcodeNotFound - For example tx: https://etherscan.io/tx/0xf51b1141fba63e89720161286c00b792d96dd9d1e18770f728eb82815c8ab192
This is what I got:
{
"simulationId": 1,
"gasUsed": 236005,
"blockNumber": 21835969,
"success": false,
"trace": [
{
"callType": "CALL",
"from": "0xe234b706546cbbb560c869b8cb9c0699790bc154",
"to": "0x66a9893cc07d91d95644aedd05d03f95e1dba8af",
"functionSignature": "0x3593564c",
"value": "0x20324bb546e8000"
}
],
"formattedTrace": null,
"logs": [],
"exitReason": "OpcodeNotFound",
"returnData": "0x"
}
I tried with this edit with AI help but no work
let mut builder = ExecutorBuilder::default()
.with_gas_limit(gas_limit.into())
.set_tracing(tracing)
.with_spec(SpecId::CANCUN);
uni V4 uses transient storage which was introduced with cancun. cancun isn't supported by the current version of temper
uni V4 uses transient storage which was introduced with cancun. cancun isn't supported by the current version of temper
Yes, this is correct. If anyone wants to contribute and add cancun support we are happy to review and merge upstream.