Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

bug: CALLDATACOPY #20

Closed
Tracked by #28
greged93 opened this issue Aug 25, 2023 · 4 comments
Closed
Tracked by #28

bug: CALLDATACOPY #20

greged93 opened this issue Aug 25, 2023 · 4 comments
Labels
evm bug Something related to normal EVM execution isn't working

Comments

@greged93
Copy link
Contributor

Bug Report

Kakarot version: ee6458a

Current behavior:
Test for CALLDATACOPY provided by ethereum/tests fails during test calldatacopy_d7g0v0_Shanghai when transaction is expected to pass (see here, post state is different from pre state).

Expected behavior:
Test should pass.

Steps to reproduce:

make setup
make target=calldatacopy_d7g0v0_Shanghai ef-test

Failing output should be:

Transaction execution error: "Error in the called contract (0x04e2460d0debdacdde372cb598b4e4403939ca112c8720e1c2aca13f6ac09b9a):
Error at pc=0:7:
Got an exception while executing a hint.
Cairo traceback (most recent call last):
Unknown location (pc=0:163)
Unknown location (pc=0:149)

Error in the called contract (0x04e2460d0debdacdde372cb598b4e4403939ca112c8720e1c2aca13f6ac09b9a):
Error at pc=0:31:
Got an exception while executing a hint.
Cairo traceback (most recent call last):
Unknown location (pc=0:4606)
Unknown location (pc=0:4545)
Unknown location (pc=0:4374)
Unknown location (pc=0:376)

Error in the called contract (0x049c085e55e5ab05ea46e16706720852421e86c1f8aeeab2be257313c4e290f4):
Error at pc=0:2671:
Couldn't compute operand op1. Unknown value for memory cell 40:1
Cairo traceback (most recent call last):
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18120)
Unknown location (pc=0:18091)
Unknown location (pc=0:16584)
Unknown location (pc=0:3321)
"
[!] Case ~/code/rust/ef-tests/crates/ef-testing/ethereum-tests/BlockchainTests/GeneralStateTests/VMTests/vmTests/calldatacopy.json failed (description: calldatacopy): Test failed: failed test calldatacopy_d7g0v0_Shanghai: expected storage value 0x0000000000000000000000000000000000000000000000000000000badc0ffee, got 0x0000000000000000000000000000000000000000000000000000000000000000
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Aug 25, 2023
@Eikix Eikix added this to the Official Ethereum Conformance milestone Aug 29, 2023
@greged93 greged93 added bug Something isn't working evm bug Something related to normal EVM execution isn't working and removed bug Something isn't working labels Sep 2, 2023
@Eikix Eikix self-assigned this Oct 16, 2023
@Eikix Eikix moved this from 🆕 Backlog to 🔖 Ready in Kakarot on Starknet Oct 16, 2023
@Eikix
Copy link
Member

Eikix commented Oct 17, 2023

Tried to run this particular test in ef-tests, and kakarot main repo, it passes.
A new test that does not pass is: calldatacopy_d4g0v0_Shanghai.

Due to:

calldatacopy_d4g0v0_Shanghai balance mismatch for 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b: expected 0x0000000000000000000000000000000000000000000000000ba1a9ce0b9d0099, got 0x0000000000000000000000000000000000000000000000000ba1a9ce0b9d009a
test blockchain_tests::vm_tests ... FAILED

It appears that we are not accounting for the value being transferred:
0x0ba1a9ce0ba1a9ce - 0x7752 * 0xa - 1 == 0xBA1A9CE0B9D0099

We are computing correctly the gas used and gas price, but not the value. Which may indicate the value was not transferred as part of the tx.

Error trace:

2023-10-17T04:56:55.646286Z  WARN sequencer::sequencer: Transaction execution reverted: Error in the called contract (0x01ee6133613c44c36bd4c2808e9ac2079b18cc9e6dd54d54c7e684175b32fe8b):
Error at pc=0:7:
Got an exception while executing a hint: Hint Error: Error in the called contract (0x01ee6133613c44c36bd4c2808e9ac2079b18cc9e6dd54d54c7e684175b32fe8b):
Error at pc=0:31:
Got an exception while executing a hint: Hint Error: Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
Error at pc=0:2786:
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18255)
Unknown location (pc=0:17645)
Unknown location (pc=0:7891)

Cairo traceback (most recent call last):
Unknown location (pc=0:4671)
Unknown location (pc=0:4610)
Unknown location (pc=0:4428)
Unknown location (pc=0:386)

Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
Error at pc=0:2786:
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18255)
Unknown location (pc=0:17645)
Unknown location (pc=0:7891)

Cairo traceback (most recent call last):
Unknown location (pc=0:163)
Unknown location (pc=0:149)

Error in the called contract (0x01ee6133613c44c36bd4c2808e9ac2079b18cc9e6dd54d54c7e684175b32fe8b):
Error at pc=0:31:
Got an exception while executing a hint: Hint Error: Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
Error at pc=0:2786:
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18255)
Unknown location (pc=0:17645)
Unknown location (pc=0:7891)

Cairo traceback (most recent call last):
Unknown location (pc=0:4671)
Unknown location (pc=0:4610)
Unknown location (pc=0:4428)
Unknown location (pc=0:386)

Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
Error at pc=0:2786:
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18265)
Unknown location (pc=0:18255)
Unknown location (pc=0:17645)
Unknown location (pc=0:7891)

@Eikix
Copy link
Member

Eikix commented Oct 17, 2023

Decoded trace:

/Users/eliastazartes/code/theodo/kakarot/.venv/lib/python3.9/site-packages/starkware/cairo/common/hash.cairo:16:18: Error at pc=0:7:
let result = hash_ptr.result;
^^
Got an exception while executing a hint: Hint Error: Error in the called contract (0x01ee6133613c44c36bd4c2808e9ac2079b18cc9e6dd54d54c7e684175b32fe8b):
Error at pc=0:31:
Got an exception while executing a hint: Hint Error: Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
/Users/eliastazartes/code/theodo/kakarot/src/utils/utils.cairo:270:34: Error at pc=0:2786:
memcpy(dst=new_data, src=data + data_offset, len=len);
^
^
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:623:44
let ctx: model.ExecutionContext
= decode_and_execute(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:208:9
call EnvironmentalInformation.exec_calldatacopy; // 0x37
^
********^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/instructions/environmental_information.cairo:295:38
let sliced_calldata: felt
= Helpers.slice_data(
^
^

Cairo traceback (most recent call last):
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/execution_context.cairo:394:29
program_counter=self.program_counter,
^^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/execution_context.cairo:304:20
let self = ExecutionContext.increment_program_counter(self=self, inc_value=len);
^
******************************************^
Unknown location (pc=0:4428)
/Users/eliastazartes/code/theodo/kakarot/.venv/lib/python3.9/site-packages/starkware/cairo/common/math_cmp.cairo:54:9
ap += 25;
^
^

Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
/Users/eliastazartes/code/theodo/kakarot/src/utils/utils.cairo:270:34: Error at pc=0:2786:
memcpy(dst=new_data, src=data + data_offset, len=len);
^^
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:623:44
let ctx: model.ExecutionContext
= decode_and_execute(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:208:9
call EnvironmentalInformation.exec_calldatacopy; // 0x37
^
*******^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/instructions/environmental_information.cairo:295:38
let sliced_calldata: felt
= Helpers.slice_data(
^
^

Cairo traceback (most recent call last):
/Users/eliastazartes/code/theodo/kakarot/.venv/lib/python3.9/site-packages/starkware/cairo/common/math.cairo:130:15
let low = [range_check_ptr];
^***************^
Unknown location (pc=0:149)

Error in the called contract (0x01ee6133613c44c36bd4c2808e9ac2079b18cc9e6dd54d54c7e684175b32fe8b):
Error at pc=0:31:
Got an exception while executing a hint: Hint Error: Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
/Users/eliastazartes/code/theodo/kakarot/src/utils/utils.cairo:270:34: Error at pc=0:2786:
memcpy(dst=new_data, src=data + data_offset, len=len);
^^
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:623:44
let ctx: model.ExecutionContext
= decode_and_execute(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:208:9
call EnvironmentalInformation.exec_calldatacopy; // 0x37
^
*******^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/instructions/environmental_information.cairo:295:38
let sliced_calldata: felt
= Helpers.slice_data(
^
^

Cairo traceback (most recent call last):
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/execution_context.cairo:394:29
program_counter=self.program_counter,
^^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/execution_context.cairo:304:20
let self = ExecutionContext.increment_program_counter(self=self, inc_value=len);
^
******************************************^
Unknown location (pc=0:4428)
/Users/eliastazartes/code/theodo/kakarot/.venv/lib/python3.9/site-packages/starkware/cairo/common/math_cmp.cairo:54:9
ap += 25;
^
^

Error in the called contract (0x0000000000000000000000000000000000000000000000000000000000000001):
/Users/eliastazartes/code/theodo/kakarot/src/utils/utils.cairo:270:34: Error at pc=0:2786:
memcpy(dst=new_data, src=data + data_offset, len=len);
^^
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded
Cairo traceback (most recent call last):
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:626:20
return run(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:623:44
let ctx: model.ExecutionContext
= decode_and_execute(ctx=ctx);
^
^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:208:9
call EnvironmentalInformation.exec_calldatacopy; // 0x37
^
*******^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/instructions/environmental_information.cairo:295:38
let sliced_calldata: felt
= Helpers.slice_data(
^
^

@Eikix
Copy link
Member

Eikix commented Oct 17, 2023

TL;DR


/Users/eliastazartes/code/theodo/kakarot/src/kakarot/evm.cairo:208:9
        call EnvironmentalInformation.exec_calldatacopy;  // 0x37
        ^*********************************************^
/Users/eliastazartes/code/theodo/kakarot/src/kakarot/instructions/environmental_information.cairo:295:38
        let sliced_calldata: felt* = Helpers.slice_data(
                                     ^*****************^

# ====>>> slice_data:
memcpy(dst=new_data, src=data + data_offset, len=len);
                                 ^****************^
Operation failed: 41:0 + 340282366920938463463374607431768211450, maximum offset value exceeded

@bajpai244 bajpai244 moved this from 🔖 Ready to 👀 In review in Kakarot on Starknet Oct 17, 2023
@Eikix Eikix moved this from 👀 In review to 🆕 Backlog in Kakarot on Starknet Oct 18, 2023
@Eikix Eikix removed their assignment Oct 18, 2023
@Eikix Eikix closed this as completed Oct 19, 2023
@github-project-automation github-project-automation bot moved this from 🆕 Backlog to ✅ Done in Kakarot on Starknet Oct 19, 2023
@greged93
Copy link
Contributor Author

linked to #554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
evm bug Something related to normal EVM execution isn't working
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants