chore: fix CI
This commit is contained in:
@@ -21,10 +21,10 @@ message Events {
|
||||
|
||||
message Event {
|
||||
oneof type {
|
||||
DepositEvent deposit_type = 10;
|
||||
WithdrawEvent withdraw_type = 20;
|
||||
SyncEvent sync_type = 30;
|
||||
SwapEvent swap_type = 40;
|
||||
DepositEvent deposit = 10;
|
||||
WithdrawEvent withdraw = 20;
|
||||
SyncEvent sync = 30;
|
||||
SwapEvent swap = 40;
|
||||
}
|
||||
|
||||
string hash = 100;
|
||||
|
||||
@@ -141,8 +141,9 @@ fn handle_sync(
|
||||
/// handle_sync
|
||||
/// - block_entity_changes: The BlockChanges struct that will be updated with the changes from the
|
||||
/// sync events.
|
||||
///
|
||||
/// This HashMap comes pre-filled with the changes for the create_pool events, mapped in
|
||||
/// 1_map_pool_created.
|
||||
/// 1_map_pool_created.
|
||||
///
|
||||
/// This function is called after the handle_sync function, and it is expected that
|
||||
/// block_entity_changes will be complete after this function ends.
|
||||
|
||||
@@ -51,13 +51,13 @@ pub mod event {
|
||||
#[derive(Clone, PartialEq, ::prost::Oneof)]
|
||||
pub enum Type {
|
||||
#[prost(message, tag="10")]
|
||||
DepositType(super::DepositEvent),
|
||||
Deposit(super::DepositEvent),
|
||||
#[prost(message, tag="20")]
|
||||
WithdrawType(super::WithdrawEvent),
|
||||
Withdraw(super::WithdrawEvent),
|
||||
#[prost(message, tag="30")]
|
||||
SyncType(super::SyncEvent),
|
||||
Sync(super::SyncEvent),
|
||||
#[prost(message, tag="40")]
|
||||
SwapType(super::SwapEvent),
|
||||
Swap(super::SwapEvent),
|
||||
}
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
Reference in New Issue
Block a user