diff --git a/CHANGELOG.md b/CHANGELOG.md index 3529b90..f39a6df 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 exports addresses objects that be spread into actions to pass the required address. Previously 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). 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) ```