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

Develop durian #262

Open
wants to merge 27 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a43cd83
add modexp tests
laisolizq Oct 3, 2024
4d81e97
update tests forkid 13
laisolizq Oct 3, 2024
759c67d
delete folder custom-generated
laisolizq Oct 4, 2024
d97339c
update pre-revert tests (delete modexp)
laisolizq Oct 4, 2024
52be415
add tests p256verify
laisolizq Oct 8, 2024
85bec8c
update tests 0x100
laisolizq Oct 10, 2024
b28c884
delete tests 0x100 & update no-exec
laisolizq Oct 11, 2024
d589ca7
Merge pull request #261 from 0xPolygonHermez/feature/add-rip7212
laisolizq Oct 14, 2024
04ba32a
Merge pull request #260 from 0xPolygonHermez/feature/fork-13
laisolizq Oct 14, 2024
68c153a
update VCs data/calldata
laisolizq Oct 15, 2024
13e111a
update random inputs
laisolizq Oct 15, 2024
e5a6c07
update eth-tests VCs
laisolizq Oct 15, 2024
ee55c2b
fixes eth-tests modexp VCs
laisolizq Oct 16, 2024
d57c7ad
Update vcs fix modexp counters
laisolizq Oct 16, 2024
613c468
update vcs fix p256verify
laisolizq Oct 17, 2024
6c7337c
update vcs processTx & isColdAddress
laisolizq Oct 17, 2024
5297c70
Merge pull request #263 from 0xPolygonHermez/feature/update-vc-durian
laisolizq Oct 17, 2024
33f397d
update package commonjs
laisolizq Oct 17, 2024
a6a04c1
add scripts to generate random tests p256verify
laisolizq Oct 21, 2024
3402684
add tests call directly precompiled
laisolizq Oct 24, 2024
930ab72
add return tests p256verify
laisolizq Oct 24, 2024
7cd8391
Merge pull request #264 from 0xPolygonHermez/feature/add-random-tests…
laisolizq Oct 25, 2024
5158e2c
add test call directly modexp fails ctx 0
laisolizq Nov 5, 2024
2f29bda
add test create & sstore & call & revert 0xef
laisolizq Nov 6, 2024
837f50c
Merge pull request #265 from 0xPolygonHermez/feature/add-pre-modexp-ctx0
laisolizq Nov 7, 2024
d2a2b29
Merge pull request #266 from 0xPolygonHermez/fix/internal-audit-durian
laisolizq Nov 7, 2024
2b70027
update package fix audit
laisolizq Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ tools-inputs/tests-parallel/parallel-tests
tools/coverage/reports*
inputs-executor/ethereum-tests/GeneralStateTests/no-exec-*
inputs-executor/ethereum-tests/GeneralStateTests/*/no-exec-*
inputs-executor/calldata/pre-rip7212-*
tools-inputs/data/calldata/pre-rip7212-*
tools-inputs/tools-calldata/generate-test-vectors/gen-pre-rip7212-*
10 changes: 5 additions & 5 deletions inputs-executor/calldata/address-collision_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"oldNumBatch": 0,
"newNumBatch": 1,
"chainID": 1000,
"forkID": 12,
"forkID": 13,
"forcedBlockHashL1": "0x0000000000000000000000000000000000000000000000000000000000000000",
"batchL2Data": "0x0b73e6af6f00000000e6800183989680941275fbb540c8efc58b812ba83b0d0b8b9917ae988084e1925e758203e88080fc01d90eb7b46aa57f75cb0bb2c834c9f8e4b1e5210f4d64ee9953ef27bcb1cd106e72f63f4f0685f0cfc0c36d95b22f7ca19cef9352b59e77aea093c70b4b681bff",
"l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
Expand Down Expand Up @@ -384,13 +384,13 @@
]
},
"virtualCounters": {
"steps": 20797,
"steps": 19317,
"arith": 694,
"binary": 1122,
"binary": 1127,
"memAlign": 24,
"keccaks": 45,
"keccaks": 12,
"padding": 23,
"poseidon": 2243,
"poseidon": 1534,
"sha256": 0
}
}
10 changes: 5 additions & 5 deletions inputs-executor/calldata/benchmark-keccaks_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"oldNumBatch": 0,
"newNumBatch": 1,
"chainID": 1000,
"forkID": 12,
"forkID": 13,
"forcedBlockHashL1": "0x0000000000000000000000000000000000000000000000000000000000000000",
"batchL2Data": "0x0b73e6af6f00000000f8468001830f4240941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4c1171f23000000000000000000000000000000000000000000000000000000000000000a8203e880800d9e6d7a26b75d607d384f9ae58bc4ad92e092a5af9efc768c114ef8ebaab9f655b4cfd61939e4b838508e2f73baba13e4efc6d5af032c034070ad7128ec147f1bff",
"l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
Expand Down Expand Up @@ -242,13 +242,13 @@
]
},
"virtualCounters": {
"steps": 55658,
"steps": 48968,
"arith": 949,
"binary": 2277,
"binary": 2177,
"memAlign": 117,
"keccaks": 73,
"keccaks": 20,
"padding": 23,
"poseidon": 1273,
"poseidon": 921,
"sha256": 0
}
}
10 changes: 5 additions & 5 deletions inputs-executor/calldata/chainId_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"oldNumBatch": 0,
"newNumBatch": 1,
"chainID": 1000,
"forkID": 12,
"forkID": 13,
"forcedBlockHashL1": "0x0000000000000000000000000000000000000000000000000000000000000000",
"batchL2Data": "0x0b73e6af6f00000000e3800a8401c9c38094100000000000000000000000000000000000000080808203e88080fb5f36a0c33e896d5005a171e3587685546a2cc2d8f839d6ca60e0892487662416efdaf0fb5f9cf814e9a722ff5ed0a16a94e0ef88bae4951c9d64c6fa47d2da1cff",
"l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
Expand Down Expand Up @@ -214,13 +214,13 @@
]
},
"virtualCounters": {
"steps": 10326,
"steps": 9706,
"arith": 563,
"binary": 683,
"binary": 685,
"memAlign": 0,
"keccaks": 41,
"keccaks": 8,
"padding": 12,
"poseidon": 1404,
"poseidon": 1013,
"sha256": 0
}
}
10 changes: 5 additions & 5 deletions inputs-executor/calldata/change-l2-block_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"oldNumBatch": 0,
"newNumBatch": 1,
"chainID": 1000,
"forkID": 12,
"forkID": 13,
"forcedBlockHashL1": "0x0000000000000000000000000000000000000000000000000000000000000000",
"batchL2Data": "0x0b73e6af6f00000000",
"l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
Expand Down Expand Up @@ -214,13 +214,13 @@
]
},
"virtualCounters": {
"steps": 802,
"steps": 542,
"arith": 1,
"binary": 25,
"binary": 26,
"memAlign": 0,
"keccaks": 38,
"keccaks": 5,
"padding": 0,
"poseidon": 454,
"poseidon": 362,
"sha256": 0
}
}
10 changes: 5 additions & 5 deletions inputs-executor/calldata/change-l2-block_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"oldNumBatch": 0,
"newNumBatch": 1,
"chainID": 1000,
"forkID": 12,
"forkID": 13,
"forcedBlockHashL1": "0x0000000000000000000000000000000000000000000000000000000000000000",
"batchL2Data": "0x0b73e6af6e000000000b0000000100000000",
"l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9",
Expand Down Expand Up @@ -214,13 +214,13 @@
]
},
"virtualCounters": {
"steps": 1232,
"steps": 722,
"arith": 1,
"binary": 42,
"binary": 43,
"memAlign": 0,
"keccaks": 73,
"keccaks": 7,
"padding": 0,
"poseidon": 830,
"poseidon": 660,
"sha256": 0
}
}
Loading
Loading