Skip to content

Commit 90c17f6

Browse files
authored
Merge pull request #2946 from OffchainLabs/update-nitro-3-9-4
Update nitro 3 9 4
2 parents 210c4ab + a26eedc commit 90c17f6

35 files changed

+279
-279
lines changed

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

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

2323
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`.
2424

25-
Note that when working with parent to child chain messages (also known as [retryable tickets](/how-arbitrum-works/deep-dives/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.9.3@@/nodeInterface/NodeInterface.go#L120) to get all the gas information needed to send a successful transaction.
25+
Note that when working with parent to child chain messages (also known as [retryable tickets](/how-arbitrum-works/deep-dives/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.9.4@@/nodeInterface/NodeInterface.go#L120) to get all the gas information needed to send a successful transaction.
2626

2727
## Breaking down the formula
2828

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ displayed_sidebar: buildAppsSidebar
88

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

11-
The Arbitrum Nitro software includes a special `NodeInterface` contract available at address `0xc8` that is only accessible via RPCs (it's not actually deployed onchain 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=ae34a6a9ef5af5079c8eef6571895d703023efef@@/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.
11+
The Arbitrum Nitro software includes a special `NodeInterface` contract available at address `0xc8` that is only accessible via RPCs (it's not actually deployed onchain 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=6b19938827e8d7684caf6a883765d51ee967f250@@/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.
1212

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

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

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

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.9.3/precompiles/ArbAddressTable.go#L17"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbAddressTable.go#L22"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbAddressTable.go#L27"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbAddressTable.go#L40"
93+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbAddressTable.go#L52"
115+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbAddressTable.go#L67"
137+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbAddressTable.go#L73"
159+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAddressTable.go#L73"
160160
target="_blank"
161161
>
162162
Implementation

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.9.3/precompiles/ArbAggregator.go#L25"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L25"
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.9.3/precompiles/ArbAggregator.go#L32"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L32"
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.9.3/precompiles/ArbAggregator.go#L37"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L37"
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.9.3/precompiles/ArbAggregator.go#L42"
91+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L42"
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.9.3/precompiles/ArbAggregator.go#L65"
113+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L65"
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.9.3/precompiles/ArbAggregator.go#L74"
135+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L74"
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.9.3/precompiles/ArbAggregator.go#L98"
160+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L98"
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.9.3/precompiles/ArbAggregator.go#L106"
182+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbAggregator.go#L106"
183183
target="_blank"
184184
>
185185
Implementation

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

Lines changed: 10 additions & 10 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.9.3/precompiles/ArbDebug.go#L59"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L59"
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.9.3/precompiles/ArbDebug.go#L64"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L64"
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.9.3/precompiles/ArbDebug.go#L29"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L29"
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.9.3/precompiles/ArbDebug.go#L48"
91+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L48"
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.9.3/precompiles/ArbDebug.go#L54"
113+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L54"
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.9.3/precompiles/ArbDebug.go#L69"
135+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L69"
136136
target="_blank"
137137
>
138138
Implementation
@@ -154,7 +154,7 @@
154154
</td>
155155
<td>
156156
<a
157-
href="https://github.com/OffchainLabs/nitro/blob/v3.9.3/precompiles/ArbDebug.go#L74"
157+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L74"
158158
target="_blank"
159159
>
160160
Implementation
@@ -189,7 +189,7 @@
189189
</td>
190190
<td>
191191
<a
192-
href="https://github.com/OffchainLabs/nitro/blob/v3.9.3/precompiles/ArbDebug.go#L34"
192+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L34"
193193
target="_blank"
194194
>
195195
Implementation
@@ -213,7 +213,7 @@
213213
</td>
214214
<td>
215215
<a
216-
href="https://github.com/OffchainLabs/nitro/blob/v3.9.3/precompiles/ArbDebug.go#L39"
216+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L39"
217217
target="_blank"
218218
>
219219
Implementation
@@ -237,7 +237,7 @@
237237
</td>
238238
<td>
239239
<a
240-
href="https://github.com/OffchainLabs/nitro/blob/v3.9.3/precompiles/ArbDebug.go#L19"
240+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbDebug.go#L0"
241241
target="_blank"
242242
>
243243
Implementation

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.9.3/precompiles/ArbFunctionTable.go#L19"
25+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbFunctionTable.go#L24"
47+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/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.9.3/precompiles/ArbFunctionTable.go#L29"
69+
href="https://github.com/OffchainLabs/nitro/blob/v3.9.4/precompiles/ArbFunctionTable.go#L29"
7070
target="_blank"
7171
>
7272
Implementation

0 commit comments

Comments
 (0)