Skip to content

Commit

Permalink
Fix proto field number ordering (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit authored Jan 2, 2024
1 parent 74ba9ea commit 898adb1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions proto/adaptors/aave/aave_v3_debt_token_flash_loan.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ message AaveV3DebtTokenAdaptorV1FlashLoan {
// Represents function calls to the CollateralFTokenAdaptor V1
CollateralFTokenAdaptorV1Calls collateral_f_token_v1_calls = 26;
// Represents function calls for the ConvexCurveAdaptorV1
ConvexCurveAdaptorV1Calls convex_curve_v1_calls = 30;
ConvexCurveAdaptorV1Calls convex_curve_v1_calls = 27;
// Represents function calls for the CurveAdaptorV1
CurveAdaptorV1Calls curve_v1_calls = 31;
CurveAdaptorV1Calls curve_v1_calls = 28;
// Represents function calls for the AuraERC4626AdaptorV1
AuraERC4626AdaptorV1Calls aura_erc4626_v1_calls = 32;
AuraERC4626AdaptorV1Calls aura_erc4626_v1_calls = 29;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions proto/cellar_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,9 @@ message AdaptorCall {
DebtFTokenAdaptorV1Calls debt_f_token_v1_calls = 26;
// Represents function calls to the CollateralFTokenAdaptor V1
CollateralFTokenAdaptorV1Calls collateral_f_token_v1_calls = 27;
// Represents flash loan function call for the AaveV3DebtTokenAdaptorV1
// Represents function call for the AaveV3DebtTokenAdaptorV1
AaveV3DebtTokenAdaptorV1FlashLoanCalls aave_v3_debt_token_v1_flash_loan_calls = 28;
// Represents flash loan function call for the BalancerPoolAdaptorV1
// Represents function call for the BalancerPoolAdaptorV1
BalancerPoolAdaptorV1FlashLoanCalls balancer_pool_v1_flash_loan_calls = 29;
// Represents function calls for the ConvexCurveAdaptorV1
ConvexCurveAdaptorV1Calls convex_curve_v1_calls = 30;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified steward_proto_rust/src/prost/descriptor.bin
Binary file not shown.
8 changes: 4 additions & 4 deletions steward_proto_rust/src/prost/steward.v3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2724,7 +2724,7 @@ pub mod aave_v3_debt_token_adaptor_v1_flash_loan {
/// The function call data for the adaptor
#[prost(
oneof = "adaptor_call_for_aave_v3_flash_loan::CallData",
tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 30, 31, 32"
tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29"
)]
pub call_data: ::core::option::Option<adaptor_call_for_aave_v3_flash_loan::CallData>,
}
Expand Down Expand Up @@ -2813,13 +2813,13 @@ pub mod aave_v3_debt_token_adaptor_v1_flash_loan {
#[prost(message, tag = "26")]
CollateralFTokenV1Calls(super::super::CollateralFTokenAdaptorV1Calls),
/// Represents function calls for the ConvexCurveAdaptorV1
#[prost(message, tag = "30")]
#[prost(message, tag = "27")]
ConvexCurveV1Calls(super::super::ConvexCurveAdaptorV1Calls),
/// Represents function calls for the CurveAdaptorV1
#[prost(message, tag = "31")]
#[prost(message, tag = "28")]
CurveV1Calls(super::super::CurveAdaptorV1Calls),
/// Represents function calls for the AuraERC4626AdaptorV1
#[prost(message, tag = "32")]
#[prost(message, tag = "29")]
AuraErc4626V1Calls(super::super::AuraErc4626AdaptorV1Calls),
}
}
Expand Down

0 comments on commit 898adb1

Please sign in to comment.