Skip to content

Commit

Permalink
Fix returnData at FT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasirv committed Sep 21, 2023
1 parent d40dab0 commit 974bbb1
Show file tree
Hide file tree
Showing 4 changed files with 68,839 additions and 68,652 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Clone repos
run: |
cd ..
git clone https://github.com/0xPolygonHermez/zkevm-testvectors.git
git clone https://github.com/0xPolygonHermez/zkevm-testvectors.git --branch v2.0.0-fork.5
cd zkevm-testvectors/tools/ethereum-tests
git clone https://github.com/0xPolygonHermez/ethereum-tests tests
cd tests
Expand Down
2 changes: 1 addition & 1 deletion tools/full-tracer-tests/full-tracer-tests-prover.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function compareDefaultTrace(geth, fullTracer, i) {
// memSize?
stack: step.stack,
depth: step.depth,
// returndata?
returnData: step.return_data,
};
if (Number(step.gas_refund) > 0) {
newStep.refund = Number(step.gas_refund);
Expand Down
2 changes: 1 addition & 1 deletion tools/full-tracer-tests/full-tracer-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ async function compareDefaultTracer(geth, fullTracer, i) {
// memSize?
stack: step.stack,
depth: step.depth,
// returndata?
returnData: step.return_data,
};
if (Number(step.gas_refund) > 0) {
newStep.refund = Number(step.gas_refund);
Expand Down
Loading

0 comments on commit 974bbb1

Please sign in to comment.