From 133cb34e33b22e06cae331465cbdb43f7119d2a0 Mon Sep 17 00:00:00 2001 From: zlyusia <162429222+zlyusia@users.noreply.github.com> Date: Wed, 27 Nov 2024 01:01:24 +0300 Subject: [PATCH 1/4] typos Update CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3529b90..2a5142b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,7 @@ - fa49872: Update minGasLimit to be type number for consistency with ABI - 745a65a: Fix getTransactionHash to use un-decorated function for better tree shaking - 7a21a29: readFinalizedWithdrawals, txReceipt to getDeposits and getWithdrawals -- 7d16f9b: Actions now receive contract addresses instead of L2 config objects for simplicty and Viem upstream compatibility. op-viem/chains now eexports addresses objects that be spread into actions to pass the required address. +- 7d16f9b: Actions now receive contract addresses instead of L2 config objects for simplicty and Viem upstream compatibility. op-viem/chains now exports addresses objects that be spread into actions to pass the required address. Previously @@ -89,7 +89,7 @@ ### Patch Changes -- 7d16f9b: Actions now receive contract addresses instead of L2 config objects for simplicty and Viem upstream compatibility. op-viem/chains now eexports addresses objects that be spread into actions to pass the required address. +- 7d16f9b: Actions now receive contract addresses instead of L2 config objects for simplicity and Viem upstream compatibility. op-viem/chains now eexports addresses objects that be spread into actions to pass the required address. Previously From aa544682f3dd633ffbd926ef6181e1010992c587 Mon Sep 17 00:00:00 2001 From: zlyusia <162429222+zlyusia@users.noreply.github.com> Date: Wed, 27 Nov 2024 01:13:11 +0300 Subject: [PATCH 2/4] typo Update getDepositTransaction.md --- site/docs/utilities/deposits/getDepositTransaction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/utilities/deposits/getDepositTransaction.md b/site/docs/utilities/deposits/getDepositTransaction.md index 9154a93..bae3f53 100644 --- a/site/docs/utilities/deposits/getDepositTransaction.md +++ b/site/docs/utilities/deposits/getDepositTransaction.md @@ -10,7 +10,7 @@ head: # getDepositTransaction -Returns a [DepositTransaction](/docs/glossary/types#deposittransaction) from a [TransactionDepositedEvent](/docs/glossary/types#transasctiondepositedevent) and [sourceHash](/docs/glossary/types#sourcehash) or logIndex, L1 block hash and [SourceHashDomain](/docs/glossary/types#sourcehashdomain). +Returns a [DepositTransaction](/docs/glossary/types#deposittransaction) from a [TransactionDepositedEvent](/docs/glossary/types#transactiondepositedevent) and [sourceHash](/docs/glossary/types#sourcehash) or logIndex, L1 block hash and [SourceHashDomain](/docs/glossary/types#sourcehashdomain). Internally, if [`sourceHash`](#sourcehash-optional) not provided, will call [`getSourceHash({ domain, logIndex, l1BlockHash })`](docs/utilities/deposits/getSourceHash). From d587cc56798730b50b30b1e3ba0b3f8a9c9f42a6 Mon Sep 17 00:00:00 2001 From: zlyusia <162429222+zlyusia@users.noreply.github.com> Date: Wed, 27 Nov 2024 01:18:17 +0300 Subject: [PATCH 3/4] fix code Update index.md --- site/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/index.md b/site/index.md index b742c73..94dc970 100644 --- a/site/index.md +++ b/site/index.md @@ -56,5 +56,5 @@ export const opStackL2PublicClient = createPublicClient({ }).extend(publicL2OpStackActions) // perform an action -opStackL1PublicClient.getOutputForL2Block(blockNumber: 2725977n, ...baseAddresses) +await opStackL1PublicClient.getOutputForL2Block(blockNumber: 2725977n, ...baseAddresses) ``` From 5f7db81a9879cce0518f45315749e9cd089edd6d Mon Sep 17 00:00:00 2001 From: zlyusia <162429222+zlyusia@users.noreply.github.com> Date: Wed, 27 Nov 2024 01:18:49 +0300 Subject: [PATCH 4/4] typo Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a5142b..f39a6df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -89,7 +89,7 @@ ### Patch Changes -- 7d16f9b: Actions now receive contract addresses instead of L2 config objects for simplicity and Viem upstream compatibility. op-viem/chains now eexports addresses objects that be spread into actions to pass the required address. +- 7d16f9b: Actions now receive contract addresses instead of L2 config objects for simplicity and Viem upstream compatibility. op-viem/chains now exports addresses objects that be spread into actions to pass the required address. Previously