We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736ffe5 commit e4a8619Copy full SHA for e4a8619
crates/json-oracle-encoder/src/lib.rs
@@ -82,11 +82,13 @@ fn messages_to_encoded_message_blocks(
82
}
83
Message::ChangePermissions {
84
address,
85
+ valid_through,
86
permissions,
87
} => ee::CompressedMessage::ChangePermissions {
88
address: address
89
.try_into()
90
.map_err(|_| anyhow!("Bad address length; must be 20 bytes"))?,
91
92
93
},
94
Message::SetBlockNumbersForNextEpoch(SetBlockNumbersForNextEpoch::Empty {
@@ -157,6 +159,7 @@ pub enum Message {
157
159
ChangePermissions {
158
160
#[serde(deserialize_with = "deserialize_hex")]
161
address: Vec<u8>,
162
+ valid_through: u64,
163
permissions: Vec<String>,
164
165
0 commit comments