Skip to content

Commit

Permalink
Migrate EVM typegen to new codec
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruch committed Mar 26, 2024
1 parent 74823fa commit d578e47
Show file tree
Hide file tree
Showing 9 changed files with 399 additions and 475 deletions.
1 change: 1 addition & 0 deletions evm/evm-codec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"test": "vitest run"
},
"dependencies": {
"keccak256": "^1.0.6"
},
"devDependencies": {
"@types/node": "^18.18.14",
Expand Down
2 changes: 2 additions & 0 deletions evm/evm-codec/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ export { Sink } from "./sink";
export type { Codec } from "./codec";
export * from "./codecs/primitives";
export * from "./contract-base";
import keccak256 from "keccak256";
export { keccak256 };
8 changes: 4 additions & 4 deletions evm/evm-typegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"@subsquid/util-internal": "^3.1.0",
"@subsquid/util-internal-code-printer": "^1.2.2",
"@subsquid/util-internal-commander": "^1.3.2",
"commander": "^11.1.0"
},
"peerDependencies": {
"ethers": "^6.9.0"
"@subsquid/evm-codec": "file:../evm-codec",
"commander": "^11.1.0",
"prettier": "^3.2.5"
},
"devDependencies": {
"abitype": "^1.0.0",
"@types/node": "^18.18.14",
"typescript": "~5.3.2"
}
Expand Down
135 changes: 0 additions & 135 deletions evm/evm-typegen/src/abi.support.ts

This file was deleted.

Loading

0 comments on commit d578e47

Please sign in to comment.