From e34232cf6d9986df6153a65d3c0f65dd62008365 Mon Sep 17 00:00:00 2001 From: jxom Date: Thu, 11 Jan 2024 09:01:01 +1100 Subject: [PATCH] feat: vocs (#1675) * chore: canary * chore: export types * chore: remove unecessary type export * chore: export version * refactor: contract types * chore: export * refactor: generics * refactor: contract types * refactor: multicall types * test: multicall types * refactor: multicall response * test: multicall types * refactor: multicall results * chore: export type * chore: prettify type * refactor: contract types * refactor: contract function generics * refactor: contract function args generic tweaks * chore: prettify chain * chore: update changeset * chore: remove version export * chore: restore version * fix: type error * refactor: abi types * wip: types * wip: types * chore: fix type test * chore: checkpoint * fix: explicit undefined * chore: ignore changes * chore: export types * refactor: simulate contract return type * fix: transport generic * refactor: eventName generics * refactor: simplify poll options * refactor: consolidate poll options * fix: test * chore: update snapshots * ci: update version in snapshot * ci: tweak * chore: export abis * chore: update snapshot * chore: update snap * chore: fix imports * chore: enter alpha * chore: update * chore: add timeout * chore: types * chore: bump version * chore: export types * fix: type exports * chore: bump version * chore: clean up write contract types * chore: bump version * chore: update multicall type * chore: bump version * chore: version * chore: export type * chore: version * chore: version * ci: bump release timeout * chore: version * feat: refactor getContract * docs: getContract * chore: remove entrypoints * chore: remove note * fix * fix: simulateContract account type * fix * chore: version * refactor: chain * chore: bump abitype * chore: bump version * chore: snaps * docs: chains * chore: snaps * chore: snaps * chore: bump version * chore: add missing type * chore: bump version * test: update snaps * chore: prettify chain * refactor: defineChain * refactor: defineChain type * chore: remove * docs: defineChain * fix: downstream type error * chore: beta * chore: remove deprecated things * docs: chains * chore: update snaps * refactor: contract function types * chore: bump version * feat: opstack (fees/gas actions) (#1469) * wip: opstack init * feat: total gas * feat: total gas * feat: imports * docs: migration guide * feat: exports * docs: celo * docs * feat: fees * feat: contract fee/gas estimation * feat: exports * feat: exports * chore: docspath * chore: update snaps * docs: address * docs: sidebar * tests: fix * fix: exports * docs: fix links * docs: typos * Update site/docs/op-stack/client.md Co-authored-by: Will Cory * Update site/docs/op-stack/estimateContractL1Fee.md Co-authored-by: Will Cory * Update site/docs/op-stack/estimateContractL1Gas.md Co-authored-by: Will Cory * Update site/docs/op-stack/estimateContractTotalFee.md Co-authored-by: Will Cory * Update site/docs/op-stack/estimateContractL1Gas.md Co-authored-by: Will Cory * Update site/docs/op-stack/estimateContractL1Fee.md Co-authored-by: Will Cory * chore: export * chore: pr review * docs: updatE --------- Co-authored-by: Will Cory * chore: bump version * docs: op stack * docs: dead links * refactor: rename * chore: version * fix: typo * chore: merge * refactor: opstack * fix: types * fix: type * fix: downstream types * chore: snaps * chore: var fallback * chore: bump version * feat: loosen account requirement on estimateGas; tighten prepareTransactionResult type * docs: update custom client example (#1492) * refactor: retry & fallback errors * refactor: wallet client retries * fix: client extensions w/ chain formatters * tests: update * chore: upgrade ts * chore: lockfile * chore: merge conflicts * feat: deposit transaction (op stack) (#1479) * chore: var fallback * feat: deposit transaction * docs * refactor: api, docs, etc * refactor: anvil * refactor: dump op addresses * tweaks * feat: prepareDepositTransaction * feat: mint * docs: prepare * refactor: prepare -> build * feat: extractEventLogs * docs: remove * docs: parseEventLogs * feat: serializer * refactor * feat: parsers * feat: source hash computation * feat: fromOpaqueData * feat: compute l2 hashes * docs: deposit guide * fix: waitForTxnReceipt * docs: deposit guide * chore: example * chore: update examples * chore: update snaps * chore: lint * update * update * chore: update snaps --------- Co-authored-by: Tom Meagher * feat: spread fallback opts * chore: publish package * fix: default types * chore: version package * chore: export type * chore: version package * chore: export types * chore: publish package * chore: upgrade playwright * feat: export promise utils * chore: publish package * chore: publish package * chore: version package * docs: Add missing params for verifyMessage and verifyTypedData (#1574) * feat: export getProof from root and from actions (#1571) * feat: export getProof from root and from actions * Create dry-bananas-smile.md --------- Co-authored-by: jxom * chore: update snapshots * chore: update * fix: txn receipt * docs: update migration guide * docs: ethers migration * feat: add missing exports (#1583) * fix: add missing exports * chore: add changeset * chore: rename fromOpaqueData * chore: version package * feat: opstack withdrawal (#1565) * feat: initiateWithdrawal * docs * feat: buildInitiateWithdrawal * feat: getSecondsToNextL2Output * feat: utils * docs: sidebar * feat: getWithdrawalHashStorageSlot * feat: getL2Output * docs: update withdrawal * chore: sepolia * feat: buildProveWithdrawal * feat: waitForL2Output * feat: proveWithdrawal * feat: readyToProve * docs: dead links * docs: sidebar * feat: getTimeToFinalize * refactor: getWithdrawals * docs: fix * docs: update * feat: waitToFinalize * feat: finalizeWithdrawal * feat: getTimeToProve * chore: period * refactor * refactor * feat: getWithdrawalStatus + rest * chore: remove example * chore: clean * chore: lockfile * refactor: error type * feat: estimate actions * test: remove only * docs: remove deadlink * fix: ts 5.0.4 errors * chore: version * ci: trigger * chore: remove changesets from prerelease * fix: log formatting * chore: version * WIP * chore: add missing type export * docs: update OP Stack docs in RC CHA-69 (#1612) * feat: Add more docs to op * Update site/op-stack/client.md * Update site/op-stack/client.md * Apply suggestions from code review Co-authored-by: jxom --------- Co-authored-by: Will Cory Co-authored-by: jxom * chore: format * fix: simulate types * fix: test * chore: version * chore: tweak * wip * chore: version * wip * wip * wip * wip * wip * update * wip * wip * chore: delete vitepress * chore: update * update docs * delete changeset * rewrite --------- Co-authored-by: Tom Meagher Co-authored-by: Will Cory Co-authored-by: Omar Co-authored-by: Vitor Marthendal Nunes Co-authored-by: Will Cory Co-authored-by: jxom --- src/chains/zksync/decorators/eip712.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chains/zksync/decorators/eip712.test.ts b/src/chains/zksync/decorators/eip712.test.ts index ccf2cc4cd3..38b6af07dc 100644 --- a/src/chains/zksync/decorators/eip712.test.ts +++ b/src/chains/zksync/decorators/eip712.test.ts @@ -2,12 +2,12 @@ import { describe, expect, test } from 'vitest' import { greeterContract } from '~test/src/abis.js' import { accounts } from '~test/src/constants.js' +import { publicClient } from '~test/src/utils.js' import { zkSyncClient } from '~test/src/zksync.js' import { privateKeyToAccount } from '../../../accounts/privateKeyToAccount.js' import { simulateContract } from '../../../actions/index.js' import type { EIP1193RequestFn } from '../../../types/eip1193.js' import { eip712Actions } from './eip712.js' -import { publicClient } from '~test/src/utils.js' const zkSyncClient_ = zkSyncClient.extend(eip712Actions)