Skip to content
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
aa54664
feat: add enqueueTokenBridgeDeployment and enqueueSetWethGateway
yahgwai Mar 19, 2026
7ffcb0b
refactor: address PR review feedback
yahgwai Mar 19, 2026
fb3506d
refactor: rename to PrepareTransactionRequest convention, extract sha…
yahgwai Mar 19, 2026
e3f85a7
refactor: use parseGwei for enqueueDefaultMaxGasPrice
yahgwai Mar 19, 2026
9b54a85
refactor: split submission costs, rename weth gateway to match conven…
yahgwai Mar 19, 2026
efa5df7
chore: fix prettier formatting
yahgwai Mar 19, 2026
54ee7d0
fix: replace dynamic import with static import in weth gateway test
yahgwai Mar 19, 2026
9161513
test: add integration test for enqueue token bridge
yahgwai Mar 19, 2026
8e120c2
test: remove brittle unit tests in favor of integration test
yahgwai Mar 19, 2026
9333677
fix: register network before waitForRetryables in integration test
yahgwai Mar 20, 2026
b3f16f1
docs: add JSDoc to enqueue prepare functions
yahgwai Mar 23, 2026
014e79f
feat: added default gas limits for enqueue token bridge variant
yahgwai Mar 25, 2026
b895006
refactor: extract shared data-size helpers for retryable submission cost
yahgwai Mar 25, 2026
2adcbc3
feat: add calculateRetryableSubmissionFee for enqueue variants
yahgwai Mar 25, 2026
867a3f3
feat: calculate retryable submission costs internally in enqueue func…
yahgwai Mar 25, 2026
8479125
fix: swap default gas limits for factory and contracts retryables
yahgwai Mar 25, 2026
192a9cf
refactor: read factory gas limit from TokenBridgeCreator contract
yahgwai Mar 25, 2026
3f6ef1b
style: fix prettier formatting
yahgwai Mar 25, 2026
f64404f
refactor: consolidate enqueue* and create* token bridge prepare variants
yahgwai Mar 26, 2026
1462741
fix: remove orbitChainPublicClient from examples
yahgwai Mar 26, 2026
3f99b46
refactor: inline gatewayRouterABI back into its single consumer
yahgwai Apr 8, 2026
17234fb
refactor: remove JSDoc comments, reorder types above ABI
yahgwai Apr 8, 2026
d473c07
refactor: remove dead code from createTokenBridge-ethers
yahgwai Apr 8, 2026
ce59bb4
refactor: restore original param ordering to reduce churn
yahgwai Apr 8, 2026
06336ee
refactor: minimize churn in setWethGateway prepare function
yahgwai Apr 8, 2026
e1d884b
feat(scripting): add zod schemas and viem transform helpers
yahgwai Apr 8, 2026
51ae67b
fix(scripting): override zod to v4 to fix TS2742 declaration emit errors
yahgwai Apr 8, 2026
6879988
refactor(scripting): rename gas schemas and use spread in transforms
yahgwai Apr 8, 2026
ce75457
fix: address PR review feedback
yahgwai Apr 10, 2026
48b529f
chore: fix prettier formatting
yahgwai Apr 10, 2026
610d0f2
Merge branch 'feat/enqueue-token-bridge-deployment' into feat/zod-schema
yahgwai Apr 13, 2026
df74312
fix(scripting): remove orbitChainRpcUrl from prepare schemas
yahgwai Apr 13, 2026
54c8758
fix: resolve 9 dev-dependency audit vulnerabilities via pnpm overrides
douglance Apr 13, 2026
5537130
feat(scripting): add zod schemas for action functions (#697)
yahgwai Apr 14, 2026
0529241
fix(scripting): use account address instead of privateKey in build* a…
yahgwai Apr 14, 2026
1496118
Merge remote-tracking branch 'origin/dl/audit' into feat/zod-schema
yahgwai Apr 14, 2026
70dd9ed
refactor(scripting): extract shared schema patterns
yahgwai Apr 15, 2026
4796f30
refactor(scripting): remove redundant commonFieldsSchema alias
yahgwai Apr 15, 2026
33cdef3
refactor(scripting): bake connection transforms into schema definitions
yahgwai Apr 16, 2026
e4ef7cd
refactor(scripting): use normal named import for isKnownWasmModuleRoo…
yahgwai Apr 22, 2026
c64fd00
chore: remove isTokenBridgeDeployed as unused
yahgwai Apr 22, 2026
71a579c
refactor(scripting): use viem's isAddress and isHex for schema valida…
yahgwai Apr 22, 2026
1561a6b
chore(deps): drop redundant pnpm overrides
yahgwai Apr 22, 2026
6224d74
test: update double-deploy error message assertion
yahgwai Apr 22, 2026
6b921be
Merge branch 'feat/enqueue-token-bridge-deployment' into feat/zod-schema
yahgwai Apr 22, 2026
abe0711
refactor(scripting): remove isTokenBridgeDeployed schema and tests
yahgwai Apr 22, 2026
d0e7964
fix(scripting): keep regex on hex/address schemas for coverage generator
yahgwai Apr 22, 2026
23b6b68
style: apply prettier formatting
yahgwai Apr 22, 2026
fc5a856
Merge remote-tracking branch 'origin/main' into feat/zod-schema
yahgwai Apr 22, 2026
5bdcff5
refactor(scripting): drop redundant regex on hex/address schemas
yahgwai Apr 22, 2026
4ffe0cd
refactor(scripting): validate privateKeySchema with isHex + size
yahgwai Apr 22, 2026
afea0e6
refactor(scripting): validate privateKeySchema with isHex + length check
yahgwai Apr 22, 2026
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
1 change: 0 additions & 1 deletion examples/create-token-bridge-custom-fee-token/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ async function main() {
rollupOwner: rollupOwner.address,
},
parentChainPublicClient,
orbitChainPublicClient,
account: rollupOwner.address,
});

Expand Down
2 changes: 0 additions & 2 deletions examples/create-token-bridge-eth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ async function main() {
rollupOwner: rollupOwner.address,
},
parentChainPublicClient,
orbitChainPublicClient,
account: rollupOwner.address,
retryableGasOverrides: {
maxSubmissionCostForFactory: { percentIncrease: 100n },
Expand Down Expand Up @@ -139,7 +138,6 @@ async function main() {
const setWethGatewayTxRequest = await createTokenBridgePrepareSetWethGatewayTransactionRequest({
rollup: process.env.ROLLUP_ADDRESS as `0x${string}`,
parentChainPublicClient,
orbitChainPublicClient,
account: rollupOwner.address,
retryableGasOverrides: {
gasLimit: {
Expand Down
8 changes: 7 additions & 1 deletion package.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we sure we need these?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, removed

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@
"pbkdf2": "3.1.3",
"sha.js": "2.4.12",
"cipher-base": "1.0.5",
"tmp": "0.2.5"
"tmp": "0.2.5",
"zod": "4.3.6",
"vite": "7.3.2",
"flatted": ">=3.4.2",
"picomatch": ">=2.3.2",
"brace-expansion": "5.0.5",
"yaml": ">=2.8.3"
}
}
}
Loading
Loading