Skip to content

Commit

Permalink
fix error test
Browse files Browse the repository at this point in the history
Signed-off-by: Naohiro Yoshida <[email protected]>
  • Loading branch information
Naohiro Yoshida committed Jul 25, 2024
1 parent 104e135 commit 92c8cda
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
23 changes: 12 additions & 11 deletions light-client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ mod test {

use crate::fixture::{localnet, Network};
use crate::header::Header;
use crate::message::ClientMessage;
use crate::misbehaviour::Misbehaviour;
use crate::misc::{new_height, Address, ChainId, Hash};
use alloc::boxed::Box;
Expand Down Expand Up @@ -845,25 +846,25 @@ mod test {
#[rstest]
#[case::localnet(localnet())]
fn test_error_update_state_non_neighboring_epoch(#[case] hp: Box<dyn Network>) {
let input = hp.error_update_client_non_neighboring_epoch_input();
let header = input.0;
let trusted_height = input.1;
let input = Any::try_from(hp.error_update_client_non_neighboring_epoch_input()).unwrap();
let header = Header::try_from(input.clone()).unwrap();
let trusted_height = header.trusted_height();

let client = ParliaLightClient::default();
let client_id = ClientId::new(&client.client_type(), 1).unwrap();
let mut mock_consensus_state = BTreeMap::new();
mock_consensus_state.insert(Height::new(0, trusted_height), ConsensusState::default());
mock_consensus_state.insert(trusted_height, ConsensusState::default());
let ctx = MockClientReader {
client_state: Some(ClientState::default()),
consensus_state: mock_consensus_state,
};
let err = client
.update_client(&ctx, client_id, header.try_into().unwrap())
.unwrap_err();
assert!(
format!("{:?}", err).contains(&format!("UnexpectedTrustedHeight: {trusted_height}")),
"{}",
err
let err = client.update_client(&ctx, client_id, input).unwrap_err();
assert_err(
err,
&format!(
"UnexpectedTrustedHeight: {}",
trusted_height.revision_height()
),
);
}

Expand Down
6 changes: 2 additions & 4 deletions light-client/src/fixture/localnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,8 @@ impl Network for Localnet {
expected_storage_root: hex!("e39304f0ec064a98e4b0a96432dfb0a9e4c7fd0f26a6bbcf9c75bff68c51a7a9")
}
}
fn error_update_client_non_neighboring_epoch_input(&self) -> (Vec<u8>, u64) {
let header = hex!("0a222f6962632e6c69676874636c69656e74732e7061726c69612e76312e48656164657212de1b0ab4060ab106f9032ea04788023231ff806fc9c20db23fce4c06c3b70d9038168334ec3e2095840ce534a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948fdaaa7e6631e438625ca25c857a3727ea28e565a044a1ff3b091f2f544a4d42c0772da7a8c26265f177d0472730efa0719c157d35a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028201f68402625a00808466992e3bb90111d98301040b846765746889676f312e32312e3132856c696e75780000ffcc693ef8ae03b860a5847b013e471a925b8122c9c748725825aef5d215d1ccee2b83af041eba4cf9ee211aed07fdeac7b4c2f7b85070208505e6849508cb950b2678fd27d40fb8e8a8656c050dd44f6ec33c226f108d15c6cab19080cfffbea81cdc7b1a09bc0463f8488201f4a0b4dfd14d8766b8fa4e64335fbcb53e56699c8948cb032d0bb628fc166a9321318201f5a04788023231ff806fc9c20db23fce4c06c3b70d9038168334ec3e2095840ce53480462103279b25cbd0540468881b0b90266b9ade0a60d6a93bba8a7ae4aff1d15477df78046011f78aeebf21fe63204b5e2b9b1aa8c7e26234482902addbb62a4001a0000000000000000000000000000000000000000000000000000000000000000088000000000000000080a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b42180800ab4060ab106f9032ea0b1270c4b2a24c6bce1d07ec610c294d4b729b0c9c02d585e33018420bd6d8f5aa01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794d9a13701eafb76870cb220843b8c6476824bfa15a044a1ff3b091f2f544a4d42c0772da7a8c26265f177d0472730efa0719c157d35a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028201f78402625a00808466992e3eb90111d98301040b846765746889676f312e32312e3132856c696e75780000ffcc693ef8ae03b86099624ac24cb33ea9d08bbc36916d4850fabbeea8f97d320a0493c574e4ec19f443070972f6c1737e0ca5269bdb11f16507096f009f7c1298d1ea37e22d2c0565cd5ae718284f80f5704228d6bc4d36ea63d7cd9a6077b15bf8e0c973c0b54f98f8488201f5a04788023231ff806fc9c20db23fce4c06c3b70d9038168334ec3e2095840ce5348201f6a0b1270c4b2a24c6bce1d07ec610c294d4b729b0c9c02d585e33018420bd6d8f5a80f3a3f4f618fa7a483fcc7f00b52e43e90085d5371c62a34f9a7150ad13921d805762782747f63307bee2a73980fc19c19af853800c7805fec26a3e405ea2b77500a0000000000000000000000000000000000000000000000000000000000000000088000000000000000080a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b42180800ab4060ab106f9032ea0be1699ee1c35954f180299bc9579d59ff6d57e5205cdc35c570d83d9e647d6d1a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948fdaaa7e6631e438625ca25c857a3727ea28e565a044a1ff3b091f2f544a4d42c0772da7a8c26265f177d0472730efa0719c157d35a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028201f88402625a00808466992e41b90111d98301040b846765746889676f312e32312e3132856c696e75780000ffcc693ef8ae03b860af4473d99c25cbf6cce8b3b305ec3dbccff96d7c6007f123dbbcbda8286428a69da7f9145ced0f2275b11daf1b7ad1e514938274bc4f960d25026f23c2f2f8a5d8cd3d32d87b4c66062988a657dbb5cd625bb256f328e8a4a81d92f0a2389fd1f8488201f6a0b1270c4b2a24c6bce1d07ec610c294d4b729b0c9c02d585e33018420bd6d8f5a8201f7a0be1699ee1c35954f180299bc9579d59ff6d57e5205cdc35c570d83d9e647d6d18083abf2596f14299f17a96f652981b52bb794315aee435f3e277a031b4955f4866c5179198606ef2c2f691d3352d1d6daaf2a995e75212fb413f520604e7e412001a0000000000000000000000000000000000000000000000000000000000000000088000000000000000080a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080120310f5031a9506f90312f901f1a094e7dcd05ddcc3923085b451330f3aa5ce5a628d6685506d99cb09b3aef0e11ea02da84052a06a138dc625b9f6b0020fa250e7b1862a9ff3db6516a7e32ff33698a0b116ef7733a93eed23f018027c116e60436a228a9f9173bb9b0c40eb71216da6a0c4514d3d96fbd80ddd21b28182a517e555c417cd7683f805860098cd28a49a4380a0a74e307420bf9966d5db9a83ce48edc32c7a8e43328c6373de6875cefa04ad7aa056f4d573349c475d8d0dd015ee77c80ccc34d5742c2a7f2c266480b61f24a050a00577e3e2c4649c5a23cbdabe0bbfed7cdf6e85c136d84d58127cdec86264ad6ea070c0f30031f40c8017dbfc2ef008e6a3aae2e3105a654e0c5439b6104752882ea08f81903ec8515875682785142e1f92bdeaf65fccd5d0cf78b1ff2905a07e5883a03052420ba2d24a04d3f830584d3dbd6907b6d82bab84ddd806d03470e2c9d51ca06fb1a1498c2c8f93944a4f672ff4e982480ad181c835c0d8078159c517c7977aa013a426820f7b7249edc97cc5c002e653ac84b437f3ac12ac940c3d4b09e09827a09fbc54eac488b27315b09a1afa8d12f168e4c4cb5aea2d9a6ab5e7266da2f7e8a077c5e5cd5bd518bc509ee5e71790f1e42e492e23875b097e565cff8e809e7c8aa0d4182165b298d7b52b0f2064d19ab8bdad2b3955fa5b3d85c00673beb97e124480f8b18080a0dc77b6ae50b675036e77b31973c79ec60c28c0d2c57b03ad99c2acfff2f0cd4e80a03f47312ca98ac1f6ae9db9752c2a33529723b64e654d87f7847cee0382edfb55a05e0f116451aaa1baab3f3abff2793c8318050eeed6bf62d464d343a11d86eb2880808080808080a0abbb1987d09a71106f586030d1ab913bae0008e2a7dec0d08f2d60cd30fb2ac8a096c706907bfc6472dd88315cb8e21ee6f60a661cd8050065e2ba387023ee96858080f869a020b1e2b1f9852058ee0aaadca3c963f77f6483a1a51c644d79386bcada360583b846f8440180a0e39304f0ec064a98e4b0a96432dfb0a9e4c7fd0f26a6bbcf9c75bff68c51a7a9a0b3d632130dcb5cb583b47ec0623e59ca3703e6e2564f144272b597f3e3511ba822448fdaaa7e6631e438625ca25c857a3727ea28e56593428ee663799df81ea82bc8445a7d93c891ef324b5f4438eb766bcf75fc405fb79d3f618fcdd17f107b374368ef512f2244d9a13701eafb76870cb220843b8c6476824bfa15a82968379b116362f75bdb7cc4be8ca0ceea7c0f2e74be7c8f289cda6dcbc5edbb26400e1306c2de06f52a9a583dab992a44a7876ea32e7a748c697d01345145485561305b24903201f874819815e1a3f183c4addc814b71ec0e573e07f79ee9082926d82dd1711d6c45a9cc8841916d8563c2f80baa2a44d9a13701eafb76870cb220843b8c6476824bfa15a82968379b116362f75bdb7cc4be8ca0ceea7c0f2e74be7c8f289cda6dcbc5edbb26400e1306c2de06f52a9a583dab9930013801").to_vec();
let trusted_height = 200;
(header, trusted_height)
fn error_update_client_non_neighboring_epoch_input(&self) -> Vec<u8> {
hex!("0a222f6962632e6c69676874636c69656e74732e7061726c69612e76312e48656164657212ed200ae9080ae608f90463a0947b3bea434254e61a3cb8db3730b1f72f41387c5cafa6b70e442fb395febf1ca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948fdaaa7e6631e438625ca25c857a3727ea28e565a0eb1d5bc6a9a390ac95eb3615129897e262958bf00049496ac246dbffa21cbcf4a0635e768d28c61dab2839060edf8f2eeb96b39f7d83c210292a6d535f8792ef9da03cd1ebc99cd975182c58de47be968c97658cff4c465e20654185f408a851403cb9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028206408402625a008229a88466a222f7b90223d98301040c846765746889676f312e32312e3132856c696e75780000e0299c2f04a7876ea32e7a748c697d01345145485561305b24b3f0af694696c1b453b1174a1ea8c1135c247eb168864c9731254bc2f28077f99fe195b477ee699d79f40468aa30c2b6b2e42bc54d19116d2348ac83461e2e0915d508adaf6af61cafa835c72fe6e9feb717dd4ddf95424e29b6384bd27c0d6c9c616d15cf7fdf0f2f9fc1a4fa9197251b196be3d9a13701eafb76870cb220843b8c6476824bfa15b822666ed599d40aa3bc13feb3ca5d5bc9d3ebe23d3460078c755a5ddbd85a0a58a217860fb0ea675b708a82b288f4b3e04db2de85453e0936b441c339a26d10cfa71b50996157a84dd67ec797a9ea61e4023c01d5bb28cce995c4c8329900b7b96e5402c02696f6f7b62972af4ee81f3f58afc109f8ae0fb860b0c4bfc658efc671dde996a36671539bac5b825b9cbe12605170bea0962f2076ac1fa677363bdf6b402d2bacb97b6cda0c8d4cbf078bcae5f3fa944a3a2c201e646c312dabb42fb511a0cc7f7ccd65ec8acd463451ad7d2966087bac9e49a075f84882063ea0d6eb0fd288eb7e595da1a30d123e291811d08a56481fbe9adea04f213e3ef2a482063fa0947b3bea434254e61a3cb8db3730b1f72f41387c5cafa6b70e442fb395febf1c808f56a07ca2497220c99fe729399e4affdc82b979356fc32312090ae8bab6c1fa7125fcaceeaed814d8b3fba2c7e870ddac117994c046246a19c59bcfbf1ef65901a0000000000000000000000000000000000000000000000000000000000000000088000000000000000080a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a000000000000000000000000000000000000000000000000000000000000000000ad5060ad206f9034fa0a2d72a8ec56486c9a6f050753741172c6d48a0a9a0ceee3e4bd3bc8211c42919a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794a7876ea32e7a748c697d01345145485561305b24a0eb1d5bc6a9a390ac95eb3615129897e262958bf00049496ac246dbffa21cbcf4a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028206418402625a00808466a222fab90111d98301040c846765746889676f312e32312e3132856c696e75780000e0299c2ff8ae0fb8608efb50f56bef7c6c09e58a679088e25ffc317b2e7adcb8c2395626a2d00d1f0cf14864344d22d5b33ca0610631f834be179f775ec3247a72f1755f4e4f4974dfc6a1f404d6600a7f83186cb1bec99c66b4752e1c34b692ed3eeb3bb745ddf790f84882063fa0947b3bea434254e61a3cb8db3730b1f72f41387c5cafa6b70e442fb395febf1c820640a0a2d72a8ec56486c9a6f050753741172c6d48a0a9a0ceee3e4bd3bc8211c42919809a1200e4dace2a075f92d8467b3f71b68e5293f0f66fa123e349f1484d77bf727211932b96e56cace0fc0e5951b23419ef84d631e19ddde29a1feeb55a09a36300a0000000000000000000000000000000000000000000000000000000000000000088000000000000000080a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a000000000000000000000000000000000000000000000000000000000000000000ad5060ad206f9034fa0cc5f461c78150e7d776c24dfa8254ecd200e32d4125135bf2470eebce1ca142ea01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d4934794b2e42bc54d19116d2348ac83461e2e0915d508ada0eb1d5bc6a9a390ac95eb3615129897e262958bf00049496ac246dbffa21cbcf4a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028206428402625a00808466a222fdb90111d98301040c846765746889676f312e32312e3132856c696e75780000e0299c2ff8ae0fb860afca419465fac47a8f81e12fb48c91d204851ab257108b5822167eed706bc340d6dc934cf637744fbc13953289fbd19f12413b627fcec373ffa2bae301da2794b1067476093941dd20872c626181b3f64677a0686cbc9cbfd26948d363892267f848820640a0a2d72a8ec56486c9a6f050753741172c6d48a0a9a0ceee3e4bd3bc8211c42919820641a0cc5f461c78150e7d776c24dfa8254ecd200e32d4125135bf2470eebce1ca142e809c5c7082946f7344a1a6db2f6cbd2f8e088324661ef121fac78e2d0bf1377ef62902ec5b5daf49f536cad596bd48b79e4a4052f8b86228146805436a26a348b601a0000000000000000000000000000000000000000000000000000000000000000088000000000000000080a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4218080a00000000000000000000000000000000000000000000000000000000000000000120310b0091a9506f90312f901f1a094e7dcd05ddcc3923085b451330f3aa5ce5a628d6685506d99cb09b3aef0e11ea0318b931f2fd109463dc35529a34c309be2f69ec517b3350d35d17d9eb9ed2051a0b116ef7733a93eed23f018027c116e60436a228a9f9173bb9b0c40eb71216da6a09b42d04e00dcd19346ce2f08c108f85727fca76f6dc57e30da5d76ce8f531c9280a0ad34ceb1c793eb6ab9036cecf8c0a1239b9edba58f94890173098a17d9b7693ba0b3638fba61f44f70d5b5727baaf03c779ab269dff4a5bf83c15266f4b5380cffa00577e3e2c4649c5a23cbdabe0bbfed7cdf6e85c136d84d58127cdec86264ad6ea070c0f30031f40c8017dbfc2ef008e6a3aae2e3105a654e0c5439b6104752882ea08f81903ec8515875682785142e1f92bdeaf65fccd5d0cf78b1ff2905a07e5883a03052420ba2d24a04d3f830584d3dbd6907b6d82bab84ddd806d03470e2c9d51ca06fb1a1498c2c8f93944a4f672ff4e982480ad181c835c0d8078159c517c7977aa013a426820f7b7249edc97cc5c002e653ac84b437f3ac12ac940c3d4b09e09827a09fbc54eac488b27315b09a1afa8d12f168e4c4cb5aea2d9a6ab5e7266da2f7e8a077c5e5cd5bd518bc509ee5e71790f1e42e492e23875b097e565cff8e809e7c8aa076094ead9021f5472bb12b03aeb521e09d71029dfa5dac90afa7cb44cbdfc5bd80f8b18080a0dc77b6ae50b675036e77b31973c79ec60c28c0d2c57b03ad99c2acfff2f0cd4e80a0579a97aa89dbeb98396792baa31c4a7ea8e2f41da084140f07bb4bd655b72dd5a05e0f116451aaa1baab3f3abff2793c8318050eeed6bf62d464d343a11d86eb2880808080808080a0abbb1987d09a71106f586030d1ab913bae0008e2a7dec0d08f2d60cd30fb2ac8a096c706907bfc6472dd88315cb8e21ee6f60a661cd8050065e2ba387023ee96858080f869a020b1e2b1f9852058ee0aaadca3c963f77f6483a1a51c644d79386bcada360583b846f8440180a0e39304f0ec064a98e4b0a96432dfb0a9e4c7fd0f26a6bbcf9c75bff68c51a7a9a0b3d632130dcb5cb583b47ec0623e59ca3703e6e2564f144272b597f3e3511ba82244a7876ea32e7a748c697d01345145485561305b24b3f0af694696c1b453b1174a1ea8c1135c247eb168864c9731254bc2f28077f99fe195b477ee699d79f40468aa30c2b62244b2e42bc54d19116d2348ac83461e2e0915d508adaf6af61cafa835c72fe6e9feb717dd4ddf95424e29b6384bd27c0d6c9c616d15cf7fdf0f2f9fc1a4fa9197251b196be32244d9a13701eafb76870cb220843b8c6476824bfa15b822666ed599d40aa3bc13feb3ca5d5bc9d3ebe23d3460078c755a5ddbd85a0a58a217860fb0ea675b708a82b288f4b32244e04db2de85453e0936b441c339a26d10cfa71b50996157a84dd67ec797a9ea61e4023c01d5bb28cce995c4c8329900b7b96e5402c02696f6f7b62972af4ee81f3f58afc12a448fdaaa7e6631e438625ca25c857a3727ea28e565a8c9cbefc0c78b71cdf18eeb8206601e665778faa6b4dd23740f8dd8eeb0c7bcc8f49a1c900396aee02d1639ab7897ff2a44a7876ea32e7a748c697d01345145485561305b24b3f0af694696c1b453b1174a1ea8c1135c247eb168864c9731254bc2f28077f99fe195b477ee699d79f40468aa30c2b62a44b2e42bc54d19116d2348ac83461e2e0915d508adaf6af61cafa835c72fe6e9feb717dd4ddf95424e29b6384bd27c0d6c9c616d15cf7fdf0f2f9fc1a4fa9197251b196be32a44e04db2de85453e0936b441c339a26d10cfa71b50996157a84dd67ec797a9ea61e4023c01d5bb28cce995c4c8329900b7b96e5402c02696f6f7b62972af4ee81f3f58afc130093801").to_vec()
}

fn error_update_client_input(&self) -> UpdateClientErrorInput {
Expand Down
2 changes: 1 addition & 1 deletion light-client/src/fixture/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub trait Network {
fn success_update_client_non_epoch_input(&self) -> UpdateClientNonEpochInput;
fn success_update_client_epoch_input(&self) -> UpdateClientEpochInput;
fn success_update_client_continuous_input(&self) -> Vec<Vec<Vec<u8>>>;
fn error_update_client_non_neighboring_epoch_input(&self) -> (Vec<u8>, u64);
fn error_update_client_non_neighboring_epoch_input(&self) -> Vec<u8>;
fn error_update_client_input(&self) -> UpdateClientErrorInput;
}

Expand Down

0 comments on commit 92c8cda

Please sign in to comment.