Skip to content

Commit 7a87a87

Browse files
committed
Update nitro version to v3.5.1
1 parent 07adc34 commit 7a87a87

32 files changed

+223
-223
lines changed

arbitrum-docs/build-decentralized-apps/02-how-to-estimate-gas.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Multiplying the value obtained from `eth_estimateGas` by the child chain gas pri
2121

2222
Alternatively, to obtain the gas limit for your transaction, you can call `NodeInterface.gasEstimateComponents()` and then use the first result, which is `gasEstimate`. Next, to find the total cost, you need to multiply this amount by the child chain gas price, which is available in the third result, `baseFee`.
2323

24-
Note that when working with parent to child chain messages (also known as [retryable tickets](/how-arbitrum-works/10-l1-to-l2-messaging.mdx)), you can use the function [L1ToL2MessageGasEstimator.estimateAll()](https://github.com/OffchainLabs/arbitrum-sdk/blob/main/src/lib/message/L1ToL2MessageGasEstimator.ts#L215) of the Arbitrum SDK or [NodeInterface.estimateRetryableTicket()](https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/nodeInterface/NodeInterface.go#L120) to get all the gas information needed to send a successful transaction.
24+
Note that when working with parent to child chain messages (also known as [retryable tickets](/how-arbitrum-works/10-l1-to-l2-messaging.mdx)), you can use the function [L1ToL2MessageGasEstimator.estimateAll()](https://github.com/OffchainLabs/arbitrum-sdk/blob/main/src/lib/message/L1ToL2MessageGasEstimator.ts#L215) of the Arbitrum SDK or [NodeInterface.estimateRetryableTicket()](https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/nodeInterface/NodeInterface.go#L120) to get all the gas information needed to send a successful transaction.
2525

2626
## Breaking down the formula
2727

arbitrum-docs/build-decentralized-apps/nodeinterface/01-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ content_type: concept
77

88
<!-- todo: remove this doc, redirect to existing ref doc -->
99

10-
The Arbitrum Nitro software includes a special `NodeInterface` contract available at address `0xc8` that is only accessible via RPCs (it's not actually deployed on-chain, and thus can't be called by smart contracts). The way it works is that the node uses Geth's [`InterceptRPCMessage`](https://github.com/OffchainLabs/go-ethereum/blob/@@goEthereumCommit=779b669ac0d0020099a67a1c39fbaf66b901c1a5@@/internal/ethapi/api.go#L1034) hook to detect messages sent to the address `0xc8`, and swaps out the message it's handling before deriving a transaction from it.
10+
The Arbitrum Nitro software includes a special `NodeInterface` contract available at address `0xc8` that is only accessible via RPCs (it's not actually deployed on-chain, and thus can't be called by smart contracts). The way it works is that the node uses Geth's [`InterceptRPCMessage`](https://github.com/OffchainLabs/go-ethereum/blob/@@goEthereumCommit=b487f6fa366c99de26ea23ac24b59512a59b31ca@@/internal/ethapi/api.go#L1034) hook to detect messages sent to the address `0xc8`, and swaps out the message it's handling before deriving a transaction from it.
1111

1212
The [reference page](/build-decentralized-apps/nodeinterface/02-reference.mdx) contains information about all methods available in the NodeInterface.

arbitrum-docs/build-decentralized-apps/precompiles/02-reference.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,20 @@ This section is divided into two tables. We first list precompiles we expect use
5454
[arbsys_link_interface]: https://github.com/OffchainLabs/@@nitroContractsRepositorySlug=nitro-contracts@@/blob/@@nitroContractsCommit=763bd77906b7677da691eaa31c6e195d455197a4@@/@@nitroContractsPathToPrecompilesInterface=src/precompiles@@/ArbSys.sol
5555
[arbwasm_link_interface]: https://github.com/OffchainLabs/@@nitroContractsRepositorySlug=nitro-contracts@@/blob/@@nitroContractsCommit=763bd77906b7677da691eaa31c6e195d455197a4@@/@@nitroContractsPathToPrecompilesInterface=src/precompiles@@/ArbWasm.sol
5656
[arbwasmcache_link_interface]: https://github.com/OffchainLabs/@@nitroContractsRepositorySlug=nitro-contracts@@/blob/@@nitroContractsCommit=763bd77906b7677da691eaa31c6e195d455197a4@@/@@nitroContractsPathToPrecompilesInterface=src/precompiles@@/ArbWasmCache.sol
57-
[arbaddresstable_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbAddressTable.go
58-
[arbaggregator_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbAggregator.go
59-
[arbdebug_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbDebug.go
60-
[arbfunctiontable_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbFunctionTable.go
61-
[arbgasinfo_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbGasInfo.go
62-
[arbinfo_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbInfo.go
63-
[arbowner_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbOwner.go
64-
[arbownerpublic_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbOwnerPublic.go
65-
[arbostest_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbosTest.go
66-
[arbretryabletx_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbRetryableTx.go
67-
[arbstatistics_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbStatistics.go
68-
[arbsys_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbSys.go
69-
[arbwasm_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbWasm.go
70-
[arbwasmcache_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.4.0@@/@@nitroPathToPrecompiles=precompiles@@/ArbWasmCache.go
57+
[arbaddresstable_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbAddressTable.go
58+
[arbaggregator_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbAggregator.go
59+
[arbdebug_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbDebug.go
60+
[arbfunctiontable_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbFunctionTable.go
61+
[arbgasinfo_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbGasInfo.go
62+
[arbinfo_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbInfo.go
63+
[arbowner_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbOwner.go
64+
[arbownerpublic_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbOwnerPublic.go
65+
[arbostest_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbosTest.go
66+
[arbretryabletx_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbRetryableTx.go
67+
[arbstatistics_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbStatistics.go
68+
[arbsys_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbSys.go
69+
[arbwasm_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbWasm.go
70+
[arbwasmcache_link_implementation]: https://github.com/OffchainLabs/@@nitroRepositorySlug=nitro@@/blob/@@nitroVersionTag=v3.5.1@@/@@nitroPathToPrecompiles=precompiles@@/ArbWasmCache.go
7171

7272
## Precompiles reference
7373

arbitrum-docs/for-devs/dev-tools-and-resources/partials/precompile-tables/_ArbAddressTable.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</td>
2323
<td>
2424
<a
25-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAddressTable.go#L17"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAddressTable.go#L17"
2626
target="_blank"
2727
>
2828
Implementation
@@ -44,7 +44,7 @@
4444
</td>
4545
<td>
4646
<a
47-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAddressTable.go#L22"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAddressTable.go#L22"
4848
target="_blank"
4949
>
5050
Implementation
@@ -66,7 +66,7 @@
6666
</td>
6767
<td>
6868
<a
69-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAddressTable.go#L27"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAddressTable.go#L27"
7070
target="_blank"
7171
>
7272
Implementation
@@ -90,7 +90,7 @@
9090
</td>
9191
<td>
9292
<a
93-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAddressTable.go#L40"
93+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAddressTable.go#L40"
9494
target="_blank"
9595
>
9696
Implementation
@@ -112,7 +112,7 @@
112112
</td>
113113
<td>
114114
<a
115-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAddressTable.go#L52"
115+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAddressTable.go#L52"
116116
target="_blank"
117117
>
118118
Implementation
@@ -134,7 +134,7 @@
134134
</td>
135135
<td>
136136
<a
137-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAddressTable.go#L67"
137+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAddressTable.go#L67"
138138
target="_blank"
139139
>
140140
Implementation
@@ -156,7 +156,7 @@
156156
</td>
157157
<td>
158158
<a
159-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAddressTable.go#L73"
159+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAddressTable.go#L73"
160160
target="_blank"
161161
>
162162
Implementation

arbitrum-docs/for-devs/dev-tools-and-resources/partials/precompile-tables/_ArbAggregator.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</td>
2323
<td>
2424
<a
25-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L24"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L24"
2626
target="_blank"
2727
>
2828
Implementation
@@ -44,7 +44,7 @@
4444
</td>
4545
<td>
4646
<a
47-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L30"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L30"
4848
target="_blank"
4949
>
5050
Implementation
@@ -66,7 +66,7 @@
6666
</td>
6767
<td>
6868
<a
69-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L35"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L35"
7070
target="_blank"
7171
>
7272
Implementation
@@ -88,7 +88,7 @@
8888
</td>
8989
<td>
9090
<a
91-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L40"
91+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L40"
9292
target="_blank"
9393
>
9494
Implementation
@@ -110,7 +110,7 @@
110110
</td>
111111
<td>
112112
<a
113-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L63"
113+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L63"
114114
target="_blank"
115115
>
116116
Implementation
@@ -132,7 +132,7 @@
132132
</td>
133133
<td>
134134
<a
135-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L72"
135+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L72"
136136
target="_blank"
137137
>
138138
Implementation
@@ -157,7 +157,7 @@
157157
</td>
158158
<td>
159159
<a
160-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L95"
160+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L95"
161161
target="_blank"
162162
>
163163
Implementation
@@ -179,7 +179,7 @@
179179
</td>
180180
<td>
181181
<a
182-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbAggregator.go#L102"
182+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbAggregator.go#L102"
183183
target="_blank"
184184
>
185185
Implementation

arbitrum-docs/for-devs/dev-tools-and-resources/partials/precompile-tables/_ArbDebug.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</td>
2323
<td>
2424
<a
25-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L58"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L58"
2626
target="_blank"
2727
>
2828
Implementation
@@ -44,7 +44,7 @@
4444
</td>
4545
<td>
4646
<a
47-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L28"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L28"
4848
target="_blank"
4949
>
5050
Implementation
@@ -66,7 +66,7 @@
6666
</td>
6767
<td>
6868
<a
69-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L47"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L47"
7070
target="_blank"
7171
>
7272
Implementation
@@ -88,7 +88,7 @@
8888
</td>
8989
<td>
9090
<a
91-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L53"
91+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L53"
9292
target="_blank"
9393
>
9494
Implementation
@@ -110,7 +110,7 @@
110110
</td>
111111
<td>
112112
<a
113-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L63"
113+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L63"
114114
target="_blank"
115115
>
116116
Implementation
@@ -132,7 +132,7 @@
132132
</td>
133133
<td>
134134
<a
135-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L68"
135+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L68"
136136
target="_blank"
137137
>
138138
Implementation
@@ -166,7 +166,7 @@
166166
</td>
167167
<td>
168168
<a
169-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L33"
169+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L33"
170170
target="_blank"
171171
>
172172
Implementation
@@ -190,7 +190,7 @@
190190
</td>
191191
<td>
192192
<a
193-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L38"
193+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L38"
194194
target="_blank"
195195
>
196196
Implementation
@@ -214,7 +214,7 @@
214214
</td>
215215
<td>
216216
<a
217-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbDebug.go#L0"
217+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbDebug.go#L0"
218218
target="_blank"
219219
>
220220
Implementation

arbitrum-docs/for-devs/dev-tools-and-resources/partials/precompile-tables/_ArbFunctionTable.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</td>
2323
<td>
2424
<a
25-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbFunctionTable.go#L19"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbFunctionTable.go#L19"
2626
target="_blank"
2727
>
2828
Implementation
@@ -44,7 +44,7 @@
4444
</td>
4545
<td>
4646
<a
47-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbFunctionTable.go#L24"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbFunctionTable.go#L24"
4848
target="_blank"
4949
>
5050
Implementation
@@ -66,7 +66,7 @@
6666
</td>
6767
<td>
6868
<a
69-
href="https://github.com/OffchainLabs/nitro/blob/v3.4.0/precompiles/ArbFunctionTable.go#L29"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.5.1/precompiles/ArbFunctionTable.go#L29"
7070
target="_blank"
7171
>
7272
Implementation

0 commit comments

Comments
 (0)