Skip to content

Commit

Permalink
fixed fetching height
Browse files Browse the repository at this point in the history
  • Loading branch information
MrishoLukamba committed Jul 30, 2024
1 parent 0855d7b commit 860bcf8
Show file tree
Hide file tree
Showing 11 changed files with 13,808 additions and 12,636 deletions.
1,857 changes: 948 additions & 909 deletions evm/abi/src/generated/beefy.rs

Large diffs are not rendered by default.

2,316 changes: 1,208 additions & 1,108 deletions evm/abi/src/generated/erc20.rs

Large diffs are not rendered by default.

7,278 changes: 3,757 additions & 3,521 deletions evm/abi/src/generated/evm_host.rs

Large diffs are not rendered by default.

1,881 changes: 964 additions & 917 deletions evm/abi/src/generated/handler.rs

Large diffs are not rendered by default.

1,963 changes: 1,043 additions & 920 deletions evm/abi/src/generated/host_manager.rs

Large diffs are not rendered by default.

3,317 changes: 1,772 additions & 1,545 deletions evm/abi/src/generated/ping_module.rs

Large diffs are not rendered by default.

227 changes: 113 additions & 114 deletions evm/abi/src/generated/shared_types.rs
Original file line number Diff line number Diff line change
@@ -1,163 +1,162 @@
///`GetRequest(bytes,bytes,uint64,bytes,uint64,bytes[],uint64)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct GetRequest {
pub source: ::ethers::core::types::Bytes,
pub dest: ::ethers::core::types::Bytes,
pub nonce: u64,
pub from: ::ethers::core::types::Bytes,
pub timeout_timestamp: u64,
pub keys: ::std::vec::Vec<::ethers::core::types::Bytes>,
pub height: u64,
pub source: ::ethers::core::types::Bytes,
pub dest: ::ethers::core::types::Bytes,
pub nonce: u64,
pub from: ::ethers::core::types::Bytes,
pub timeout_timestamp: u64,
pub keys: ::std::vec::Vec<::ethers::core::types::Bytes>,
pub height: u64,
}
///`GetResponse((bytes,bytes,uint64,bytes,uint64,bytes[],uint64),(bytes,bytes)[])`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct GetResponse {
pub request: GetRequest,
pub values: ::std::vec::Vec<StorageValue>,
pub request: GetRequest,
pub values: ::std::vec::Vec<StorageValue>,
}
///`IncomingGetResponse(((bytes,bytes,uint64,bytes,uint64,bytes[],uint64),(bytes,bytes)[]),
/// address)`
///`IncomingGetResponse(((bytes,bytes,uint64,bytes,uint64,bytes[],uint64),(bytes,bytes)[]),address)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct IncomingGetResponse {
pub response: GetResponse,
pub relayer: ::ethers::core::types::Address,
pub response: GetResponse,
pub relayer: ::ethers::core::types::Address,
}
///`IncomingPostRequest((bytes,bytes,uint64,bytes,bytes,uint64,bytes),address)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct IncomingPostRequest {
pub request: PostRequest,
pub relayer: ::ethers::core::types::Address,
pub request: PostRequest,
pub relayer: ::ethers::core::types::Address,
}
///`IncomingPostResponse(((bytes,bytes,uint64,bytes,bytes,uint64,bytes),bytes,uint64),address)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct IncomingPostResponse {
pub response: PostResponse,
pub relayer: ::ethers::core::types::Address,
pub response: PostResponse,
pub relayer: ::ethers::core::types::Address,
}
///`PostRequest(bytes,bytes,uint64,bytes,bytes,uint64,bytes)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct PostRequest {
pub source: ::ethers::core::types::Bytes,
pub dest: ::ethers::core::types::Bytes,
pub nonce: u64,
pub from: ::ethers::core::types::Bytes,
pub to: ::ethers::core::types::Bytes,
pub timeout_timestamp: u64,
pub body: ::ethers::core::types::Bytes,
pub source: ::ethers::core::types::Bytes,
pub dest: ::ethers::core::types::Bytes,
pub nonce: u64,
pub from: ::ethers::core::types::Bytes,
pub to: ::ethers::core::types::Bytes,
pub timeout_timestamp: u64,
pub body: ::ethers::core::types::Bytes,
}
///`PostResponse((bytes,bytes,uint64,bytes,bytes,uint64,bytes),bytes,uint64)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct PostResponse {
pub request: PostRequest,
pub response: ::ethers::core::types::Bytes,
pub timeout_timestamp: u64,
pub request: PostRequest,
pub response: ::ethers::core::types::Bytes,
pub timeout_timestamp: u64,
}
///`StateCommitment(uint256,bytes32,bytes32)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct StateCommitment {
pub timestamp: ::ethers::core::types::U256,
pub overlay_root: [u8; 32],
pub state_root: [u8; 32],
pub timestamp: ::ethers::core::types::U256,
pub overlay_root: [u8; 32],
pub state_root: [u8; 32],
}
///`StateMachineHeight(uint256,uint256)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct StateMachineHeight {
pub state_machine_id: ::ethers::core::types::U256,
pub height: ::ethers::core::types::U256,
pub state_machine_id: ::ethers::core::types::U256,
pub height: ::ethers::core::types::U256,
}
///`StorageValue(bytes,bytes)`
#[derive(
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash,
Clone,
::ethers::contract::EthAbiType,
::ethers::contract::EthAbiCodec,
Default,
Debug,
PartialEq,
Eq,
Hash
)]
pub struct StorageValue {
pub key: ::ethers::core::types::Bytes,
pub value: ::ethers::core::types::Bytes,
pub key: ::ethers::core::types::Bytes,
pub value: ::ethers::core::types::Bytes,
}
Loading

0 comments on commit 860bcf8

Please sign in to comment.