Skip to content

Commit 344e8a1

Browse files
committed
feat: update bindings
1 parent fad8b73 commit 344e8a1

File tree

3 files changed

+12
-52
lines changed

3 files changed

+12
-52
lines changed

packages/taiko-client-rs/crates/bindings/src/inbox.rs

Lines changed: 7 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ See the [wrapper's documentation](`IForcedInclusionStoreInstance`) for more deta
747747
```solidity
748748
library IInbox {
749749
struct Commitment { uint48 firstProposalId; bytes32 firstProposalParentBlockHash; bytes32 lastProposalHash; address actualProver; uint48 endBlockNumber; bytes32 endStateRoot; Transition[] transitions; }
750-
struct Config { address proofVerifier; address proposerChecker; address proverWhitelist; address signalService; address bondToken; uint64 minBond; uint64 livenessBond; uint48 withdrawalDelay; uint48 provingWindow; uint48 permissionlessProvingDelay; uint48 maxProofSubmissionDelay; uint48 ringBufferSize; uint8 basefeeSharingPctg; uint256 minForcedInclusionCount; uint16 forcedInclusionDelay; uint64 forcedInclusionFeeInGwei; uint64 forcedInclusionFeeDoubleThreshold; uint8 permissionlessInclusionMultiplier; }
750+
struct Config { address proofVerifier; address proposerChecker; address proverWhitelist; address signalService; address bondToken; uint64 minBond; uint64 livenessBond; uint48 withdrawalDelay; uint48 provingWindow; uint48 permissionlessProvingDelay; uint48 maxProofSubmissionDelay; uint48 ringBufferSize; uint8 basefeeSharingPctg; uint16 forcedInclusionDelay; uint64 forcedInclusionFeeInGwei; uint64 forcedInclusionFeeDoubleThreshold; uint8 permissionlessInclusionMultiplier; }
751751
struct CoreState { uint48 nextProposalId; uint48 lastProposalBlockId; uint48 lastFinalizedProposalId; uint48 lastFinalizedTimestamp; uint48 lastCheckpointTimestamp; bytes32 lastFinalizedBlockHash; }
752752
struct DerivationSource { bool isForcedInclusion; LibBlobs.BlobSlice blobSlice; }
753753
struct Proposal { uint48 id; uint48 timestamp; uint48 endOfSubmissionWindowTimestamp; address proposer; bytes32 parentProposalHash; uint48 originBlockNumber; bytes32 originBlockHash; uint8 basefeeSharingPctg; DerivationSource[] sources; }
@@ -1135,7 +1135,7 @@ struct Commitment { uint48 firstProposalId; bytes32 firstProposalParentBlockHash
11351135
#[derive(serde::Serialize, serde::Deserialize)]
11361136
#[derive(Default, Debug, PartialEq, Eq, Hash)]
11371137
/**```solidity
1138-
struct Config { address proofVerifier; address proposerChecker; address proverWhitelist; address signalService; address bondToken; uint64 minBond; uint64 livenessBond; uint48 withdrawalDelay; uint48 provingWindow; uint48 permissionlessProvingDelay; uint48 maxProofSubmissionDelay; uint48 ringBufferSize; uint8 basefeeSharingPctg; uint256 minForcedInclusionCount; uint16 forcedInclusionDelay; uint64 forcedInclusionFeeInGwei; uint64 forcedInclusionFeeDoubleThreshold; uint8 permissionlessInclusionMultiplier; }
1138+
struct Config { address proofVerifier; address proposerChecker; address proverWhitelist; address signalService; address bondToken; uint64 minBond; uint64 livenessBond; uint48 withdrawalDelay; uint48 provingWindow; uint48 permissionlessProvingDelay; uint48 maxProofSubmissionDelay; uint48 ringBufferSize; uint8 basefeeSharingPctg; uint16 forcedInclusionDelay; uint64 forcedInclusionFeeInGwei; uint64 forcedInclusionFeeDoubleThreshold; uint8 permissionlessInclusionMultiplier; }
11391139
```*/
11401140
#[allow(non_camel_case_types, non_snake_case, clippy::pub_underscore_fields)]
11411141
#[derive(Clone)]
@@ -1167,8 +1167,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
11671167
#[allow(missing_docs)]
11681168
pub basefeeSharingPctg: u8,
11691169
#[allow(missing_docs)]
1170-
pub minForcedInclusionCount: alloy::sol_types::private::primitives::aliases::U256,
1171-
#[allow(missing_docs)]
11721170
pub forcedInclusionDelay: u16,
11731171
#[allow(missing_docs)]
11741172
pub forcedInclusionFeeInGwei: u64,
@@ -1200,7 +1198,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
12001198
alloy::sol_types::sol_data::Uint<48>,
12011199
alloy::sol_types::sol_data::Uint<48>,
12021200
alloy::sol_types::sol_data::Uint<8>,
1203-
alloy::sol_types::sol_data::Uint<256>,
12041201
alloy::sol_types::sol_data::Uint<16>,
12051202
alloy::sol_types::sol_data::Uint<64>,
12061203
alloy::sol_types::sol_data::Uint<64>,
@@ -1221,7 +1218,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
12211218
alloy::sol_types::private::primitives::aliases::U48,
12221219
alloy::sol_types::private::primitives::aliases::U48,
12231220
u8,
1224-
alloy::sol_types::private::primitives::aliases::U256,
12251221
u16,
12261222
u64,
12271223
u64,
@@ -1256,7 +1252,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
12561252
value.maxProofSubmissionDelay,
12571253
value.ringBufferSize,
12581254
value.basefeeSharingPctg,
1259-
value.minForcedInclusionCount,
12601255
value.forcedInclusionDelay,
12611256
value.forcedInclusionFeeInGwei,
12621257
value.forcedInclusionFeeDoubleThreshold,
@@ -1282,11 +1277,10 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
12821277
maxProofSubmissionDelay: tuple.10,
12831278
ringBufferSize: tuple.11,
12841279
basefeeSharingPctg: tuple.12,
1285-
minForcedInclusionCount: tuple.13,
1286-
forcedInclusionDelay: tuple.14,
1287-
forcedInclusionFeeInGwei: tuple.15,
1288-
forcedInclusionFeeDoubleThreshold: tuple.16,
1289-
permissionlessInclusionMultiplier: tuple.17,
1280+
forcedInclusionDelay: tuple.13,
1281+
forcedInclusionFeeInGwei: tuple.14,
1282+
forcedInclusionFeeDoubleThreshold: tuple.15,
1283+
permissionlessInclusionMultiplier: tuple.16,
12901284
}
12911285
}
12921286
}
@@ -1342,11 +1336,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
13421336
<alloy::sol_types::sol_data::Uint<
13431337
8,
13441338
> as alloy_sol_types::SolType>::tokenize(&self.basefeeSharingPctg),
1345-
<alloy::sol_types::sol_data::Uint<
1346-
256,
1347-
> as alloy_sol_types::SolType>::tokenize(
1348-
&self.minForcedInclusionCount,
1349-
),
13501339
<alloy::sol_types::sol_data::Uint<
13511340
16,
13521341
> as alloy_sol_types::SolType>::tokenize(&self.forcedInclusionDelay),
@@ -1439,7 +1428,7 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
14391428
#[inline]
14401429
fn eip712_root_type() -> alloy_sol_types::private::Cow<'static, str> {
14411430
alloy_sol_types::private::Cow::Borrowed(
1442-
"Config(address proofVerifier,address proposerChecker,address proverWhitelist,address signalService,address bondToken,uint64 minBond,uint64 livenessBond,uint48 withdrawalDelay,uint48 provingWindow,uint48 permissionlessProvingDelay,uint48 maxProofSubmissionDelay,uint48 ringBufferSize,uint8 basefeeSharingPctg,uint256 minForcedInclusionCount,uint16 forcedInclusionDelay,uint64 forcedInclusionFeeInGwei,uint64 forcedInclusionFeeDoubleThreshold,uint8 permissionlessInclusionMultiplier)",
1431+
"Config(address proofVerifier,address proposerChecker,address proverWhitelist,address signalService,address bondToken,uint64 minBond,uint64 livenessBond,uint48 withdrawalDelay,uint48 provingWindow,uint48 permissionlessProvingDelay,uint48 maxProofSubmissionDelay,uint48 ringBufferSize,uint8 basefeeSharingPctg,uint16 forcedInclusionDelay,uint64 forcedInclusionFeeInGwei,uint64 forcedInclusionFeeDoubleThreshold,uint8 permissionlessInclusionMultiplier)",
14431432
)
14441433
}
14451434
#[inline]
@@ -1517,12 +1506,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
15171506
&self.basefeeSharingPctg,
15181507
)
15191508
.0,
1520-
<alloy::sol_types::sol_data::Uint<
1521-
256,
1522-
> as alloy_sol_types::SolType>::eip712_data_word(
1523-
&self.minForcedInclusionCount,
1524-
)
1525-
.0,
15261509
<alloy::sol_types::sol_data::Uint<
15271510
16,
15281511
> as alloy_sol_types::SolType>::eip712_data_word(
@@ -1611,11 +1594,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
16111594
> as alloy_sol_types::EventTopic>::topic_preimage_length(
16121595
&rust.basefeeSharingPctg,
16131596
)
1614-
+ <alloy::sol_types::sol_data::Uint<
1615-
256,
1616-
> as alloy_sol_types::EventTopic>::topic_preimage_length(
1617-
&rust.minForcedInclusionCount,
1618-
)
16191597
+ <alloy::sol_types::sol_data::Uint<
16201598
16,
16211599
> as alloy_sol_types::EventTopic>::topic_preimage_length(
@@ -1713,12 +1691,6 @@ struct Config { address proofVerifier; address proposerChecker; address proverWh
17131691
&rust.basefeeSharingPctg,
17141692
out,
17151693
);
1716-
<alloy::sol_types::sol_data::Uint<
1717-
256,
1718-
> as alloy_sol_types::EventTopic>::encode_topic_preimage(
1719-
&rust.minForcedInclusionCount,
1720-
out,
1721-
);
17221694
<alloy::sol_types::sol_data::Uint<
17231695
16,
17241696
> as alloy_sol_types::EventTopic>::encode_topic_preimage(
@@ -4253,7 +4225,6 @@ library IInbox {
42534225
uint48 maxProofSubmissionDelay;
42544226
uint48 ringBufferSize;
42554227
uint8 basefeeSharingPctg;
4256-
uint256 minForcedInclusionCount;
42574228
uint16 forcedInclusionDelay;
42584229
uint64 forcedInclusionFeeInGwei;
42594230
uint64 forcedInclusionFeeDoubleThreshold;
@@ -4478,11 +4449,6 @@ interface Inbox {
44784449
"type": "uint8",
44794450
"internalType": "uint8"
44804451
},
4481-
{
4482-
"name": "minForcedInclusionCount",
4483-
"type": "uint256",
4484-
"internalType": "uint256"
4485-
},
44864452
{
44874453
"name": "forcedInclusionDelay",
44884454
"type": "uint16",
@@ -4951,11 +4917,6 @@ interface Inbox {
49514917
"type": "uint8",
49524918
"internalType": "uint8"
49534919
},
4954-
{
4955-
"name": "minForcedInclusionCount",
4956-
"type": "uint256",
4957-
"internalType": "uint256"
4958-
},
49594920
{
49604921
"name": "forcedInclusionDelay",
49614922
"type": "uint16",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6a1a32ffd9e166317ebd3d6e64d5fa09b6d1b3ae
1+
fad8b7375ffabee9d78c58fab41845ba359c74c6

0 commit comments

Comments
 (0)