Skip to content

Commit aee1dd3

Browse files
committed
update abi_decode function signatures
1 parent c888852 commit aee1dd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tasks/submit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl SimErrorResp {
123123

124124
/// Attempts to decode the error payload as an [`IncorrectHostBlock`].
125125
pub fn as_incorrect_host_block(&self) -> Option<IncorrectHostBlock> {
126-
self.as_revert_data().and_then(|data| IncorrectHostBlock::abi_decode(&data, true).ok())
126+
self.as_revert_data().and_then(|data| IncorrectHostBlock::abi_decode(&data).ok())
127127
}
128128

129129
/// True if the error is a [`Zenith::BadSignature`].
@@ -135,7 +135,7 @@ impl SimErrorResp {
135135

136136
/// Attempts to decode the error payload as a [`Zenith::BadSignature`].
137137
pub fn as_bad_signature(&self) -> Option<Zenith::BadSignature> {
138-
self.as_revert_data().and_then(|data| Zenith::BadSignature::abi_decode(&data, true).ok())
138+
self.as_revert_data().and_then(|data| Zenith::BadSignature::abi_decode(&data).ok())
139139
}
140140

141141
/// True if the error is a [`Zenith::OneRollupBlockPerHostBlock`].
@@ -149,7 +149,7 @@ impl SimErrorResp {
149149
/// [`Zenith::OneRollupBlockPerHostBlock`].
150150
pub fn as_one_rollup_block_per_host_block(&self) -> Option<Zenith::OneRollupBlockPerHostBlock> {
151151
self.as_revert_data()
152-
.and_then(|data| Zenith::OneRollupBlockPerHostBlock::abi_decode(&data, true).ok())
152+
.and_then(|data| Zenith::OneRollupBlockPerHostBlock::abi_decode(&data).ok())
153153
}
154154

155155
/// True if the error is an unknown revert.

0 commit comments

Comments
 (0)