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

Client/Monorepo: Use WASM Crypto (keccak256) for Hashing / Consistent Hash Function Overwrite #3192

Merged
merged 66 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
9124038
Add @polkadot/wasm crypto dependency
holgerd77 Dec 14, 2023
954f603
Use @polkadot/wasm keccak256 for trie key hashing in execution state …
holgerd77 Dec 14, 2023
4cc394b
Tighten calling for useKeyHashingFunction
holgerd77 Dec 15, 2023
3c3c85f
Add customCrypto options dict to Common, first keccak256 usage and test
holgerd77 Dec 18, 2023
159abd1
Add custom keccak256 usage to EVM keccak256 opcode
holgerd77 Dec 18, 2023
691e27c
Add wasm based ecrecover option
acolytec3 Dec 22, 2023
91a12b0
export calcSigRecovery
acolytec3 Dec 22, 2023
b7852a1
use customcrypto if available
acolytec3 Dec 22, 2023
de7ac90
add test for custom ecrecover
acolytec3 Dec 22, 2023
c8d5052
Add optional common to trie interface
acolytec3 Dec 22, 2023
1d1bb45
Add cli option
acolytec3 Dec 23, 2023
1c8e3fb
Rebuild package-lock.json
holgerd77 Dec 29, 2023
aa36a91
Add @polkadot/util as a dev dependency to the tx package for testing
holgerd77 Dec 29, 2023
7190802
Merge branch 'master' into client-use-polkadot-wasm-lib-hashing
holgerd77 Dec 29, 2023
508ab47
Rebuild package-lock.json
holgerd77 Dec 29, 2023
1448e7c
Merge remote-tracking branch 'origin/master' into client-use-polkadot…
acolytec3 Jan 2, 2024
44069df
Pass common into trie instantiations in snap sync fetchers
scorbajio Jan 4, 2024
dc43f2e
Use wasm keccak function if available in bytecodeFetcher
scorbajio Jan 4, 2024
a4c9304
Use wasm keccak function if available in trienodeFetcher
scorbajio Jan 4, 2024
88b23c9
Merge branch 'master' into client-use-polkadot-wasm-lib-hashing
scorbajio Jan 4, 2024
4f792ac
Refactor default statemanager trie and keccak256 usage to allow optio…
scorbajio Jan 4, 2024
94edfb9
Refactor rpc statemanager trie and keccak256 usage to allow option of…
scorbajio Jan 4, 2024
1352b1f
Refactor verkle statemanager trie and keccak256 usage to allow option…
scorbajio Jan 4, 2024
702713e
Merge branch 'client-use-polkadot-wasm-lib-hashing' of github.com:eth…
scorbajio Jan 4, 2024
a69262f
Fix reference to statemanager opts
scorbajio Jan 5, 2024
1add24a
Pass common to verifyProof trie instantiation
scorbajio Jan 5, 2024
bb67599
Test if trie shallowCopy is using the correct hashing function
scorbajio Jan 5, 2024
01084fd
Merge branch 'master' into client-use-polkadot-wasm-lib-hashing
scorbajio Jan 5, 2024
2e6714a
Update packages/tx/src/capabilities/legacy.ts
scorbajio Jan 5, 2024
d7c2307
Update packages/tx/src/capabilities/legacy.ts
scorbajio Jan 5, 2024
688d15e
Update packages/tx/src/capabilities/legacy.ts
scorbajio Jan 5, 2024
bdf32a3
Update packages/tx/src/capabilities/legacy.ts
scorbajio Jan 5, 2024
828a436
tx: fix double declaration
gabrocheleau Jan 6, 2024
542e84a
Merge branch 'master' into client-use-polkadot-wasm-lib-hashing
gabrocheleau Jan 6, 2024
e705483
Use wasm keccak function if available in block
scorbajio Jan 10, 2024
e241b26
Use consistent naming for opts parameter
scorbajio Jan 10, 2024
d52337d
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
scorbajio Jan 10, 2024
487c261
Update package-lock
scorbajio Jan 10, 2024
8d1f664
Use wasm keccak function if available in header
scorbajio Jan 11, 2024
0d2e5e2
Use consistent naming for opts parameter
scorbajio Jan 11, 2024
644a521
Explicitly declare return type
scorbajio Jan 11, 2024
23ad166
Pass common to tries instantiated in genTrieRoot functions
scorbajio Jan 11, 2024
f69d5a7
Fix tests
scorbajio Jan 11, 2024
8679738
Fix test
scorbajio Jan 11, 2024
9b8e6c4
Block: add suggestions from code review
holgerd77 Jan 11, 2024
68aa905
Add test for Block hash() method with custom crypto
holgerd77 Jan 11, 2024
5064f17
Some clean-up
holgerd77 Jan 11, 2024
adf908a
Pass common in vm and testrunner tries
acolytec3 Jan 11, 2024
8272b98
Update evm usage for customCrypto
acolytec3 Jan 11, 2024
d6ca599
Move wasm crypto tests to client
acolytec3 Jan 11, 2024
7ebf2d7
add optional wasm keccak in misc uses
acolytec3 Jan 11, 2024
b523c60
Add polkadot/util
acolytec3 Jan 11, 2024
7f17855
import util directly
acolytec3 Jan 11, 2024
1dccca1
resolve polkadot/util to fake dep
acolytec3 Jan 11, 2024
cc6d29b
Devp2p: Use WASM Crypto
holgerd77 Jan 12, 2024
995e48c
Mock polkadot util module
acolytec3 Jan 12, 2024
8b1c24f
try installing peers
acolytec3 Jan 12, 2024
9e24d67
Merge remote-tracking branch 'origin/master' into client-use-polkadot…
acolytec3 Jan 12, 2024
528ec4a
Add custom sha256 support and tests
acolytec3 Jan 16, 2024
4739240
Add wasm ecSign
acolytec3 Jan 16, 2024
c107103
Merge remote-tracking branch 'origin/master' into client-use-polkadot…
acolytec3 Jan 16, 2024
7e174ef
Merge branch 'master' into client-use-polkadot-wasm-lib-hashing
holgerd77 Jan 17, 2024
00cd74d
Passing common in various places
acolytec3 Jan 17, 2024
99f412b
Fix import
acolytec3 Jan 17, 2024
0f9cc6c
block/client: minor changes
jochem-brouwer Jan 18, 2024
1d90668
Add ecrecover function
acolytec3 Jan 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci --omit=peer
- run: npm ci
working-directory: ${{github.workspace}}

- run: npm run coverage
Expand Down
Loading
Loading