Skip to content

Commit

Permalink
Add finality contract to babylon proto
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Oct 9, 2024
1 parent bdc5948 commit 9f5390e
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 24 deletions.
1 change: 1 addition & 0 deletions docs/proto/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Params defines the parameters for the x/babylon module.
| ----- | ---- | ----- | ----------- |
| `babylon_contract_address` | [string](#string) | | babylon_contract_address is the address of the Babylon contract |
| `btc_staking_contract_address` | [string](#string) | | btc_staking_contract_address is the address of the BTC staking contract |
| `btc_finality_contract_address` | [string](#string) | | btc_finality_contract_address is the address of the BTC finality contract |
| `max_gas_begin_blocker` | [uint32](#uint32) | | max_gas_begin_blocker defines the maximum gas that can be spent in a contract sudo callback |


Expand Down
5 changes: 4 additions & 1 deletion proto/babylonchain/babylon/v1beta1/babylon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ message Params {
// btc_staking_contract_address is the address of the BTC staking contract
string btc_staking_contract_address = 2
[ (cosmos_proto.scalar) = "cosmos.AddressString" ];
// btc_finality_contract_address is the address of the BTC finality contract
string btc_finality_contract_address = 3
[ (cosmos_proto.scalar) = "cosmos.AddressString" ];
// max_gas_begin_blocker defines the maximum gas that can be spent in a
// contract sudo callback
uint32 max_gas_begin_blocker = 3;
uint32 max_gas_begin_blocker = 4;
}
96 changes: 73 additions & 23 deletions x/babylon/types/babylon.pb.go

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

0 comments on commit 9f5390e

Please sign in to comment.