From de79e2e2fc406ff00c9aade60b9dcdb5baa0b511 Mon Sep 17 00:00:00 2001 From: KonradStaniec Date: Fri, 5 Jul 2024 15:38:06 +0200 Subject: [PATCH 01/21] Add docs to public facing functions (#692) * Add docs to public facing functions --- btcstaking/types.go | 12 ++++++++++++ btcstaking/witness_utils.go | 20 ++++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/btcstaking/types.go b/btcstaking/types.go index 77d6bf0ef..95d6a9455 100644 --- a/btcstaking/types.go +++ b/btcstaking/types.go @@ -376,6 +376,12 @@ func newBabylonScriptPaths( }, nil } +// BuildStakingInfo builds all Babylon specific BTC scripts that must +// be committed to in the staking output. +// Returned `StakingInfo` object exposes methods to build spend info for each +// of the script spending paths which later must be included in the witness. +// It is up to the caller to verify whether parameters provided to this function +// obey parameters expected by Babylon chain. func BuildStakingInfo( stakerKey *btcec.PublicKey, fpKeys []*btcec.PublicKey, @@ -456,6 +462,12 @@ type UnbondingInfo struct { slashingPathLeafHash chainhash.Hash } +// BuildUnbondingInfo builds all Babylon specific BTC scripts that must +// be committed to in the unbonding output. +// Returned `UnbondingInfo` object exposes methods to build spend info for each +// of the script spending paths which later must be included in the witness. +// It is up to the caller to verify whether parameters provided to this function +// obey parameters expected by Babylon chain. func BuildUnbondingInfo( stakerKey *btcec.PublicKey, fpKeys []*btcec.PublicKey, diff --git a/btcstaking/witness_utils.go b/btcstaking/witness_utils.go index a733ab1e9..8e45f2f0a 100644 --- a/btcstaking/witness_utils.go +++ b/btcstaking/witness_utils.go @@ -17,7 +17,14 @@ func (si *SpendInfo) CreateTimeLockPathWitness(delegatorSig *schnorr.Signature) return CreateWitness(si, [][]byte{delegatorSig.Serialize()}) } -func (si *SpendInfo) CreateUnbondingPathWitness(covenantSigs []*schnorr.Signature, delegatorSig *schnorr.Signature) (wire.TxWitness, error) { +// CreateUnbondingPathWitness helper function to create a witness to spend +// transaction through the unbonding path. +// It is up to the caller to ensure that the amount of covenantSigs matches the +// expected quorum of covenenant members and the transaction has unbonding path. +func (si *SpendInfo) CreateUnbondingPathWitness( + covenantSigs []*schnorr.Signature, + delegatorSig *schnorr.Signature, +) (wire.TxWitness, error) { if si == nil { panic("cannot build witness without spend info") } @@ -46,7 +53,16 @@ func (si *SpendInfo) CreateUnbondingPathWitness(covenantSigs []*schnorr.Signatur return CreateWitness(si, witnessStack) } -func (si *SpendInfo) CreateSlashingPathWitness(covenantSigs []*schnorr.Signature, fpSigs []*schnorr.Signature, delegatorSig *schnorr.Signature) (wire.TxWitness, error) { +// CreateSlashingPathWitness helper function to create a witness to spend +// transaction through the slashing path. +// It is up to the caller to ensure that the amount of covenantSigs matches the +// expected quorum of covenenant members, the finality provider sigs respect the finality providers +// that the delegation belongs to, and the transaction has slashing path. +func (si *SpendInfo) CreateSlashingPathWitness( + covenantSigs []*schnorr.Signature, + fpSigs []*schnorr.Signature, + delegatorSig *schnorr.Signature, +) (wire.TxWitness, error) { if si == nil { panic("cannot build witness without spend info") } From d64ddc97d1c8b9f695b814b7b1b92ce133f2547b Mon Sep 17 00:00:00 2001 From: Cirrus Gai Date: Tue, 9 Jul 2024 21:05:16 +0800 Subject: [PATCH 02/21] chore: Rename magic bytes to tag (#696) --- btcstaking/identifiable_staking.go | 76 ++++++++++++------------- btcstaking/identifiable_staking_test.go | 13 +++-- btcstaking/staking_testvectors_test.go | 19 ++++--- btcstaking/testvectors/vectors.json | 10 ++-- docs/transaction-impl-spec.md | 8 +-- 5 files changed, 64 insertions(+), 62 deletions(-) diff --git a/btcstaking/identifiable_staking.go b/btcstaking/identifiable_staking.go index cd28468c9..d75288dd5 100644 --- a/btcstaking/identifiable_staking.go +++ b/btcstaking/identifiable_staking.go @@ -16,9 +16,9 @@ import ( ) const ( - // length of magic prefix indentifying staking transactions - MagicBytesLen = 4 - // 4 bytes magic bytes + 1 byte version + 32 bytes staker public key + 32 bytes finality provider public key + 2 bytes staking time + // length of tag prefix indentifying staking transactions + TagLen = 4 + // 4 bytes tag + 1 byte version + 32 bytes staker public key + 32 bytes finality provider public key + 2 bytes staking time V0OpReturnDataSize = 71 v0OpReturnCreationErrMsg = "cannot create V0 op_return data" @@ -50,7 +50,7 @@ func uint16FromBytes(b []byte) (uint16, error) { // V0OpReturnData represents the data that is embedded in the OP_RETURN output // It marshalls to exactly 71 bytes type V0OpReturnData struct { - MagicBytes []byte + Tag []byte Version byte StakerPublicKey *XonlyPubKey FinalityProviderPublicKey *XonlyPubKey @@ -58,13 +58,13 @@ type V0OpReturnData struct { } func NewV0OpReturnData( - magicBytes []byte, + tag []byte, stakerPublicKey []byte, finalityProviderPublicKey []byte, stakingTime []byte, ) (*V0OpReturnData, error) { - if len(magicBytes) != MagicBytesLen { - return nil, fmt.Errorf("%s: invalid magic bytes length: %d, expected: %d", v0OpReturnCreationErrMsg, len(magicBytes), MagicBytesLen) + if len(tag) != TagLen { + return nil, fmt.Errorf("%s: invalid tag length: %d, expected: %d", v0OpReturnCreationErrMsg, len(tag), TagLen) } stakerKey, err := XOnlyPublicKeyFromBytes(stakerPublicKey) @@ -85,17 +85,17 @@ func NewV0OpReturnData( return nil, fmt.Errorf("%s:invalid staking time:%w", v0OpReturnCreationErrMsg, err) } - return NewV0OpReturnDataFromParsed(magicBytes, stakerKey.PubKey, fpKey.PubKey, stakingTimeValue) + return NewV0OpReturnDataFromParsed(tag, stakerKey.PubKey, fpKey.PubKey, stakingTimeValue) } func NewV0OpReturnDataFromParsed( - magicBytes []byte, + tag []byte, stakerPublicKey *btcec.PublicKey, finalityProviderPublicKey *btcec.PublicKey, stakingTime uint16, ) (*V0OpReturnData, error) { - if len(magicBytes) != MagicBytesLen { - return nil, fmt.Errorf("%s:invalid magic bytes length: %d, expected: %d", v0OpReturnCreationErrMsg, len(magicBytes), MagicBytesLen) + if len(tag) != TagLen { + return nil, fmt.Errorf("%s:invalid tag length: %d, expected: %d", v0OpReturnCreationErrMsg, len(tag), TagLen) } if stakerPublicKey == nil { @@ -107,7 +107,7 @@ func NewV0OpReturnDataFromParsed( } return &V0OpReturnData{ - MagicBytes: magicBytes, + Tag: tag, Version: 0, StakerPublicKey: &XonlyPubKey{stakerPublicKey}, FinalityProviderPublicKey: &XonlyPubKey{finalityProviderPublicKey}, @@ -119,18 +119,18 @@ func NewV0OpReturnDataFromBytes(b []byte) (*V0OpReturnData, error) { if len(b) != V0OpReturnDataSize { return nil, fmt.Errorf("invalid op return data length: %d, expected: %d", len(b), V0OpReturnDataSize) } - magicBytes := b[:MagicBytesLen] + tag := b[:TagLen] - version := b[MagicBytesLen] + version := b[TagLen] if version != 0 { return nil, fmt.Errorf("invalid op return version: %d, expected: %d", version, 0) } - stakerPublicKey := b[MagicBytesLen+1 : MagicBytesLen+1+schnorr.PubKeyBytesLen] - finalityProviderPublicKey := b[MagicBytesLen+1+schnorr.PubKeyBytesLen : MagicBytesLen+1+schnorr.PubKeyBytesLen*2] - stakingTime := b[MagicBytesLen+1+schnorr.PubKeyBytesLen*2:] - return NewV0OpReturnData(magicBytes, stakerPublicKey, finalityProviderPublicKey, stakingTime) + stakerPublicKey := b[TagLen+1 : TagLen+1+schnorr.PubKeyBytesLen] + finalityProviderPublicKey := b[TagLen+1+schnorr.PubKeyBytesLen : TagLen+1+schnorr.PubKeyBytesLen*2] + stakingTime := b[TagLen+1+schnorr.PubKeyBytesLen*2:] + return NewV0OpReturnData(tag, stakerPublicKey, finalityProviderPublicKey, stakingTime) } func getV0OpReturnBytes(out *wire.TxOut) ([]byte, error) { @@ -164,7 +164,7 @@ func NewV0OpReturnDataFromTxOutput(out *wire.TxOut) (*V0OpReturnData, error) { func (d *V0OpReturnData) Marshall() []byte { var data []byte - data = append(data, d.MagicBytes...) + data = append(data, d.Tag...) data = append(data, d.Version) data = append(data, d.StakerPublicKey.Marshall()...) data = append(data, d.FinalityProviderPublicKey.Marshall()...) @@ -182,7 +182,7 @@ func (d *V0OpReturnData) ToTxOutput() (*wire.TxOut, error) { // BuildV0IdentifiableStakingOutputs creates outputs which every staking transaction must have func BuildV0IdentifiableStakingOutputs( - magicBytes []byte, + tag []byte, stakerKey *btcec.PublicKey, fpKey *btcec.PublicKey, covenantKeys []*btcec.PublicKey, @@ -204,7 +204,7 @@ func BuildV0IdentifiableStakingOutputs( return nil, err } - opReturnData, err := NewV0OpReturnDataFromParsed(magicBytes, stakerKey, fpKey, stakingTime) + opReturnData, err := NewV0OpReturnDataFromParsed(tag, stakerKey, fpKey, stakingTime) if err != nil { return nil, err @@ -229,7 +229,7 @@ func BuildV0IdentifiableStakingOutputs( // BuildV0IdentifiableStakingOutputsAndTx creates outputs which every staking transaction must have and // returns the not-funded transaction with these outputs func BuildV0IdentifiableStakingOutputsAndTx( - magicBytes []byte, + tag []byte, stakerKey *btcec.PublicKey, fpKey *btcec.PublicKey, covenantKeys []*btcec.PublicKey, @@ -239,7 +239,7 @@ func BuildV0IdentifiableStakingOutputsAndTx( net *chaincfg.Params, ) (*IdentifiableStakingInfo, *wire.MsgTx, error) { info, err := BuildV0IdentifiableStakingOutputs( - magicBytes, + tag, stakerKey, fpKey, covenantKeys, @@ -344,7 +344,7 @@ func tryToGetStakingOutput(outputs []*wire.TxOut, stakingOutputPkScript []byte) // It does all necessary checks to ensure that the transaction is valid staking transaction. func ParseV0StakingTx( tx *wire.MsgTx, - expectedMagicBytes []byte, + expectedTag []byte, covenantKeys []*btcec.PublicKey, covenantQuorum uint32, net *chaincfg.Params, @@ -354,8 +354,8 @@ func ParseV0StakingTx( return nil, fmt.Errorf("nil tx") } - if len(expectedMagicBytes) != MagicBytesLen { - return nil, fmt.Errorf("invalid magic bytes length: %d, expected: %d", len(expectedMagicBytes), MagicBytesLen) + if len(expectedTag) != TagLen { + return nil, fmt.Errorf("invalid tag length: %d, expected: %d", len(expectedTag), TagLen) } if len(covenantKeys) == 0 { @@ -382,11 +382,11 @@ func ParseV0StakingTx( } // at this point we know that transaction has op return output which seems to match - // the expected shape. Check the magic bytes and version. - if !bytes.Equal(opReturnData.MagicBytes, expectedMagicBytes) { - return nil, fmt.Errorf("unexpected magic bytes: %s, expected: %s", - hex.EncodeToString(opReturnData.MagicBytes), - hex.EncodeToString(expectedMagicBytes), + // the expected shape. Check the tag and version. + if !bytes.Equal(opReturnData.Tag, expectedTag) { + return nil, fmt.Errorf("unexpected tag: %s, expected: %s", + hex.EncodeToString(opReturnData.Tag), + hex.EncodeToString(expectedTag), ) } @@ -434,11 +434,11 @@ func ParseV0StakingTx( // checks: // 1. Whether the transaction has at least 2 outputs // 2. have an op return output -// 3. op return output has expected magic bytes +// 3. op return output has expected tag // This function is much faster than ParseV0StakingTx, as it does not perform // all necessary checks. -func IsPossibleV0StakingTx(tx *wire.MsgTx, expectedMagicBytes []byte) bool { - if len(expectedMagicBytes) != MagicBytesLen { +func IsPossibleV0StakingTx(tx *wire.MsgTx, expectedTag []byte) bool { + if len(expectedTag) != TagLen { return false } @@ -457,18 +457,18 @@ func IsPossibleV0StakingTx(tx *wire.MsgTx, expectedMagicBytes []byte) bool { continue } - if !bytes.Equal(data[:MagicBytesLen], expectedMagicBytes) { - // this is not the op return output we are looking for as magic bytes do not match + if !bytes.Equal(data[:TagLen], expectedTag) { + // this is not the op return output we are looking for as tag do not match continue } - if data[MagicBytesLen] != 0 { + if data[TagLen] != 0 { // this is not the v0 op return output continue } if possibleStakingTx { - // this is second output that matches the magic bytes, we do not allow for multiple op return outputs + // this is second output that matches the tag, we do not allow for multiple op return outputs // so this is not a valid staking transaction return false } diff --git a/btcstaking/identifiable_staking_test.go b/btcstaking/identifiable_staking_test.go index fb714a7d4..6f790f8d8 100644 --- a/btcstaking/identifiable_staking_test.go +++ b/btcstaking/identifiable_staking_test.go @@ -7,12 +7,13 @@ import ( "github.com/babylonchain/babylon/btcstaking" - "github.com/babylonchain/babylon/testutil/datagen" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/require" + + "github.com/babylonchain/babylon/testutil/datagen" ) func generateTxFromOutputs(r *rand.Rand, info *btcstaking.IdentifiableStakingInfo) (*wire.MsgTx, int, int) { @@ -47,13 +48,13 @@ func FuzzGenerateAndParseValidV0StakingTransaction(f *testing.F) { quroum := uint32(r.Intn(int(numCovenantKeys)) + 1) stakingAmount := btcutil.Amount(r.Int63n(1000000000) + 10000) stakingTime := uint16(r.Int31n(math.MaxUint16-1) + 1) - magicBytes := datagen.GenRandomByteArray(r, btcstaking.MagicBytesLen) + tag := datagen.GenRandomByteArray(r, btcstaking.TagLen) net := &chaincfg.MainNetParams sc := GenerateTestScenario(r, t, 1, numCovenantKeys, quroum, stakingAmount, stakingTime) outputs, err := btcstaking.BuildV0IdentifiableStakingOutputs( - magicBytes, + tag, sc.StakerKey.PubKey(), sc.FinalityProviderKeys[0].PubKey(), sc.CovenantPublicKeys(), @@ -70,11 +71,11 @@ func FuzzGenerateAndParseValidV0StakingTransaction(f *testing.F) { // ParseV0StakingTx and IsPossibleV0StakingTx should be consistent and recognize // the same tx as a valid staking tx - require.True(t, btcstaking.IsPossibleV0StakingTx(tx, magicBytes)) + require.True(t, btcstaking.IsPossibleV0StakingTx(tx, tag)) parsedTx, err := btcstaking.ParseV0StakingTx( tx, - magicBytes, + tag, sc.CovenantPublicKeys(), quroum, net, @@ -90,7 +91,7 @@ func FuzzGenerateAndParseValidV0StakingTransaction(f *testing.F) { require.Equal(t, outputs.OpReturnOutput.Value, parsedTx.OpReturnOutput.Value) require.Equal(t, opReturnOutputIdx, parsedTx.OpReturnOutputIdx) - require.Equal(t, magicBytes, parsedTx.OpReturnData.MagicBytes) + require.Equal(t, tag, parsedTx.OpReturnData.Tag) require.Equal(t, uint8(0), parsedTx.OpReturnData.Version) require.Equal(t, stakingTime, parsedTx.OpReturnData.StakingTime) diff --git a/btcstaking/staking_testvectors_test.go b/btcstaking/staking_testvectors_test.go index 52521e21b..2a60273f5 100644 --- a/btcstaking/staking_testvectors_test.go +++ b/btcstaking/staking_testvectors_test.go @@ -8,13 +8,14 @@ import ( "os" "testing" - "github.com/babylonchain/babylon/btcstaking" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/require" + + "github.com/babylonchain/babylon/btcstaking" ) func getBtcNetworkParams(network string) (*chaincfg.Params, error) { @@ -86,7 +87,7 @@ type Parameters struct { UnbondingTxVersion int `json:"unbonding_tx_version"` UnbondingTime int `json:"unbonding_time"` UnbondingFee int `json:"unbonding_fee"` - MagicBytes string `json:"magic_bytes"` + Tag string `json:"tag"` Network string `json:"network"` } @@ -124,7 +125,7 @@ type ParsedParams struct { UnbondingTxVersion uint32 UnbondingTime uint16 UnbondingFee btcutil.Amount - MagicBytes []byte + Tag []byte Network *chaincfg.Params } @@ -139,7 +140,7 @@ func parseTestParams(t *testing.T, p *Parameters) (*ParsedParams, error) { return nil, err } - magicBytes, err := hex.DecodeString(p.MagicBytes) + tag, err := hex.DecodeString(p.Tag) if err != nil { return nil, err } @@ -161,7 +162,7 @@ func parseTestParams(t *testing.T, p *Parameters) (*ParsedParams, error) { UnbondingTxVersion: uint32(p.UnbondingTxVersion), UnbondingTime: uint16(p.UnbondingTime), UnbondingFee: btcutil.Amount(p.UnbondingFee), - MagicBytes: magicBytes, + Tag: tag, Network: network, }, nil } @@ -260,7 +261,7 @@ func TestVectorsCompatiblity(t *testing.T) { if tc.Expected.OpReturnScript != "" { data, err := btcstaking.NewV0OpReturnDataFromParsed( - parsedParams.MagicBytes, + parsedParams.Tag, parsedParams.StakerPublicKey, parsedParams.FinalityProviderPublicKeys[0], parsedParams.StakingTime, @@ -320,7 +321,7 @@ func GenerateTestCase( stakingTime int, unbondingTime int, unbondingFee int, - magicBytes []byte, + tag []byte, ) string { emptyHash := [32]byte{} eh, err := chainhash.NewHash(emptyHash[:]) @@ -379,7 +380,7 @@ func GenerateTestCase( // if there is more build op_return output if len(finalityKeys) == 1 { opInfo, err := btcstaking.BuildV0IdentifiableStakingOutputs( - magicBytes, + tag, keysToPubKeys(t, stakerKeys)[0], keysToPubKeys(t, finalityKeys)[0], keysToPubKeys(t, covenantKeys), @@ -404,7 +405,7 @@ func GenerateTestCase( UnbondingTxVersion: 2, UnbondingTime: unbondingTime, UnbondingFee: unbondingFee, - MagicBytes: hex.EncodeToString(magicBytes), + Tag: hex.EncodeToString(tag), Network: "mainnet", } diff --git a/btcstaking/testvectors/vectors.json b/btcstaking/testvectors/vectors.json index 0ca091df3..a3272abf5 100644 --- a/btcstaking/testvectors/vectors.json +++ b/btcstaking/testvectors/vectors.json @@ -18,7 +18,7 @@ "unbonding_tx_version": 2, "unbonding_time": 100, "unbonding_fee": 2000, - "magic_bytes": "01020304", + "tag": "01020304", "network": "mainnet" }, "expected": { @@ -55,7 +55,7 @@ "unbonding_tx_version": 2, "unbonding_time": 50, "unbonding_fee": 20000, - "magic_bytes": "01020304", + "tag": "01020304", "network": "mainnet" }, "expected": { @@ -94,7 +94,7 @@ "unbonding_tx_version": 2, "unbonding_time": 50, "unbonding_fee": 20000, - "magic_bytes": "01020304", + "tag": "01020304", "network": "mainnet" }, "expected": { @@ -135,7 +135,7 @@ "unbonding_tx_version": 2, "unbonding_time": 201, "unbonding_fee": 50000, - "magic_bytes": "01020304", + "tag": "01020304", "network": "mainnet" }, "expected": { @@ -196,7 +196,7 @@ "unbonding_tx_version": 2, "unbonding_time": 201, "unbonding_fee": 100000, - "magic_bytes": "01020304", + "tag": "01020304", "network": "mainnet" }, "expected": { diff --git a/docs/transaction-impl-spec.md b/docs/transaction-impl-spec.md index 17a3b2707..4cf55e823 100644 --- a/docs/transaction-impl-spec.md +++ b/docs/transaction-impl-spec.md @@ -81,7 +81,7 @@ Data in the OP_RETURN output is described by the following struct: ```go type V0OpReturnData struct { - MagicBytes []byte + Tag []byte Version byte StakerPublicKey []byte FinalityProviderPublicKey []byte @@ -91,7 +91,7 @@ type V0OpReturnData struct { The implementation of the struct can be found [here](../btcstaking/identifiable_staking.go?pain=1#L52) Fields description: -- `MagicBytes` - 4 bytes, tag which is used to identify the staking transaction +- `Tag` - 4 bytes, tag which is used to identify the staking transaction among other transactions in the Bitcoin ledger. It is specified in the `global_parameters.Tag` field. - `Version` - 1 byte, current version of the OP_RETURN output @@ -107,7 +107,7 @@ output in the staking transaction. This data is serialized as follows: ``` -SerializedStakingData = MagicBytes || Version || StakerPublicKey || FinalityProviderPublicKey || StakingTime +SerializedStakingData = Tag || Version || StakerPublicKey || FinalityProviderPublicKey || StakingTime ``` To transform this data into OP_RETURN data: @@ -166,7 +166,7 @@ function with the following signature: ```go func BuildV0IdentifiableStakingOutputsAndTx( - magicBytes []byte, + tag []byte, stakerKey *btcec.PublicKey, fpKey *btcec.PublicKey, covenantKeys []*btcec.PublicKey, From 22b9969c32e4ee58d48f047797036215a4d689b3 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Wed, 10 Jul 2024 11:23:15 +0200 Subject: [PATCH 03/21] chore: fix typos (#702) --- docs/run-node.md | 2 +- docs/staking-script.md | 6 +++--- x/epoching/README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/run-node.md b/docs/run-node.md index 8e1b1be41..b6b2f2a4b 100644 --- a/docs/run-node.md +++ b/docs/run-node.md @@ -44,7 +44,7 @@ The `gentxs` directory contains the genesis transactions. It contains transactions that assign bbn tokens to a single address that is defined for each node. -The `node0` directory contains the the following, +The `node0` directory contains the following, ```console $ ls .testnet/node0/babylond diff --git a/docs/staking-script.md b/docs/staking-script.md index 9957bffb0..23ff7bc7f 100644 --- a/docs/staking-script.md +++ b/docs/staking-script.md @@ -5,7 +5,7 @@ Babylon's BTC staking protocol turns Bitcoin into a staking asset with the aim to enhance the economic security of the Babylon chain. Bitcoin holders can stake their Bitcoin by locking them using a special transaction on the Bitcoin chain. -The locked Bitcoin contribute to Babylon chain's economic security and generate +The locked Bitcoin contributes to Babylon chain's economic security and generates yields for the Bitcoin stakers. The protocol has the following important properties: @@ -36,7 +36,7 @@ the Bitcoin Staker, and the other is called the Finality Provider. - **Bitcoin Staker**: A Bitcoin Staker is an entity identified by `` in staking scripts. Note that a staking transaction can be funded from -arbitrary UTXO, including those owned by multsig/MPC/threshold accounts. +arbitrary UTXO, including those owned by multisig/MPC/threshold accounts. Thus, `` is not necessarily the address of the source of the fund. Rather, it is the controller and beneficiary of the stake after its creation. - **Finality Provider**: A Finality Provider is the an entity that votes @@ -259,7 +259,7 @@ This leads to following system wide repercussions: unbonding transaction in this staking request. This staking request will become active only when `CovenantThreshold` signatures will be received by Babylon chain. Lack of `FinalityProviderPk` in unbonding path, means that after - delegation becomes active, staker can send unbodning transaction any time + delegation becomes active, staker can send unbonding transaction any time without asking finality provider for permission. - existence of `FinalityProviderPk` in slashing path, coupled with the fact that btc staker needs to provide pre-signed slashing transaction which needs to be diff --git a/x/epoching/README.md b/x/epoching/README.md index e557c8df8..0800dc108 100644 --- a/x/epoching/README.md +++ b/x/epoching/README.md @@ -350,7 +350,7 @@ module, and then inserts the message to the epoch message queue storage. ### MsgUpdateParams The `MsgUpdateParams` message is used for updating the module parameters for the -Epoching module. It can only be executed via a govenance proposal. +Epoching module. It can only be executed via a governance proposal. ```protobuf // MsgUpdateParams defines a message for updating Epoching module parameters. From beebc9c5d56786ab0ad37428e3d32559c666d526 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 12 Jul 2024 09:33:22 +0800 Subject: [PATCH 04/21] refactor: Extract public functions (#706) --- btcstaking/btcstaking_test.go | 72 +++++++++-------------------------- 1 file changed, 18 insertions(+), 54 deletions(-) diff --git a/btcstaking/btcstaking_test.go b/btcstaking/btcstaking_test.go index 02bf5f612..fc41142aa 100644 --- a/btcstaking/btcstaking_test.go +++ b/btcstaking/btcstaking_test.go @@ -86,6 +86,18 @@ func (t *TestScenario) FinalityProviderPublicKeys() []*btcec.PublicKey { return finalityProviderPubKeys } +func createSpendStakeTx(amount btcutil.Amount) *wire.MsgTx { + spendStakeTx := wire.NewMsgTx(2) + spendStakeTx.AddTxIn(wire.NewTxIn(&wire.OutPoint{}, nil, nil)) + spendStakeTx.AddTxOut( + &wire.TxOut{ + PkScript: []byte("doesn't matter"), + Value: int64(amount), + }, + ) + return spendStakeTx +} + func TestSpendingTimeLockPath(t *testing.T) { r := rand.New(rand.NewSource(time.Now().Unix())) scenario := GenerateTestScenario( @@ -110,15 +122,7 @@ func TestSpendingTimeLockPath(t *testing.T) { require.NoError(t, err) - spendStakeTx := wire.NewMsgTx(2) - spendStakeTx.AddTxIn(wire.NewTxIn(&wire.OutPoint{}, nil, nil)) - spendStakeTx.AddTxOut( - &wire.TxOut{ - PkScript: []byte("doesn't matter"), - // spend half of the staking amount - Value: int64(scenario.StakingAmount.MulF64(0.5)), - }, - ) + spendStakeTx := createSpendStakeTx(scenario.StakingAmount.MulF64(0.5)) // to spend tx as staker, we need to set the sequence number to be >= stakingTimeBlocks spendStakeTx.TxIn[0].Sequence = uint32(scenario.StakingTime) @@ -248,15 +252,7 @@ func TestSpendingUnbondingPathCovenant35MultiSig(t *testing.T) { require.NoError(t, err) - spendStakeTx := wire.NewMsgTx(2) - spendStakeTx.AddTxIn(wire.NewTxIn(&wire.OutPoint{}, nil, nil)) - spendStakeTx.AddTxOut( - &wire.TxOut{ - PkScript: []byte("doesn't matter"), - // spend half of the staking amount - Value: int64(scenario.StakingAmount.MulF64(0.5)), - }, - ) + spendStakeTx := createSpendStakeTx(scenario.StakingAmount.MulF64(0.5)) si, err := stakingInfo.UnbondingPathSpendInfo() require.NoError(t, err) @@ -326,15 +322,7 @@ func TestSpendingUnbondingPathSingleKeyCovenant(t *testing.T) { require.NoError(t, err) - spendStakeTx := wire.NewMsgTx(2) - spendStakeTx.AddTxIn(wire.NewTxIn(&wire.OutPoint{}, nil, nil)) - spendStakeTx.AddTxOut( - &wire.TxOut{ - PkScript: []byte("doesn't matter"), - // spend half of the staking amount - Value: int64(scenario.StakingAmount.MulF64(0.5)), - }, - ) + spendStakeTx := createSpendStakeTx(scenario.StakingAmount.MulF64(0.5)) si, err := stakingInfo.UnbondingPathSpendInfo() require.NoError(t, err) @@ -398,15 +386,7 @@ func TestSpendingSlashingPathCovenant35MultiSig(t *testing.T) { require.NoError(t, err) - spendStakeTx := wire.NewMsgTx(2) - spendStakeTx.AddTxIn(wire.NewTxIn(&wire.OutPoint{}, nil, nil)) - spendStakeTx.AddTxOut( - &wire.TxOut{ - PkScript: []byte("doesn't matter"), - // spend half of the staking amount - Value: int64(scenario.StakingAmount.MulF64(0.5)), - }, - ) + spendStakeTx := createSpendStakeTx(scenario.StakingAmount.MulF64(0.5)) si, err := stakingInfo.SlashingPathSpendInfo() require.NoError(t, err) @@ -484,15 +464,7 @@ func TestSpendingSlashingPathCovenant35MultiSigFinalityProviderRestaking(t *test require.NoError(t, err) - spendStakeTx := wire.NewMsgTx(2) - spendStakeTx.AddTxIn(wire.NewTxIn(&wire.OutPoint{}, nil, nil)) - spendStakeTx.AddTxOut( - &wire.TxOut{ - PkScript: []byte("doesn't matter"), - // spend half of the staking amount - Value: int64(scenario.StakingAmount.MulF64(0.5)), - }, - ) + spendStakeTx := createSpendStakeTx(scenario.StakingAmount.MulF64(0.5)) si, err := stakingInfo.SlashingPathSpendInfo() require.NoError(t, err) @@ -553,15 +525,7 @@ func TestSpendingRelativeTimeLockScript(t *testing.T) { lockedAmount := btcutil.Amount(2 * 10e8) // to spend output with relative timelock transaction need to be version two or higher - spendStakeTx := wire.NewMsgTx(2) - spendStakeTx.AddTxIn(wire.NewTxIn(&wire.OutPoint{}, nil, nil)) - spendStakeTx.AddTxOut( - &wire.TxOut{ - PkScript: []byte("doesn't matter"), - // spend half of the staking amount - Value: int64(lockedAmount.MulF64(0.5)), - }, - ) + spendStakeTx := createSpendStakeTx(lockedAmount.MulF64(0.5)) tls, err := btcstaking.BuildRelativeTimelockTaprootScript( stakerPubKey, From 57800f8d2edca52c33eb6d1d7c46e5a2bbdc19f3 Mon Sep 17 00:00:00 2001 From: Stan Zhang <32720167+jz448@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:27:31 +0800 Subject: [PATCH 05/21] Fix a typo in docs/run-node.md (#711) --- docs/run-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/run-node.md b/docs/run-node.md index b6b2f2a4b..e92eb4363 100644 --- a/docs/run-node.md +++ b/docs/run-node.md @@ -82,7 +82,7 @@ babylond --home .testnet/node{i}/babylond/ --chain-id \ query ``` -For example, in order to get the hashes maintained by the `btcligthclient` +For example, in order to get the hashes maintained by the `btclightclient` module: ```console From b3c5196f6f747b627809f678a3d9f1c62a3f7cd3 Mon Sep 17 00:00:00 2001 From: Abdullah Eryuzlu <24809834+aeryz@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:16:26 +0300 Subject: [PATCH 06/21] Add `08-wasm` clients module (#695) * feat: add 08-wasm clients support Signed-off-by: aeryz * chore: bump ibc-go to v8.3.0 Signed-off-by: aeryz --------- Signed-off-by: aeryz --- app/app.go | 57 +++++++++++++++++++++++++++++++++++++++++++++++------- go.mod | 9 +++++---- go.sum | 14 ++++++++------ 3 files changed, 63 insertions(+), 17 deletions(-) diff --git a/app/app.go b/app/app.go index d83795c73..7dc8e63d8 100644 --- a/app/app.go +++ b/app/app.go @@ -102,6 +102,9 @@ import ( "github.com/cosmos/ibc-go/modules/capability" capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" + ibcwasm "github.com/cosmos/ibc-go/modules/light-clients/08-wasm" + ibcwasmkeeper "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/keeper" + ibcwasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/types" ibcfee "github.com/cosmos/ibc-go/v8/modules/apps/29-fee" ibcfeekeeper "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/keeper" ibcfeetypes "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types" @@ -166,12 +169,6 @@ const ( ) var ( - // TODO review possible capabilities - // The last arguments can contain custom message handlers, and custom query handlers, - // if we want to allow any custom callbacks - // See https://github.com/CosmWasm/cosmwasm/blob/main/docs/CAPABILITIES-BUILT-IN.md - wasmCapabilities = []string{"iterator", "stargate", "cosmwasm_1_1", "cosmwasm_1_2", "staking", "babylon"} - // DefaultNodeHome default home directories for the application daemon DefaultNodeHome string // fee collector account, module accounts and their permissions @@ -246,6 +243,7 @@ type BabylonApp struct { IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly IBCFeeKeeper ibcfeekeeper.Keeper // for relayer incentivization - https://github.com/cosmos/ibc/tree/main/spec/app/ics-029-fee-payment TransferKeeper ibctransferkeeper.Keeper // for cross-chain fungible token transfers + IBCWasmKeeper ibcwasmkeeper.Keeper // for IBC wasm light clients ZoneConciergeKeeper zckeeper.Keeper // for cross-chain fungible token transfers // BTC staking related modules @@ -327,6 +325,7 @@ func NewBabylonApp( ibcexported.StoreKey, ibctransfertypes.StoreKey, ibcfeetypes.StoreKey, + ibcwasmtypes.StoreKey, zctypes.StoreKey, // BTC staking related modules btcstakingtypes.StoreKey, @@ -734,11 +733,27 @@ func NewBabylonApp( app.GRPCQueryRouter(), homePath, wasmConfig, - wasmCapabilities, + WasmCapabilities(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), wasmOpts..., ) + ibcWasmConfig := + ibcwasmtypes.WasmConfig{ + DataDir: filepath.Join(homePath, "ibc_08-wasm"), + SupportedCapabilities: WasmCapabilities(), + ContractDebugMode: false, + } + + app.IBCWasmKeeper = ibcwasmkeeper.NewKeeperWithConfig( + appCodec, + runtime.NewKVStoreService(keys[ibcwasmtypes.StoreKey]), + app.IBCKeeper.ClientKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ibcWasmConfig, + app.GRPCQueryRouter(), + ) + // Set legacy router for backwards compatibility with gov v1beta1 app.GovKeeper.SetLegacyRouter(govRouter) @@ -803,6 +818,7 @@ func NewBabylonApp( transfer.NewAppModule(app.TransferKeeper), ibcfee.NewAppModule(app.IBCFeeKeeper), ibctm.AppModule{}, + ibcwasm.NewAppModule(app.IBCWasmKeeper), // Babylon modules - btc timestamping epoching.NewAppModule(appCodec, app.EpochingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper), btclightclient.NewAppModule(appCodec, app.BTCLightClientKeeper), @@ -862,6 +878,7 @@ func NewBabylonApp( monitortypes.ModuleName, // IBC-related modules ibcexported.ModuleName, + ibcwasmtypes.ModuleName, ibctransfertypes.ModuleName, zctypes.ModuleName, ibcfeetypes.ModuleName, @@ -890,6 +907,7 @@ func NewBabylonApp( monitortypes.ModuleName, // IBC-related modules ibcexported.ModuleName, + ibcwasmtypes.ModuleName, ibctransfertypes.ModuleName, zctypes.ModuleName, ibcfeetypes.ModuleName, @@ -922,6 +940,7 @@ func NewBabylonApp( monitortypes.ModuleName, // IBC-related modules ibcexported.ModuleName, + ibcwasmtypes.ModuleName, ibctransfertypes.ModuleName, zctypes.ModuleName, ibcfeetypes.ModuleName, @@ -1028,6 +1047,13 @@ func NewBabylonApp( if err != nil { panic(fmt.Errorf("failed to register snapshot extension: %s", err)) } + + err = manager.RegisterExtensions( + ibcwasmkeeper.NewWasmSnapshotter(app.CommitMultiStore(), &app.IBCWasmKeeper), + ) + if err != nil { + panic(fmt.Errorf("failed to register snapshot extension: %s", err)) + } } app.ScopedIBCKeeper = scopedIBCKeeper @@ -1296,3 +1322,20 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino return paramsKeeper } + +// Capabilities of the IBC wasm contracts +func WasmCapabilities() []string { + // The last arguments can contain custom message handlers, and custom query handlers, + // if we want to allow any custom callbacks + return []string{ + "iterator", + "staking", + "stargate", + "cosmwasm_1_1", + "cosmwasm_1_2", + "cosmwasm_1_3", + "cosmwasm_1_4", + "cosmwasm_2_0", + "babylon", + } +} diff --git a/go.mod b/go.mod index 978f302be..30fd3ecc6 100644 --- a/go.mod +++ b/go.mod @@ -5,9 +5,10 @@ module github.com/babylonchain/babylon require ( github.com/CosmWasm/wasmd v0.51.0 github.com/btcsuite/btcd v0.24.2 - github.com/cometbft/cometbft v0.38.6 + github.com/cometbft/cometbft v0.38.7 github.com/cometbft/cometbft-db v0.9.1 // indirect github.com/cosmos/cosmos-sdk v0.50.6 + github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead github.com/cosmos/relayer/v2 v2.5.1 github.com/gorilla/mux v1.8.1 github.com/grpc-ecosystem/grpc-gateway v1.16.0 @@ -38,7 +39,7 @@ require ( cosmossdk.io/x/feegrant v0.1.0 cosmossdk.io/x/tx v0.13.3 cosmossdk.io/x/upgrade v0.1.1 - github.com/CosmWasm/wasmvm/v2 v2.0.0 + github.com/CosmWasm/wasmvm/v2 v2.0.1 github.com/avast/retry-go/v4 v4.5.1 github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d github.com/btcsuite/btcd/btcec/v2 v2.3.2 @@ -48,7 +49,7 @@ require ( github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/gogoproto v1.4.12 github.com/cosmos/ibc-go/modules/capability v1.0.0 - github.com/cosmos/ibc-go/v8 v8.0.0 + github.com/cosmos/ibc-go/v8 v8.3.0 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 github.com/docker/docker v23.0.8+incompatible github.com/golang/mock v1.6.0 @@ -60,6 +61,7 @@ require ( github.com/ory/dockertest/v3 v3.9.1 github.com/vulpine-io/io-test v1.0.0 go.uber.org/zap v1.26.0 + golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de ) @@ -242,7 +244,6 @@ require ( go.opentelemetry.io/otel/metric v1.22.0 // indirect go.opentelemetry.io/otel/trace v1.22.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect golang.org/x/mod v0.17.0 // indirect golang.org/x/net v0.24.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect diff --git a/go.sum b/go.sum index aac30481a..8dfff70fa 100644 --- a/go.sum +++ b/go.sum @@ -227,8 +227,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CosmWasm/wasmd v0.51.0 h1:3A2o20RrdF7P1D3Xb+R7A/pHbbHWsYCDXrHLa7S0SC8= github.com/CosmWasm/wasmd v0.51.0/go.mod h1:7TSaj5HoolghujuVWeExqmcUKgpcYWEySGLSODbnnwY= -github.com/CosmWasm/wasmvm/v2 v2.0.0 h1:IqNCI2G0mvs7K6ej17/I28805rVqnu+Y1cWDqIdwb08= -github.com/CosmWasm/wasmvm/v2 v2.0.0/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= +github.com/CosmWasm/wasmvm/v2 v2.0.1 h1:0YCQ7MKGNri7NFeRp75erPJXrqyCtH4gdc9jMstyMzk= +github.com/CosmWasm/wasmvm/v2 v2.0.1/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -378,8 +378,8 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.6 h1:QSgpCzrGWJ2KUq1qpw+FCfASRpE27T6LQbfEHscdyOk= -github.com/cometbft/cometbft v0.38.6/go.mod h1:8rSPxzUJYquCN8uuBgbUHOMg2KAwvr7CyUw+6ukO4nw= +github.com/cometbft/cometbft v0.38.7 h1:ULhIOJ9+LgSy6nLekhq9ae3juX3NnQUMMPyVdhZV6Hk= +github.com/cometbft/cometbft v0.38.7/go.mod h1:HIyf811dFMI73IE0F7RrnY/Fr+d1+HuJAgtkEpQjCMY= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/consensys/bavard v0.1.13 h1:oLhMLOFGTLdlda/kma4VOJazblc7IM5y5QPd2A/YjhQ= @@ -415,8 +415,10 @@ github.com/cosmos/iavl v1.1.2 h1:zL9FK7C4L/P4IF1Dm5fIwz0WXCnn7Bp1M2FxH0ayM7Y= github.com/cosmos/iavl v1.1.2/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= -github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= -github.com/cosmos/ibc-go/v8 v8.0.0/go.mod h1:C6IiJom0F3cIQCD5fKwVPDrDK9j/xTu563AWuOmXois= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead h1:QB50+AmrEVqFr2hzvIxMkICziWQ/uuebze0vNYKMnBg= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead/go.mod h1:AJeroAXnPKeFpD1AfEfjYBHGEWt5gBfzUjgs4SYn2ZY= +github.com/cosmos/ibc-go/v8 v8.3.0 h1:fdW2S7NjZYFhSwmCaFjjyDv80kI1ePOJDQmco4qrnD0= +github.com/cosmos/ibc-go/v8 v8.3.0/go.mod h1:izwHZvn9lKrBn8xWj0aXWut6HKcwHMPD3uyuvOJoPSA= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= From ab5129460681b4682f44ef66bdc764ba7060f7ff Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 16 Jul 2024 13:52:04 +0800 Subject: [PATCH 07/21] feat(gov): software upgrade governance proposal support (#705) * refactor: moving keepers to a new struct (#697) * upgrade: framework for writing software upgrade migration function (#703) * fix: execute `PreBlocker` for upgrade module (#707) * docstring for vanilla upgrade --- app/app.go | 750 +++++--------------------- app/export.go | 2 +- app/keepers/keepers.go | 630 ++++++++++++++++++++++ app/keepers/keys.go | 48 ++ app/{ => keepers}/utils.go | 2 +- app/test_helpers.go | 13 +- app/upgrades/README.md | 43 ++ app/upgrades/types.go | 48 ++ app/upgrades/vanilla/README.md | 4 + app/upgrades/vanilla/upgrades.go | 64 +++ app/upgrades/vanilla/upgrades_test.go | 105 ++++ cmd/babylond/cmd/root.go | 5 +- cmd/babylond/cmd/testnet.go | 4 +- test/e2e/initialization/init.go | 4 +- testutil/datagen/genesiskey.go | 12 +- testutil/helper/helper.go | 12 +- x/checkpointing/module.go | 3 +- x/checkpointing/proposal.go | 7 +- 18 files changed, 1096 insertions(+), 660 deletions(-) create mode 100644 app/keepers/keepers.go create mode 100644 app/keepers/keys.go rename app/{ => keepers}/utils.go (99%) create mode 100644 app/upgrades/README.md create mode 100644 app/upgrades/types.go create mode 100644 app/upgrades/vanilla/README.md create mode 100644 app/upgrades/vanilla/upgrades.go create mode 100644 app/upgrades/vanilla/upgrades_test.go diff --git a/app/app.go b/app/app.go index 7dc8e63d8..f6b806fe2 100644 --- a/app/app.go +++ b/app/app.go @@ -11,25 +11,21 @@ import ( reflectionv1 "cosmossdk.io/api/cosmos/reflection/v1" "cosmossdk.io/client/v2/autocli" "cosmossdk.io/core/appmodule" - errorsmod "cosmossdk.io/errors" "cosmossdk.io/log" - storetypes "cosmossdk.io/store/types" "cosmossdk.io/x/circuit" - circuitkeeper "cosmossdk.io/x/circuit/keeper" circuittypes "cosmossdk.io/x/circuit/types" "cosmossdk.io/x/evidence" - evidencekeeper "cosmossdk.io/x/evidence/keeper" evidencetypes "cosmossdk.io/x/evidence/types" "cosmossdk.io/x/feegrant" - feegrantkeeper "cosmossdk.io/x/feegrant/keeper" feegrantmodule "cosmossdk.io/x/feegrant/module" "cosmossdk.io/x/upgrade" - upgradekeeper "cosmossdk.io/x/upgrade/keeper" upgradetypes "cosmossdk.io/x/upgrade/types" wasmapp "github.com/CosmWasm/wasmd/app" "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + "github.com/babylonchain/babylon/app/upgrades" + bbn "github.com/babylonchain/babylon/types" abci "github.com/cometbft/cometbft/abci/types" cmtos "github.com/cometbft/cometbft/libs/os" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" @@ -49,102 +45,75 @@ import ( "github.com/cosmos/cosmos-sdk/std" "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/types/msgservice" "github.com/cosmos/cosmos-sdk/version" "github.com/cosmos/cosmos-sdk/x/auth" "github.com/cosmos/cosmos-sdk/x/auth/ante" authcodec "github.com/cosmos/cosmos-sdk/x/auth/codec" - authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/auth/vesting" vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/cosmos/cosmos-sdk/x/authz" - authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module" "github.com/cosmos/cosmos-sdk/x/bank" - bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/consensus" - consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" "github.com/cosmos/cosmos-sdk/x/crisis" - crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" distr "github.com/cosmos/cosmos-sdk/x/distribution" - distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/cosmos/cosmos-sdk/x/genutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" "github.com/cosmos/cosmos-sdk/x/gov" govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" "github.com/cosmos/cosmos-sdk/x/mint" - mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/cosmos/cosmos-sdk/x/params" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" "github.com/cosmos/cosmos-sdk/x/slashing" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" "github.com/cosmos/cosmos-sdk/x/staking" - stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/gogoproto/proto" "github.com/cosmos/ibc-go/modules/capability" - capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" ibcwasm "github.com/cosmos/ibc-go/modules/light-clients/08-wasm" ibcwasmkeeper "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/keeper" ibcwasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/types" ibcfee "github.com/cosmos/ibc-go/v8/modules/apps/29-fee" - ibcfeekeeper "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/keeper" ibcfeetypes "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types" "github.com/cosmos/ibc-go/v8/modules/apps/transfer" - ibctransferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper" ibctransfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" - ibc "github.com/cosmos/ibc-go/v8/modules/core" - porttypes "github.com/cosmos/ibc-go/v8/modules/core/05-port/types" // ibc module puts types under `ibchost` rather than `ibctypes` + ibc "github.com/cosmos/ibc-go/v8/modules/core" // ibc module puts types under `ibchost` rather than `ibctypes` ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" - ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" "github.com/spf13/cast" + appkeepers "github.com/babylonchain/babylon/app/keepers" appparams "github.com/babylonchain/babylon/app/params" "github.com/babylonchain/babylon/client/docs" - bbn "github.com/babylonchain/babylon/types" - owasm "github.com/babylonchain/babylon/wasmbinding" "github.com/babylonchain/babylon/x/btccheckpoint" - btccheckpointkeeper "github.com/babylonchain/babylon/x/btccheckpoint/keeper" btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" "github.com/babylonchain/babylon/x/btclightclient" - btclightclientkeeper "github.com/babylonchain/babylon/x/btclightclient/keeper" btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" "github.com/babylonchain/babylon/x/btcstaking" - btcstakingkeeper "github.com/babylonchain/babylon/x/btcstaking/keeper" btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" "github.com/babylonchain/babylon/x/checkpointing" - checkpointingkeeper "github.com/babylonchain/babylon/x/checkpointing/keeper" checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" "github.com/babylonchain/babylon/x/epoching" epochingkeeper "github.com/babylonchain/babylon/x/epoching/keeper" epochingtypes "github.com/babylonchain/babylon/x/epoching/types" "github.com/babylonchain/babylon/x/finality" - finalitykeeper "github.com/babylonchain/babylon/x/finality/keeper" finalitytypes "github.com/babylonchain/babylon/x/finality/types" "github.com/babylonchain/babylon/x/incentive" - incentivekeeper "github.com/babylonchain/babylon/x/incentive/keeper" incentivetypes "github.com/babylonchain/babylon/x/incentive/types" "github.com/babylonchain/babylon/x/monitor" - monitorkeeper "github.com/babylonchain/babylon/x/monitor/keeper" monitortypes "github.com/babylonchain/babylon/x/monitor/types" "github.com/babylonchain/babylon/x/zoneconcierge" zckeeper "github.com/babylonchain/babylon/x/zoneconcierge/keeper" @@ -169,6 +138,9 @@ const ( ) var ( + // EmptyWasmOpts defines a type alias for a list of wasm options. + EmptyWasmOpts []wasmkeeper.Option + // DefaultNodeHome default home directories for the application daemon DefaultNodeHome string // fee collector account, module accounts and their permissions @@ -183,14 +155,22 @@ var ( ibcfeetypes.ModuleName: nil, incentivetypes.ModuleName: nil, // this line is needed to create an account for incentive module } -) -// Wasm related variables -var ( - // EmptyWasmOpts defines a type alias for a list of wasm options. - EmptyWasmOpts []wasmkeeper.Option + // software upgrades and forks + Upgrades = []upgrades.Upgrade{} + Forks = []upgrades.Fork{} ) +func init() { + // Note: If this changes, the home directory under x/checkpointing/client/cli/tx.go needs to change as well + userHomeDir, err := os.UserHomeDir() + if err != nil { + panic(err) + } + + DefaultNodeHome = filepath.Join(userHomeDir, ".babylond") +} + var ( _ runtime.AppI = (*BabylonApp)(nil) _ servertypes.Application = (*BabylonApp)(nil) @@ -201,66 +181,14 @@ var ( // capabilities aren't needed for testing. type BabylonApp struct { *baseapp.BaseApp + *appkeepers.AppKeepers + legacyAmino *codec.LegacyAmino appCodec codec.Codec txConfig client.TxConfig interfaceRegistry types.InterfaceRegistry - - invCheckPeriod uint - - // keys to access the substores - keys map[string]*storetypes.KVStoreKey - tkeys map[string]*storetypes.TransientStoreKey - memKeys map[string]*storetypes.MemoryStoreKey - - // keepers - AccountKeeper authkeeper.AccountKeeper - BankKeeper bankkeeper.Keeper - CapabilityKeeper *capabilitykeeper.Keeper - StakingKeeper *stakingkeeper.Keeper - SlashingKeeper slashingkeeper.Keeper - MintKeeper mintkeeper.Keeper - DistrKeeper distrkeeper.Keeper - GovKeeper govkeeper.Keeper - CrisisKeeper *crisiskeeper.Keeper - UpgradeKeeper *upgradekeeper.Keeper - ParamsKeeper paramskeeper.Keeper - AuthzKeeper authzkeeper.Keeper - EvidenceKeeper evidencekeeper.Keeper - FeeGrantKeeper feegrantkeeper.Keeper - ConsensusParamsKeeper consensusparamkeeper.Keeper - CircuitKeeper circuitkeeper.Keeper - - // Babylon modules - EpochingKeeper epochingkeeper.Keeper - BTCLightClientKeeper btclightclientkeeper.Keeper - BtcCheckpointKeeper btccheckpointkeeper.Keeper - CheckpointingKeeper checkpointingkeeper.Keeper - MonitorKeeper monitorkeeper.Keeper - - // IBC-related modules - IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly - IBCFeeKeeper ibcfeekeeper.Keeper // for relayer incentivization - https://github.com/cosmos/ibc/tree/main/spec/app/ics-029-fee-payment - TransferKeeper ibctransferkeeper.Keeper // for cross-chain fungible token transfers - IBCWasmKeeper ibcwasmkeeper.Keeper // for IBC wasm light clients - ZoneConciergeKeeper zckeeper.Keeper // for cross-chain fungible token transfers - - // BTC staking related modules - BTCStakingKeeper btcstakingkeeper.Keeper - FinalityKeeper finalitykeeper.Keeper - - // wasm smart contract module - WasmKeeper wasmkeeper.Keeper - - // tokenomics-related modules - IncentiveKeeper incentivekeeper.Keeper - - // make scoped keepers public for test purposes - ScopedIBCKeeper capabilitykeeper.ScopedKeeper - ScopedTransferKeeper capabilitykeeper.ScopedKeeper - ScopedZoneConciergeKeeper capabilitykeeper.ScopedKeeper - ScopedWasmKeeper capabilitykeeper.ScopedKeeper + invCheckPeriod uint // the module manager ModuleManager *module.Manager @@ -273,20 +201,15 @@ type BabylonApp struct { configurator module.Configurator } -func init() { - // Note: If this changes, the home directory under x/checkpointing/client/cli/tx.go needs to change as well - userHomeDir, err := os.UserHomeDir() - if err != nil { - panic(err) - } - - DefaultNodeHome = filepath.Join(userHomeDir, ".babylond") -} - // NewBabylonApp returns a reference to an initialized BabylonApp. func NewBabylonApp( - logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, skipUpgradeHeights map[int64]bool, - invCheckPeriod uint, privSigner *PrivSigner, + logger log.Logger, + db dbm.DB, + traceStore io.Writer, + loadLatest bool, + skipUpgradeHeights map[int64]bool, + invCheckPeriod uint, + privSigner *appkeepers.PrivSigner, appOpts servertypes.AppOptions, wasmOpts []wasmkeeper.Option, baseAppOptions ...func(*baseapp.BaseApp), @@ -294,8 +217,6 @@ func NewBabylonApp( // we could also take it from global object which should be initialised in rootCmd // but this way it makes babylon app more testable btcConfig := bbn.ParseBtcOptionsFromConfig(appOpts) - powLimit := btcConfig.PowLimit() - btcNetParams := btcConfig.NetParams() homePath := cast.ToString(appOpts.Get(flags.FlagHome)) if homePath == "" { homePath = DefaultNodeHome @@ -309,477 +230,44 @@ func NewBabylonApp( std.RegisterLegacyAminoCodec(legacyAmino) std.RegisterInterfaces(interfaceRegistry) - keys := storetypes.NewKVStoreKeys( - authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey, crisistypes.StoreKey, - minttypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey, - govtypes.StoreKey, paramstypes.StoreKey, consensusparamtypes.StoreKey, upgradetypes.StoreKey, feegrant.StoreKey, - evidencetypes.StoreKey, circuittypes.StoreKey, capabilitytypes.StoreKey, - authzkeeper.StoreKey, - // Babylon modules - epochingtypes.StoreKey, - btclightclienttypes.StoreKey, - btccheckpointtypes.StoreKey, - checkpointingtypes.StoreKey, - monitortypes.StoreKey, - // IBC-related modules - ibcexported.StoreKey, - ibctransfertypes.StoreKey, - ibcfeetypes.StoreKey, - ibcwasmtypes.StoreKey, - zctypes.StoreKey, - // BTC staking related modules - btcstakingtypes.StoreKey, - finalitytypes.StoreKey, - // WASM - wasmtypes.StoreKey, - // tokenomics-related modules - incentivetypes.StoreKey, - ) - accountKeeper := authkeeper.NewAccountKeeper( - appCodec, - runtime.NewKVStoreService(keys[authtypes.StoreKey]), - authtypes.ProtoBaseAccount, - maccPerms, - authcodec.NewBech32Codec(appparams.Bech32PrefixAccAddr), - appparams.Bech32PrefixAccAddr, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - bankKeeper := bankkeeper.NewBaseKeeper( - appCodec, - runtime.NewKVStoreService(keys[banktypes.StoreKey]), - accountKeeper, - BlockedAddresses(), - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - logger, - ) - - stakingKeeper := stakingkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[stakingtypes.StoreKey]), - accountKeeper, - bankKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - authcodec.NewBech32Codec(appparams.Bech32PrefixValAddr), - authcodec.NewBech32Codec(appparams.Bech32PrefixConsAddr), - ) - - // NOTE: the epoching module has to be set before the chekpointing module, as the checkpointing module will have access to the epoching module - epochingKeeper := epochingkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[epochingtypes.StoreKey]), - bankKeeper, - stakingKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - checkpointingKeeper := checkpointingkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[checkpointingtypes.StoreKey]), - privSigner.WrappedPV, - epochingKeeper, - ) - - // set proposal extension - prepareOpt := func(bApp *baseapp.BaseApp) { - proposalHandler := checkpointing.NewProposalHandler( - logger, &checkpointingKeeper, bApp.Mempool(), bApp) - proposalHandler.SetHandlers(bApp) - } - baseAppOptions = append(baseAppOptions, prepareOpt) - - // set vote extension - voteExtOp := func(bApp *baseapp.BaseApp) { - voteExtHandler := checkpointing.NewVoteExtensionHandler(logger, &checkpointingKeeper) - voteExtHandler.SetHandlers(bApp) - } - baseAppOptions = append(baseAppOptions, voteExtOp) - bApp := baseapp.NewBaseApp(appName, logger, db, txConfig.TxDecoder(), baseAppOptions...) bApp.SetCommitMultiStoreTracer(traceStore) bApp.SetVersion(version.Version) bApp.SetInterfaceRegistry(interfaceRegistry) bApp.SetTxEncoder(txConfig.TxEncoder()) - tkeys := storetypes.NewTransientStoreKeys( - paramstypes.TStoreKey, btccheckpointtypes.TStoreKey) - // NOTE: The testingkey is just mounted for testing purposes. Actual applications should - // not include this key. - memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey, "testingkey") - - // register streaming services - if err := bApp.RegisterStreamingServices(appOpts, keys); err != nil { - panic(err) + wasmConfig, err := wasm.ReadWasmConfig(appOpts) + if err != nil { + panic(fmt.Sprintf("error while reading wasm config: %s", err)) } app := &BabylonApp{ + AppKeepers: &appkeepers.AppKeepers{}, BaseApp: bApp, legacyAmino: legacyAmino, appCodec: appCodec, txConfig: txConfig, interfaceRegistry: interfaceRegistry, invCheckPeriod: invCheckPeriod, - keys: keys, - tkeys: tkeys, - memKeys: memKeys, } - app.ParamsKeeper = initParamsKeeper( - appCodec, - legacyAmino, - keys[paramstypes.StoreKey], - tkeys[paramstypes.TStoreKey], - ) - - app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[consensusparamtypes.StoreKey]), - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - runtime.EventService{}, - ) - bApp.SetParamStore(app.ConsensusParamsKeeper.ParamsStore) - - app.CapabilityKeeper = capabilitykeeper.NewKeeper( - appCodec, - keys[capabilitytypes.StoreKey], - memKeys[capabilitytypes.MemStoreKey], - ) - - // grant capabilities for the ibc and ibc-transfer modules - scopedIBCKeeper := app.CapabilityKeeper.ScopeToModule(ibcexported.ModuleName) - scopedTransferKeeper := app.CapabilityKeeper.ScopeToModule(ibctransfertypes.ModuleName) - scopedZoneConciergeKeeper := app.CapabilityKeeper.ScopeToModule(zctypes.ModuleName) - scopedWasmKeeper := app.CapabilityKeeper.ScopeToModule(wasmtypes.ModuleName) - - // Applications that wish to enforce statically created ScopedKeepers should call `Seal` after creating - // their scoped modules in `NewApp` with `ScopeToModule` - app.CapabilityKeeper.Seal() - - // add keepers - app.AccountKeeper = accountKeeper - - app.BankKeeper = bankKeeper - - app.StakingKeeper = stakingKeeper - - app.CircuitKeeper = circuitkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[circuittypes.StoreKey]), - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - app.AccountKeeper.AddressCodec(), - ) - app.BaseApp.SetCircuitBreaker(&app.CircuitKeeper) - - app.MintKeeper = mintkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[minttypes.StoreKey]), - app.StakingKeeper, - app.AccountKeeper, - app.BankKeeper, - authtypes.FeeCollectorName, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - app.DistrKeeper = distrkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[distrtypes.StoreKey]), - app.AccountKeeper, - app.BankKeeper, - app.StakingKeeper, - authtypes.FeeCollectorName, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - // set up incentive keeper - app.IncentiveKeeper = incentivekeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[incentivetypes.StoreKey]), - app.BankKeeper, - app.AccountKeeper, - &epochingKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - authtypes.FeeCollectorName, - ) - - app.SlashingKeeper = slashingkeeper.NewKeeper( - appCodec, - legacyAmino, - runtime.NewKVStoreService(keys[slashingtypes.StoreKey]), - app.StakingKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - app.CrisisKeeper = crisiskeeper.NewKeeper( + app.AppKeepers.InitKeepers( + logger, appCodec, - runtime.NewKVStoreService(keys[crisistypes.StoreKey]), + &btcConfig, + encCfg, + bApp, + maccPerms, + homePath, invCheckPeriod, - app.BankKeeper, - authtypes.FeeCollectorName, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - app.AccountKeeper.AddressCodec(), - ) - - app.FeeGrantKeeper = feegrantkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[feegrant.StoreKey]), - app.AccountKeeper, - ) - // register the staking hooks - // NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks - app.StakingKeeper.SetHooks( - stakingtypes.NewMultiStakingHooks(app.DistrKeeper.Hooks(), app.SlashingKeeper.Hooks(), epochingKeeper.Hooks()), - ) - - // set the governance module account as the authority for conducting upgrades - app.UpgradeKeeper = upgradekeeper.NewKeeper( skipUpgradeHeights, - runtime.NewKVStoreService(keys[upgradetypes.StoreKey]), - appCodec, - homePath, - app.BaseApp, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - app.AuthzKeeper = authzkeeper.NewKeeper( - runtime.NewKVStoreService(keys[authzkeeper.StoreKey]), - appCodec, - app.MsgServiceRouter(), - app.AccountKeeper, - ) - - app.IBCKeeper = ibckeeper.NewKeeper( - appCodec, - keys[ibcexported.StoreKey], - app.GetSubspace(ibcexported.ModuleName), - app.StakingKeeper, - app.UpgradeKeeper, - scopedIBCKeeper, - // From 8.0.0 the IBC keeper requires an authority for the messages - // `MsgIBCSoftwareUpgrade` and `MsgRecoverClient` - // https://github.com/cosmos/ibc-go/releases/tag/v8.0.0 - // Gov is the proper authority for those types of messages - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - // register the proposal types - // Deprecated: Avoid adding new handlers, instead use the new proposal flow - // by granting the governance module the right to execute the message. - // See: https://github.com/cosmos/cosmos-sdk/blob/release/v0.46.x/x/gov/spec/01_concepts.md#proposal-messages - // TODO: investigate how to migrate to new proposal flow - govRouter := govv1beta1.NewRouter() - govRouter.AddRoute(govtypes.RouterKey, govv1beta1.ProposalHandler). - AddRoute(paramproposal.RouterKey, params.NewParamChangeProposalHandler(app.ParamsKeeper)) - - // TODO: this should be a function parameter - govConfig := govtypes.DefaultConfig() - /* - Example of setting gov params: - govConfig.MaxMetadataLen = 10000 - */ - govKeeper := govkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[govtypes.StoreKey]), - app.AccountKeeper, - app.BankKeeper, - app.StakingKeeper, - app.DistrKeeper, - app.MsgServiceRouter(), - govConfig, - authtypes.NewModuleAddress(govtypes.ModuleName).String()) - - app.GovKeeper = *govKeeper.SetHooks( - govtypes.NewMultiGovHooks( - // register the governance hooks - ), - ) - - btclightclientKeeper := btclightclientkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[btclightclienttypes.StoreKey]), - btcConfig, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - btcCheckpointKeeper := btccheckpointkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[btccheckpointtypes.StoreKey]), - tkeys[btccheckpointtypes.TStoreKey], - &btclightclientKeeper, - &checkpointingKeeper, - &app.IncentiveKeeper, - &powLimit, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - // create querier for KVStore - storeQuerier, ok := app.CommitMultiStore().(storetypes.Queryable) - if !ok { - panic(errorsmod.Wrap(sdkerrors.ErrUnknownRequest, "multistore doesn't support queries")) - } - - app.IBCFeeKeeper = ibcfeekeeper.NewKeeper( - appCodec, keys[ibcfeetypes.StoreKey], - app.IBCKeeper.ChannelKeeper, // may be replaced with IBC middleware - app.IBCKeeper.ChannelKeeper, - app.IBCKeeper.PortKeeper, app.AccountKeeper, app.BankKeeper, - ) - - zcKeeper := zckeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[zctypes.StoreKey]), - app.IBCFeeKeeper, - app.IBCKeeper.ClientKeeper, - app.IBCKeeper.ChannelKeeper, - app.IBCKeeper.PortKeeper, - app.AccountKeeper, - app.BankKeeper, - &btclightclientKeeper, - &checkpointingKeeper, - &btcCheckpointKeeper, - epochingKeeper, - storeQuerier, - scopedZoneConciergeKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - app.ZoneConciergeKeeper = *zcKeeper - - // Create Transfer Keepers - app.TransferKeeper = ibctransferkeeper.NewKeeper( - appCodec, - keys[ibctransfertypes.StoreKey], - app.GetSubspace(ibctransfertypes.ModuleName), - app.IBCFeeKeeper, - app.IBCKeeper.ChannelKeeper, - app.IBCKeeper.PortKeeper, - app.AccountKeeper, - app.BankKeeper, - scopedTransferKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - app.MonitorKeeper = monitorkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[monitortypes.StoreKey]), - &btclightclientKeeper, - ) - - // add msgServiceRouter so that the epoching module can forward unwrapped messages to the staking module - epochingKeeper.SetMsgServiceRouter(app.BaseApp.MsgServiceRouter()) - // make ZoneConcierge and Monitor to subscribe to the epoching's hooks - app.EpochingKeeper = *epochingKeeper.SetHooks( - epochingtypes.NewMultiEpochingHooks(app.ZoneConciergeKeeper.Hooks(), app.MonitorKeeper.Hooks()), - ) - - // set up Checkpointing, BTCCheckpoint, and BTCLightclient keepers - app.CheckpointingKeeper = *checkpointingKeeper.SetHooks( - checkpointingtypes.NewMultiCheckpointingHooks(app.EpochingKeeper.Hooks(), app.ZoneConciergeKeeper.Hooks(), app.MonitorKeeper.Hooks()), - ) - app.BtcCheckpointKeeper = btcCheckpointKeeper - app.BTCLightClientKeeper = *btclightclientKeeper.SetHooks( - btclightclienttypes.NewMultiBTCLightClientHooks(app.BtcCheckpointKeeper.Hooks()), - ) - - // set up BTC staking keeper - app.BTCStakingKeeper = btcstakingkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[btcstakingtypes.StoreKey]), - &btclightclientKeeper, - &btcCheckpointKeeper, - &checkpointingKeeper, - btcNetParams, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - // set up finality keeper - app.FinalityKeeper = finalitykeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[finalitytypes.StoreKey]), - app.BTCStakingKeeper, - app.IncentiveKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - - // create evidence keeper with router - evidenceKeeper := evidencekeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[evidencetypes.StoreKey]), - app.StakingKeeper, - app.SlashingKeeper, - app.AccountKeeper.AddressCodec(), - runtime.ProvideCometInfoService(), - ) - // If evidence needs to be handled for the app, set routes in router here and seal - app.EvidenceKeeper = *evidenceKeeper - - wasmConfig, err := wasm.ReadWasmConfig(appOpts) - if err != nil { - panic(fmt.Sprintf("error while reading wasm config: %s", err)) - } - - wasmOpts = append(owasm.RegisterCustomPlugins(&app.EpochingKeeper, &app.ZoneConciergeKeeper, &app.BTCLightClientKeeper), wasmOpts...) - - app.WasmKeeper = wasmkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[wasmtypes.StoreKey]), - app.AccountKeeper, - app.BankKeeper, - app.StakingKeeper, - distrkeeper.NewQuerier(app.DistrKeeper), - app.IBCFeeKeeper, - app.IBCKeeper.ChannelKeeper, - app.IBCKeeper.PortKeeper, - scopedWasmKeeper, - app.TransferKeeper, - app.MsgServiceRouter(), - app.GRPCQueryRouter(), - homePath, + privSigner, + appOpts, wasmConfig, - WasmCapabilities(), - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - wasmOpts..., - ) - - ibcWasmConfig := - ibcwasmtypes.WasmConfig{ - DataDir: filepath.Join(homePath, "ibc_08-wasm"), - SupportedCapabilities: WasmCapabilities(), - ContractDebugMode: false, - } - - app.IBCWasmKeeper = ibcwasmkeeper.NewKeeperWithConfig( - appCodec, - runtime.NewKVStoreService(keys[ibcwasmtypes.StoreKey]), - app.IBCKeeper.ClientKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ibcWasmConfig, - app.GRPCQueryRouter(), + wasmOpts, + BlockedAddresses(), ) - // Set legacy router for backwards compatibility with gov v1beta1 - app.GovKeeper.SetLegacyRouter(govRouter) - - // Create all supported IBC routes - var transferStack porttypes.IBCModule - transferStack = transfer.NewIBCModule(app.TransferKeeper) - transferStack = ibcfee.NewIBCMiddleware(transferStack, app.IBCFeeKeeper) - - var zoneConciergeStack porttypes.IBCModule - zoneConciergeStack = zoneconcierge.NewIBCModule(app.ZoneConciergeKeeper) - zoneConciergeStack = ibcfee.NewIBCMiddleware(zoneConciergeStack, app.IBCFeeKeeper) - - var wasmStack porttypes.IBCModule - wasmStack = wasm.NewIBCHandler(app.WasmKeeper, app.IBCKeeper.ChannelKeeper, app.IBCFeeKeeper) - wasmStack = ibcfee.NewIBCMiddleware(wasmStack, app.IBCFeeKeeper) - - // Create static IBC router, add ibc-transfer module route, then set and seal it - ibcRouter := porttypes.NewRouter(). - AddRoute(ibctransfertypes.ModuleName, transferStack). - AddRoute(zctypes.ModuleName, zoneConciergeStack). - AddRoute(wasmtypes.ModuleName, wasmStack) - - // Setting Router will finalize all routes by sealing router - // No more routes can be added - app.IBCKeeper.SetRouter(ibcRouter) - /**** Module Options ****/ // NOTE: we may consider parsing `appOpts` inside module constructors. For the moment @@ -959,8 +447,7 @@ func NewBabylonApp( app.ModuleManager.RegisterInvariants(app.CrisisKeeper) app.configurator = module.NewConfigurator(app.appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter()) - err = app.ModuleManager.RegisterServices(app.configurator) - if err != nil { + if err := app.ModuleManager.RegisterServices(app.configurator); err != nil { panic(err) } @@ -987,9 +474,9 @@ func NewBabylonApp( app.sm.RegisterStoreDecoders() // initialize stores - app.MountKVStores(keys) - app.MountTransientStores(tkeys) - app.MountMemoryStores(memKeys) + app.MountKVStores(app.GetKVStoreKeys()) + app.MountTransientStores(app.GetTransientStoreKeys()) + app.MountMemoryStores(app.GetMemoryStoreKeys()) // initialize AnteHandler, which includes // - authAnteHandler @@ -1009,7 +496,7 @@ func NewBabylonApp( }, IBCKeeper: app.IBCKeeper, WasmConfig: &wasmConfig, - TXCounterStoreService: runtime.NewKVStoreService(keys[wasmtypes.StoreKey]), + TXCounterStoreService: runtime.NewKVStoreService(app.AppKeepers.GetKey(wasmtypes.StoreKey)), WasmKeeper: &app.WasmKeeper, CircuitKeeper: &app.CircuitKeeper, }, @@ -1025,8 +512,30 @@ func NewBabylonApp( NewBtcValidationDecorator(btcConfig, &app.BtcCheckpointKeeper), ) - // initialize BaseApp + // set proposal extension + proposalHandler := checkpointing.NewProposalHandler( + logger, &app.CheckpointingKeeper, bApp.Mempool(), bApp) + proposalHandler.SetHandlers(bApp) + + // set vote extension + voteExtHandler := checkpointing.NewVoteExtensionHandler(logger, &app.CheckpointingKeeper) + voteExtHandler.SetHandlers(bApp) + app.SetInitChainer(app.InitChainer) + app.SetPreBlocker(func(ctx sdk.Context, req *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error) { + // execute the existing PreBlocker + res, err := app.PreBlocker(ctx, req) + if err != nil { + return res, err + } + // execute checkpointing module's PreBlocker + // NOTE: this does not change the consensus parameter in `res` + ckptPreBlocker := proposalHandler.PreBlocker() + if _, err := ckptPreBlocker(ctx, req); err != nil { + return res, err + } + return res, nil + }) app.SetBeginBlocker(app.BeginBlocker) app.SetEndBlocker(app.EndBlocker) app.SetAnteHandler(anteHandler) @@ -1056,11 +565,6 @@ func NewBabylonApp( } } - app.ScopedIBCKeeper = scopedIBCKeeper - app.ScopedZoneConciergeKeeper = scopedZoneConciergeKeeper - app.ScopedTransferKeeper = scopedTransferKeeper - app.ScopedWasmKeeper = scopedWasmKeeper - // At startup, after all modules have been registered, check that all proto // annotations are correct. protoFiles, err := proto.MergedRegistry() @@ -1074,6 +578,10 @@ func NewBabylonApp( _, _ = fmt.Fprintln(os.Stderr, err.Error()) } + // set upgrade handler and store loader for supporting software upgrade + app.setupUpgradeHandlers() + app.setupUpgradeStoreLoaders() + if loadLatest { if err := app.LoadLatestVersion(); err != nil { cmtos.Exit(err.Error()) @@ -1104,8 +612,19 @@ func (app *BabylonApp) PreBlocker(ctx sdk.Context, _ *abci.RequestFinalizeBlock) return app.ModuleManager.PreBlock(ctx) } +// BeginBlockForks is intended to be ran in a chain upgrade. +func (app *BabylonApp) BeginBlockForks(ctx sdk.Context) { + for _, fork := range Forks { + if ctx.BlockHeight() == fork.UpgradeHeight { + fork.BeginForkLogic(ctx, app.AppKeepers) + return + } + } +} + // BeginBlocker application updates every begin block func (app *BabylonApp) BeginBlocker(ctx sdk.Context) (sdk.BeginBlock, error) { + app.BeginBlockForks(ctx) return app.ModuleManager.BeginBlock(ctx) } @@ -1182,35 +701,6 @@ func (app *BabylonApp) EncodingConfig() *appparams.EncodingConfig { } } -// GetKey returns the KVStoreKey for the provided store key. -// -// NOTE: This is solely to be used for testing purposes. -func (app *BabylonApp) GetKey(storeKey string) *storetypes.KVStoreKey { - return app.keys[storeKey] -} - -// GetTKey returns the TransientStoreKey for the provided store key. -// -// NOTE: This is solely to be used for testing purposes. -func (app *BabylonApp) GetTKey(storeKey string) *storetypes.TransientStoreKey { - return app.tkeys[storeKey] -} - -// GetMemKey returns the MemStoreKey for the provided mem key. -// -// NOTE: This is solely used for testing purposes. -func (app *BabylonApp) GetMemKey(storeKey string) *storetypes.MemoryStoreKey { - return app.memKeys[storeKey] -} - -// GetSubspace returns a param subspace for a given module name. -// -// NOTE: This is solely to be used for testing purposes. -func (app *BabylonApp) GetSubspace(moduleName string) paramstypes.Subspace { - subspace, _ := app.ParamsKeeper.GetSubspace(moduleName) - return subspace -} - // SimulationManager implements the SimulationApp interface func (app *BabylonApp) SimulationManager() *module.SimulationManager { return app.sm @@ -1287,6 +777,39 @@ func (app *BabylonApp) AutoCliOpts() autocli.AppOptions { } } +// configure store loader that checks if version == upgradeHeight and applies store upgrades +func (app *BabylonApp) setupUpgradeStoreLoaders() { + upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk() + if err != nil { + panic(fmt.Sprintf("failed to read upgrade info from disk %s", err)) + } + + if app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { + return + } + + for _, upgrade := range Upgrades { + if upgradeInfo.Name == upgrade.UpgradeName { + storeUpgrades := upgrade.StoreUpgrades + app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades)) + } + } +} + +func (app *BabylonApp) setupUpgradeHandlers() { + for _, upgrade := range Upgrades { + app.UpgradeKeeper.SetUpgradeHandler( + upgrade.UpgradeName, + upgrade.CreateUpgradeHandler( + app.ModuleManager, + app.configurator, + app.BaseApp, + app.AppKeepers, + ), + ) + } +} + // GetMaccPerms returns a copy of the module account permissions func GetMaccPerms() map[string][]string { dupMaccPerms := make(map[string][]string) @@ -1308,34 +831,3 @@ func BlockedAddresses() map[string]bool { return modAccAddrs } - -// initParamsKeeper init params keeper and its subspaces -func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey storetypes.StoreKey) paramskeeper.Keeper { - paramsKeeper := paramskeeper.NewKeeper(appCodec, legacyAmino, key, tkey) - - // TODO: Only modules which did not migrate yet to new way of hanldling params - // are the IBC-related modules. Once they are migrated, we can remove this and - // whole usage of params module - paramsKeeper.Subspace(ibcexported.ModuleName) - paramsKeeper.Subspace(ibctransfertypes.ModuleName) - paramsKeeper.Subspace(zctypes.ModuleName) - - return paramsKeeper -} - -// Capabilities of the IBC wasm contracts -func WasmCapabilities() []string { - // The last arguments can contain custom message handlers, and custom query handlers, - // if we want to allow any custom callbacks - return []string{ - "iterator", - "staking", - "stargate", - "cosmwasm_1_1", - "cosmwasm_1_2", - "cosmwasm_1_3", - "cosmwasm_1_4", - "cosmwasm_2_0", - "babylon", - } -} diff --git a/app/export.go b/app/export.go index 105c96987..a83de8d0e 100644 --- a/app/export.go +++ b/app/export.go @@ -203,7 +203,7 @@ func (app *BabylonApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddr // Iterate through validators by power descending, reset bond heights, and // update bond intra-tx counters. - store := ctx.KVStore(app.keys[stakingtypes.StoreKey]) + store := ctx.KVStore(app.GetKey(stakingtypes.StoreKey)) iter := storetypes.KVStoreReversePrefixIterator(store, stakingtypes.ValidatorsKey) for ; iter.Valid(); iter.Next() { diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go new file mode 100644 index 000000000..15628ee78 --- /dev/null +++ b/app/keepers/keepers.go @@ -0,0 +1,630 @@ +package keepers + +import ( + "path/filepath" + + errorsmod "cosmossdk.io/errors" + "cosmossdk.io/log" + storetypes "cosmossdk.io/store/types" + circuitkeeper "cosmossdk.io/x/circuit/keeper" + circuittypes "cosmossdk.io/x/circuit/types" + evidencekeeper "cosmossdk.io/x/evidence/keeper" + evidencetypes "cosmossdk.io/x/evidence/types" + "cosmossdk.io/x/feegrant" + feegrantkeeper "cosmossdk.io/x/feegrant/keeper" + upgradekeeper "cosmossdk.io/x/upgrade/keeper" + upgradetypes "cosmossdk.io/x/upgrade/types" + "github.com/CosmWasm/wasmd/x/wasm" + wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/runtime" + servertypes "github.com/cosmos/cosmos-sdk/server/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + authcodec "github.com/cosmos/cosmos-sdk/x/auth/codec" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" + bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" + consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" + crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" + crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" + distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" + distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" + mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" + minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + "github.com/cosmos/cosmos-sdk/x/params" + paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal" + slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper" + capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" + ibcwasmkeeper "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/keeper" + ibcwasmtypes "github.com/cosmos/ibc-go/modules/light-clients/08-wasm/types" + ibcfee "github.com/cosmos/ibc-go/v8/modules/apps/29-fee" + ibcfeekeeper "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/keeper" + ibcfeetypes "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/types" + "github.com/cosmos/ibc-go/v8/modules/apps/transfer" + ibctransferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper" + ibctransfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types" + porttypes "github.com/cosmos/ibc-go/v8/modules/core/05-port/types" // ibc module puts types under `ibchost` rather than `ibctypes` + ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" + ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" + + appparams "github.com/babylonchain/babylon/app/params" + bbn "github.com/babylonchain/babylon/types" + owasm "github.com/babylonchain/babylon/wasmbinding" + btccheckpointkeeper "github.com/babylonchain/babylon/x/btccheckpoint/keeper" + btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + btclightclientkeeper "github.com/babylonchain/babylon/x/btclightclient/keeper" + btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" + btcstakingkeeper "github.com/babylonchain/babylon/x/btcstaking/keeper" + btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" + checkpointingkeeper "github.com/babylonchain/babylon/x/checkpointing/keeper" + checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + epochingkeeper "github.com/babylonchain/babylon/x/epoching/keeper" + epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + finalitykeeper "github.com/babylonchain/babylon/x/finality/keeper" + finalitytypes "github.com/babylonchain/babylon/x/finality/types" + incentivekeeper "github.com/babylonchain/babylon/x/incentive/keeper" + incentivetypes "github.com/babylonchain/babylon/x/incentive/types" + monitorkeeper "github.com/babylonchain/babylon/x/monitor/keeper" + monitortypes "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonchain/babylon/x/zoneconcierge" + zckeeper "github.com/babylonchain/babylon/x/zoneconcierge/keeper" + zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" +) + +// Capabilities of the IBC wasm contracts +func WasmCapabilities() []string { + // The last arguments can contain custom message handlers, and custom query handlers, + // if we want to allow any custom callbacks + return []string{ + "iterator", + "staking", + "stargate", + "cosmwasm_1_1", + "cosmwasm_1_2", + "cosmwasm_1_3", + "cosmwasm_1_4", + "cosmwasm_2_0", + "babylon", + } +} + +type AppKeepers struct { + // keepers + AccountKeeper authkeeper.AccountKeeper + BankKeeper bankkeeper.Keeper + CapabilityKeeper *capabilitykeeper.Keeper + StakingKeeper *stakingkeeper.Keeper + SlashingKeeper slashingkeeper.Keeper + MintKeeper mintkeeper.Keeper + DistrKeeper distrkeeper.Keeper + GovKeeper govkeeper.Keeper + CrisisKeeper *crisiskeeper.Keeper + UpgradeKeeper *upgradekeeper.Keeper + ParamsKeeper paramskeeper.Keeper + AuthzKeeper authzkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + ConsensusParamsKeeper consensusparamkeeper.Keeper + CircuitKeeper circuitkeeper.Keeper + + // Babylon modules + EpochingKeeper epochingkeeper.Keeper + BTCLightClientKeeper btclightclientkeeper.Keeper + BtcCheckpointKeeper btccheckpointkeeper.Keeper + CheckpointingKeeper checkpointingkeeper.Keeper + MonitorKeeper monitorkeeper.Keeper + + // IBC-related modules + IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly + IBCFeeKeeper ibcfeekeeper.Keeper // for relayer incentivization - https://github.com/cosmos/ibc/tree/main/spec/app/ics-029-fee-payment + TransferKeeper ibctransferkeeper.Keeper // for cross-chain fungible token transfers + IBCWasmKeeper ibcwasmkeeper.Keeper // for IBC wasm light clients + ZoneConciergeKeeper zckeeper.Keeper // for cross-chain fungible token transfers + + // BTC staking related modules + BTCStakingKeeper btcstakingkeeper.Keeper + FinalityKeeper finalitykeeper.Keeper + + // wasm smart contract module + WasmKeeper wasmkeeper.Keeper + + // tokenomics-related modules + IncentiveKeeper incentivekeeper.Keeper + + // make scoped keepers public for test purposes + ScopedIBCKeeper capabilitykeeper.ScopedKeeper + ScopedTransferKeeper capabilitykeeper.ScopedKeeper + ScopedZoneConciergeKeeper capabilitykeeper.ScopedKeeper + ScopedWasmKeeper capabilitykeeper.ScopedKeeper + + // keys to access the substores + keys map[string]*storetypes.KVStoreKey + tkeys map[string]*storetypes.TransientStoreKey + memKeys map[string]*storetypes.MemoryStoreKey +} + +func (ak *AppKeepers) InitKeepers( + logger log.Logger, + appCodec codec.Codec, + btcConfig *bbn.BtcConfig, + encodingConfig *appparams.EncodingConfig, + bApp *baseapp.BaseApp, + maccPerms map[string][]string, + homePath string, + invCheckPeriod uint, + skipUpgradeHeights map[int64]bool, + privSigner *PrivSigner, + appOpts servertypes.AppOptions, + wasmConfig wasmtypes.WasmConfig, + wasmOpts []wasmkeeper.Option, + blockedAddress map[string]bool, +) { + powLimit := btcConfig.PowLimit() + btcNetParams := btcConfig.NetParams() + + // set persistent store keys + keys := storetypes.NewKVStoreKeys( + authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey, crisistypes.StoreKey, + minttypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey, + govtypes.StoreKey, paramstypes.StoreKey, consensusparamtypes.StoreKey, upgradetypes.StoreKey, feegrant.StoreKey, + evidencetypes.StoreKey, circuittypes.StoreKey, capabilitytypes.StoreKey, + authzkeeper.StoreKey, + // Babylon modules + epochingtypes.StoreKey, + btclightclienttypes.StoreKey, + btccheckpointtypes.StoreKey, + checkpointingtypes.StoreKey, + monitortypes.StoreKey, + // IBC-related modules + ibcexported.StoreKey, + ibctransfertypes.StoreKey, + ibcfeetypes.StoreKey, + ibcwasmtypes.StoreKey, + zctypes.StoreKey, + // BTC staking related modules + btcstakingtypes.StoreKey, + finalitytypes.StoreKey, + // WASM + wasmtypes.StoreKey, + // tokenomics-related modules + incentivetypes.StoreKey, + ) + ak.keys = keys + + // set transient store keys + ak.tkeys = storetypes.NewTransientStoreKeys(paramstypes.TStoreKey, btccheckpointtypes.TStoreKey) + + // set memory store keys + // NOTE: The testingkey is just mounted for testing purposes. Actual applications should + // not include this key. + ak.memKeys = storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey, "testingkey") + + accountKeeper := authkeeper.NewAccountKeeper( + appCodec, + runtime.NewKVStoreService(keys[authtypes.StoreKey]), + authtypes.ProtoBaseAccount, + maccPerms, + authcodec.NewBech32Codec(appparams.Bech32PrefixAccAddr), + appparams.Bech32PrefixAccAddr, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + bankKeeper := bankkeeper.NewBaseKeeper( + appCodec, + runtime.NewKVStoreService(keys[banktypes.StoreKey]), + accountKeeper, + blockedAddress, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + logger, + ) + + stakingKeeper := stakingkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[stakingtypes.StoreKey]), + accountKeeper, + bankKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + authcodec.NewBech32Codec(appparams.Bech32PrefixValAddr), + authcodec.NewBech32Codec(appparams.Bech32PrefixConsAddr), + ) + + // NOTE: the epoching module has to be set before the chekpointing module, as the checkpointing module will have access to the epoching module + epochingKeeper := epochingkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[epochingtypes.StoreKey]), + bankKeeper, + stakingKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + checkpointingKeeper := checkpointingkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[checkpointingtypes.StoreKey]), + privSigner.WrappedPV, + epochingKeeper, + ) + + // register streaming services + if err := bApp.RegisterStreamingServices(appOpts, keys); err != nil { + panic(err) + } + + ak.ParamsKeeper = initParamsKeeper( + appCodec, + encodingConfig.Amino, + keys[paramstypes.StoreKey], + ak.tkeys[paramstypes.TStoreKey], + ) + + ak.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[consensusparamtypes.StoreKey]), + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + runtime.EventService{}, + ) + bApp.SetParamStore(ak.ConsensusParamsKeeper.ParamsStore) + + ak.CapabilityKeeper = capabilitykeeper.NewKeeper( + appCodec, + keys[capabilitytypes.StoreKey], + ak.memKeys[capabilitytypes.MemStoreKey], + ) + + // grant capabilities for the ibc and ibc-transfer modules + scopedIBCKeeper := ak.CapabilityKeeper.ScopeToModule(ibcexported.ModuleName) + scopedTransferKeeper := ak.CapabilityKeeper.ScopeToModule(ibctransfertypes.ModuleName) + scopedZoneConciergeKeeper := ak.CapabilityKeeper.ScopeToModule(zctypes.ModuleName) + scopedWasmKeeper := ak.CapabilityKeeper.ScopeToModule(wasmtypes.ModuleName) + + // Applications that wish to enforce statically created ScopedKeepers should call `Seal` after creating + // their scoped modules in `NewApp` with `ScopeToModule` + ak.CapabilityKeeper.Seal() + + // add keepers + ak.AccountKeeper = accountKeeper + + ak.BankKeeper = bankKeeper + + ak.StakingKeeper = stakingKeeper + + ak.CircuitKeeper = circuitkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[circuittypes.StoreKey]), + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ak.AccountKeeper.AddressCodec(), + ) + bApp.SetCircuitBreaker(&ak.CircuitKeeper) + + ak.MintKeeper = mintkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[minttypes.StoreKey]), + ak.StakingKeeper, + ak.AccountKeeper, + ak.BankKeeper, + authtypes.FeeCollectorName, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + ak.DistrKeeper = distrkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[distrtypes.StoreKey]), + ak.AccountKeeper, + ak.BankKeeper, + ak.StakingKeeper, + authtypes.FeeCollectorName, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + // set up incentive keeper + ak.IncentiveKeeper = incentivekeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[incentivetypes.StoreKey]), + ak.BankKeeper, + ak.AccountKeeper, + &epochingKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + authtypes.FeeCollectorName, + ) + + ak.SlashingKeeper = slashingkeeper.NewKeeper( + appCodec, + encodingConfig.Amino, + runtime.NewKVStoreService(keys[slashingtypes.StoreKey]), + ak.StakingKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + ak.CrisisKeeper = crisiskeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[crisistypes.StoreKey]), + invCheckPeriod, + ak.BankKeeper, + authtypes.FeeCollectorName, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ak.AccountKeeper.AddressCodec(), + ) + + ak.FeeGrantKeeper = feegrantkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[feegrant.StoreKey]), + ak.AccountKeeper, + ) + // register the staking hooks + // NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks + ak.StakingKeeper.SetHooks( + stakingtypes.NewMultiStakingHooks(ak.DistrKeeper.Hooks(), ak.SlashingKeeper.Hooks(), epochingKeeper.Hooks()), + ) + + // set the governance module account as the authority for conducting upgrades + ak.UpgradeKeeper = upgradekeeper.NewKeeper( + skipUpgradeHeights, + runtime.NewKVStoreService(keys[upgradetypes.StoreKey]), + appCodec, + homePath, + bApp, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + ak.AuthzKeeper = authzkeeper.NewKeeper( + runtime.NewKVStoreService(keys[authzkeeper.StoreKey]), + appCodec, + bApp.MsgServiceRouter(), + ak.AccountKeeper, + ) + + ak.IBCKeeper = ibckeeper.NewKeeper( + appCodec, + keys[ibcexported.StoreKey], + ak.GetSubspace(ibcexported.ModuleName), + ak.StakingKeeper, + ak.UpgradeKeeper, + scopedIBCKeeper, + // From 8.0.0 the IBC keeper requires an authority for the messages + // `MsgIBCSoftwareUpgrade` and `MsgRecoverClient` + // https://github.com/cosmos/ibc-go/releases/tag/v8.0.0 + // Gov is the proper authority for those types of messages + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + // register the proposal types + // Deprecated: Avoid adding new handlers, instead use the new proposal flow + // by granting the governance module the right to execute the message. + // See: https://github.com/cosmos/cosmos-sdk/blob/release/v0.46.x/x/gov/spec/01_concepts.md#proposal-messages + // TODO: investigate how to migrate to new proposal flow + govRouter := govv1beta1.NewRouter() + govRouter.AddRoute(govtypes.RouterKey, govv1beta1.ProposalHandler). + AddRoute(paramproposal.RouterKey, params.NewParamChangeProposalHandler(ak.ParamsKeeper)) + + // TODO: this should be a function parameter + govConfig := govtypes.DefaultConfig() + /* + Example of setting gov params: + govConfig.MaxMetadataLen = 10000 + */ + govKeeper := govkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[govtypes.StoreKey]), + ak.AccountKeeper, + ak.BankKeeper, + ak.StakingKeeper, + ak.DistrKeeper, + bApp.MsgServiceRouter(), + govConfig, + authtypes.NewModuleAddress(govtypes.ModuleName).String()) + + ak.GovKeeper = *govKeeper.SetHooks( + govtypes.NewMultiGovHooks( + // register the governance hooks + ), + ) + + btclightclientKeeper := btclightclientkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[btclightclienttypes.StoreKey]), + *btcConfig, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + btcCheckpointKeeper := btccheckpointkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[btccheckpointtypes.StoreKey]), + ak.tkeys[btccheckpointtypes.TStoreKey], + &btclightclientKeeper, + &checkpointingKeeper, + &ak.IncentiveKeeper, + &powLimit, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + // create querier for KVStore + storeQuerier, ok := bApp.CommitMultiStore().(storetypes.Queryable) + if !ok { + panic(errorsmod.Wrap(sdkerrors.ErrUnknownRequest, "multistore doesn't support queries")) + } + + ak.IBCFeeKeeper = ibcfeekeeper.NewKeeper( + appCodec, keys[ibcfeetypes.StoreKey], + ak.IBCKeeper.ChannelKeeper, // may be replaced with IBC middleware + ak.IBCKeeper.ChannelKeeper, + ak.IBCKeeper.PortKeeper, ak.AccountKeeper, ak.BankKeeper, + ) + + zcKeeper := zckeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[zctypes.StoreKey]), + ak.IBCFeeKeeper, + ak.IBCKeeper.ClientKeeper, + ak.IBCKeeper.ChannelKeeper, + ak.IBCKeeper.PortKeeper, + ak.AccountKeeper, + ak.BankKeeper, + &btclightclientKeeper, + &checkpointingKeeper, + &btcCheckpointKeeper, + epochingKeeper, + storeQuerier, + scopedZoneConciergeKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + ak.ZoneConciergeKeeper = *zcKeeper + + // Create Transfer Keepers + ak.TransferKeeper = ibctransferkeeper.NewKeeper( + appCodec, + keys[ibctransfertypes.StoreKey], + ak.GetSubspace(ibctransfertypes.ModuleName), + ak.IBCFeeKeeper, + ak.IBCKeeper.ChannelKeeper, + ak.IBCKeeper.PortKeeper, + ak.AccountKeeper, + ak.BankKeeper, + scopedTransferKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + ak.MonitorKeeper = monitorkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[monitortypes.StoreKey]), + &btclightclientKeeper, + ) + + // add msgServiceRouter so that the epoching module can forward unwrapped messages to the staking module + epochingKeeper.SetMsgServiceRouter(bApp.MsgServiceRouter()) + // make ZoneConcierge and Monitor to subscribe to the epoching's hooks + ak.EpochingKeeper = *epochingKeeper.SetHooks( + epochingtypes.NewMultiEpochingHooks(ak.ZoneConciergeKeeper.Hooks(), ak.MonitorKeeper.Hooks()), + ) + + // set up Checkpointing, BTCCheckpoint, and BTCLightclient keepers + ak.CheckpointingKeeper = *checkpointingKeeper.SetHooks( + checkpointingtypes.NewMultiCheckpointingHooks(ak.EpochingKeeper.Hooks(), ak.ZoneConciergeKeeper.Hooks(), ak.MonitorKeeper.Hooks()), + ) + ak.BtcCheckpointKeeper = btcCheckpointKeeper + ak.BTCLightClientKeeper = *btclightclientKeeper.SetHooks( + btclightclienttypes.NewMultiBTCLightClientHooks(ak.BtcCheckpointKeeper.Hooks()), + ) + + // set up BTC staking keeper + ak.BTCStakingKeeper = btcstakingkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[btcstakingtypes.StoreKey]), + &btclightclientKeeper, + &btcCheckpointKeeper, + &checkpointingKeeper, + btcNetParams, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + // set up finality keeper + ak.FinalityKeeper = finalitykeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[finalitytypes.StoreKey]), + ak.BTCStakingKeeper, + ak.IncentiveKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + + // create evidence keeper with router + evidenceKeeper := evidencekeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[evidencetypes.StoreKey]), + ak.StakingKeeper, + ak.SlashingKeeper, + ak.AccountKeeper.AddressCodec(), + runtime.ProvideCometInfoService(), + ) + // If evidence needs to be handled for the app, set routes in router here and seal + ak.EvidenceKeeper = *evidenceKeeper + + wasmOpts = append(owasm.RegisterCustomPlugins(&ak.EpochingKeeper, &ak.ZoneConciergeKeeper, &ak.BTCLightClientKeeper), wasmOpts...) + + ak.WasmKeeper = wasmkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[wasmtypes.StoreKey]), + ak.AccountKeeper, + ak.BankKeeper, + ak.StakingKeeper, + distrkeeper.NewQuerier(ak.DistrKeeper), + ak.IBCFeeKeeper, + ak.IBCKeeper.ChannelKeeper, + ak.IBCKeeper.PortKeeper, + scopedWasmKeeper, + ak.TransferKeeper, + bApp.MsgServiceRouter(), + bApp.GRPCQueryRouter(), + homePath, + wasmConfig, + WasmCapabilities(), + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + wasmOpts..., + ) + + ibcWasmConfig := + ibcwasmtypes.WasmConfig{ + DataDir: filepath.Join(homePath, "ibc_08-wasm"), + SupportedCapabilities: WasmCapabilities(), + ContractDebugMode: false, + } + + ak.IBCWasmKeeper = ibcwasmkeeper.NewKeeperWithConfig( + appCodec, + runtime.NewKVStoreService(keys[ibcwasmtypes.StoreKey]), + ak.IBCKeeper.ClientKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ibcWasmConfig, + bApp.GRPCQueryRouter(), + ) + + // Set legacy router for backwards compatibility with gov v1beta1 + ak.GovKeeper.SetLegacyRouter(govRouter) + + // Create all supported IBC routes + var transferStack porttypes.IBCModule + transferStack = transfer.NewIBCModule(ak.TransferKeeper) + transferStack = ibcfee.NewIBCMiddleware(transferStack, ak.IBCFeeKeeper) + + var zoneConciergeStack porttypes.IBCModule + zoneConciergeStack = zoneconcierge.NewIBCModule(ak.ZoneConciergeKeeper) + zoneConciergeStack = ibcfee.NewIBCMiddleware(zoneConciergeStack, ak.IBCFeeKeeper) + + var wasmStack porttypes.IBCModule + wasmStack = wasm.NewIBCHandler(ak.WasmKeeper, ak.IBCKeeper.ChannelKeeper, ak.IBCFeeKeeper) + wasmStack = ibcfee.NewIBCMiddleware(wasmStack, ak.IBCFeeKeeper) + + // Create static IBC router, add ibc-transfer module route, then set and seal it + ibcRouter := porttypes.NewRouter(). + AddRoute(ibctransfertypes.ModuleName, transferStack). + AddRoute(zctypes.ModuleName, zoneConciergeStack). + AddRoute(wasmtypes.ModuleName, wasmStack) + + // Setting Router will finalize all routes by sealing router + // No more routes can be added + ak.IBCKeeper.SetRouter(ibcRouter) +} + +// initParamsKeeper init params keeper and its subspaces +func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey storetypes.StoreKey) paramskeeper.Keeper { + paramsKeeper := paramskeeper.NewKeeper(appCodec, legacyAmino, key, tkey) + + // TODO: Only modules which did not migrate yet to new way of hanldling params + // are the IBC-related modules. Once they are migrated, we can remove this and + // whole usage of params module + paramsKeeper.Subspace(ibcexported.ModuleName) + paramsKeeper.Subspace(ibctransfertypes.ModuleName) + paramsKeeper.Subspace(zctypes.ModuleName) + + return paramsKeeper +} diff --git a/app/keepers/keys.go b/app/keepers/keys.go new file mode 100644 index 000000000..c01bf564c --- /dev/null +++ b/app/keepers/keys.go @@ -0,0 +1,48 @@ +package keepers + +import ( + storetypes "cosmossdk.io/store/types" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +// GetSubspace gets existing substore from keeper. +func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace { + subspace, _ := appKeepers.ParamsKeeper.GetSubspace(moduleName) + return subspace +} + +// GetKVStoreKey gets KV Store keys. +func (appKeepers *AppKeepers) GetKVStoreKeys() map[string]*storetypes.KVStoreKey { + return appKeepers.keys +} + +// GetTransientStoreKey gets Transient Store keys. +func (appKeepers *AppKeepers) GetTransientStoreKeys() map[string]*storetypes.TransientStoreKey { + return appKeepers.tkeys +} + +// GetMemoryStoreKey get memory Store keys. +func (appKeepers *AppKeepers) GetMemoryStoreKeys() map[string]*storetypes.MemoryStoreKey { + return appKeepers.memKeys +} + +// GetKey returns the KVStoreKey for the provided store key. +// +// NOTE: This is solely to be used for testing purposes. +func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey { + return appKeepers.keys[storeKey] +} + +// GetTKey returns the TransientStoreKey for the provided store key. +// +// NOTE: This is solely to be used for testing purposes. +func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey { + return appKeepers.tkeys[storeKey] +} + +// GetMemKey returns the MemStoreKey for the provided mem key. +// +// NOTE: This is solely used for testing purposes. +func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey { + return appKeepers.memKeys[storeKey] +} diff --git a/app/utils.go b/app/keepers/utils.go similarity index 99% rename from app/utils.go rename to app/keepers/utils.go index 2f2ccbf9c..121f3531f 100644 --- a/app/utils.go +++ b/app/keepers/utils.go @@ -1,4 +1,4 @@ -package app +package keepers import ( "bytes" diff --git a/app/test_helpers.go b/app/test_helpers.go index d2bdc4a58..d8dfea5ef 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -30,6 +30,7 @@ import ( "github.com/docker/docker/pkg/ioutils" "github.com/stretchr/testify/require" + appkeepers "github.com/babylonchain/babylon/app/keepers" appparams "github.com/babylonchain/babylon/app/params" "github.com/babylonchain/babylon/crypto/bls12381" "github.com/babylonchain/babylon/privval" @@ -46,7 +47,7 @@ type SetupOptions struct { AppOpts types.AppOptions } -func setup(t *testing.T, ps *PrivSigner, withGenesis bool, invCheckPeriod uint) (*BabylonApp, GenesisState) { +func setup(t *testing.T, ps *appkeepers.PrivSigner, withGenesis bool, invCheckPeriod uint) (*BabylonApp, GenesisState) { db := dbm.NewMemDB() nodeHome := t.TempDir() @@ -80,7 +81,7 @@ func setup(t *testing.T, ps *PrivSigner, withGenesis bool, invCheckPeriod uint) // Created Babylon application will have one validator with hardcoed amount of tokens. // This is necessary as from cosmos-sdk 0.46 it is required that there is at least // one validator in validator set during InitGenesis abci call - https://github.com/cosmos/cosmos-sdk/pull/9697 -func NewBabylonAppWithCustomOptions(t *testing.T, isCheckTx bool, privSigner *PrivSigner, options SetupOptions) *BabylonApp { +func NewBabylonAppWithCustomOptions(t *testing.T, isCheckTx bool, privSigner *appkeepers.PrivSigner, options SetupOptions) *BabylonApp { t.Helper() // create validator set with single validator valKeys, err := privval.NewValidatorKeys(ed25519.GenPrivKey(), bls12381.GenPrivKey()) @@ -245,7 +246,7 @@ func Setup(t *testing.T, isCheckTx bool) *BabylonApp { } // SetupTestPrivSigner sets up a PrivSigner for testing -func SetupTestPrivSigner() (*PrivSigner, error) { +func SetupTestPrivSigner() (*appkeepers.PrivSigner, error) { // Create a temporary node directory nodeDir, err := ioutils.TempDir("", "tmp-signer") if err != nil { @@ -254,7 +255,7 @@ func SetupTestPrivSigner() (*PrivSigner, error) { defer func() { _ = os.RemoveAll(nodeDir) }() - privSigner, _ := InitPrivSigner(nodeDir) + privSigner, _ := appkeepers.InitPrivSigner(nodeDir) return privSigner, nil } @@ -263,7 +264,7 @@ func SetupTestPrivSigner() (*PrivSigner, error) { // of one consensus engine unit (10^6) in the default token of the babylon app from first genesis // account. A Nop logger is set in BabylonApp. // Note that the privSigner should be the 0th item of valSet -func SetupWithGenesisValSet(t *testing.T, valSet []*checkpointingtypes.GenesisKey, privSigner *PrivSigner, genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance) *BabylonApp { +func SetupWithGenesisValSet(t *testing.T, valSet []*checkpointingtypes.GenesisKey, privSigner *appkeepers.PrivSigner, genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance) *BabylonApp { t.Helper() app, genesisState := setup(t, privSigner, true, 5) genesisState = genesisStateWithValSet(t, app, genesisState, valSet, genAccs, balances...) @@ -296,7 +297,7 @@ func SetupWithGenesisValSet(t *testing.T, valSet []*checkpointingtypes.GenesisKe return app } -func GenesisKeyFromPrivSigner(ps *PrivSigner) (*checkpointingtypes.GenesisKey, error) { +func GenesisKeyFromPrivSigner(ps *appkeepers.PrivSigner) (*checkpointingtypes.GenesisKey, error) { valKeys, err := privval.NewValidatorKeys(ps.WrappedPV.GetValPrivKey(), ps.WrappedPV.GetBlsPrivKey()) if err != nil { return nil, err diff --git a/app/upgrades/README.md b/app/upgrades/README.md new file mode 100644 index 000000000..e7e799a56 --- /dev/null +++ b/app/upgrades/README.md @@ -0,0 +1,43 @@ +# Babylon Upgrades + +This folder contains sub-folders for every babylon upgrade. (Both state +migrations, and hard forks) It also defines upgrade & hard fork structs, +that each upgrade implements. These then get included in the application +app.go to run the upgrade. + +The code is adapted from [Osmosis](https://github.com/osmosis-labs/osmosis/blob/68d546d94acbf1aa99d6b514cb66b2b40afff4a4/app/upgrades). + +## Version History + +TODO + +## Upgrade types + +There are two upgrade types exposed, `Upgrade` and `Fork`. An `Upgrade` +defines an upgrade that is to be acted upon by state migrations from the +SDK `x/upgrade` module. A `Fork` defines a hard fork that changes some +logic at a block height. If the goal is to have a new binary be +compatible with the old binary prior to the upgrade height, as is the +case for all babylon `Fork`s, then all logic changes must be +height-gated or in the `BeginForkLogic` code. + +```go +type Upgrade struct { + // Upgrade version name, for the upgrade handler, e.g. `v7` + UpgradeName string + // Function that creates an upgrade handler + CreateUpgradeHandler func(mm *module.Manager, configurator module.Configurator, keepers *keepers.AppKeepers) upgradetypes.UpgradeHandler + // Store upgrades, should be used for any new modules introduced, new modules deleted, or store names renamed. + StoreUpgrades store.StoreUpgrades +} + +type Fork struct { + // Upgrade version name, for the upgrade handler, e.g. `v7` + UpgradeName string + // height the upgrade occurs at + UpgradeHeight int64 + + // Function that runs some custom state transition code at the beginning of a fork. + BeginForkLogic func(ctx sdk.Context, keepers *keepers.AppKeepers) +} +``` diff --git a/app/upgrades/types.go b/app/upgrades/types.go new file mode 100644 index 000000000..8f143c8e1 --- /dev/null +++ b/app/upgrades/types.go @@ -0,0 +1,48 @@ +package upgrades + +import ( + store "cosmossdk.io/store/types" + upgradetypes "cosmossdk.io/x/upgrade/types" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + + "github.com/babylonchain/babylon/app/keepers" +) + +// BaseAppParamManager defines an interrace that BaseApp is expected to fulfill +// that allows upgrade handlers to modify BaseApp parameters. +type BaseAppParamManager interface { + GetConsensusParams(ctx sdk.Context) tmproto.ConsensusParams + StoreConsensusParams(ctx sdk.Context, cp tmproto.ConsensusParams) error +} + +// Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal +// must have written, in order for the state migration to go smoothly. +// An upgrade must implement this struct, and then set it in the app.go. +// The app.go will then define the handler. +type Upgrade struct { + // Upgrade version name, for the upgrade handler, e.g. `v7` + UpgradeName string + + // CreateUpgradeHandler defines the function that creates an upgrade handler + CreateUpgradeHandler func(*module.Manager, module.Configurator, BaseAppParamManager, *keepers.AppKeepers) upgradetypes.UpgradeHandler + + // Store upgrades, should be used for any new modules introduced, new modules deleted, or store names renamed. + StoreUpgrades store.StoreUpgrades +} + +// Fork defines a struct containing the requisite fields for a non-software upgrade proposal +// Hard Fork at a given height to implement. +// There is one time code that can be added for the start of the Fork, in `BeginForkLogic`. +// Any other change in the code should be height-gated, if the goal is to have old and new binaries +// to be compatible prior to the upgrade height. +type Fork struct { + // Upgrade version name, for the upgrade handler, e.g. `v7` + UpgradeName string + // height the upgrade occurs at + UpgradeHeight int64 + + // Function that runs some custom state transition code at the beginning of a fork. + BeginForkLogic func(ctx sdk.Context, keepers *keepers.AppKeepers) +} diff --git a/app/upgrades/vanilla/README.md b/app/upgrades/vanilla/README.md new file mode 100644 index 000000000..3909ea3f3 --- /dev/null +++ b/app/upgrades/vanilla/README.md @@ -0,0 +1,4 @@ +# vanilla + +This folder contains a vanilla software upgrade for testing purposes. +DO NOT USE IN PRODUCTION! diff --git a/app/upgrades/vanilla/upgrades.go b/app/upgrades/vanilla/upgrades.go new file mode 100644 index 000000000..1cc0c9060 --- /dev/null +++ b/app/upgrades/vanilla/upgrades.go @@ -0,0 +1,64 @@ +// This code is only for testing purposes. +// DO NOT USE IN PRODUCTION! + +package vanilla + +import ( + "context" + + store "cosmossdk.io/store/types" + upgradetypes "cosmossdk.io/x/upgrade/types" + "github.com/babylonchain/babylon/app/keepers" + "github.com/babylonchain/babylon/app/upgrades" + bbn "github.com/babylonchain/babylon/types" + btcstakingkeeper "github.com/babylonchain/babylon/x/btcstaking/keeper" + bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/btcsuite/btcd/btcec/v2" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" +) + +var Upgrade = upgrades.Upgrade{ + UpgradeName: "vanilla", + CreateUpgradeHandler: CreateUpgradeHandler, + StoreUpgrades: store.StoreUpgrades{}, +} + +func CreateUpgradeHandler( + mm *module.Manager, + cfg module.Configurator, + _ upgrades.BaseAppParamManager, + keepers *keepers.AppKeepers, +) upgradetypes.UpgradeHandler { + return func(context context.Context, _plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + + ctx := sdk.UnwrapSDKContext(context) + + propVanilla(ctx, &keepers.AccountKeeper, &keepers.BTCStakingKeeper) + + return mm.RunMigrations(ctx, cfg, fromVM) + } +} + +func propVanilla( + ctx sdk.Context, + accountKeeper *authkeeper.AccountKeeper, + bsKeeper *btcstakingkeeper.Keeper, +) { + // remove an account + allAccounts := accountKeeper.GetAllAccounts(ctx) + accountKeeper.RemoveAccount(ctx, allAccounts[len(allAccounts)-1]) + + // insert a FP + sk, err := btcec.NewPrivateKey() + if err != nil { + panic(err) + } + btcPK := bbn.NewBIP340PubKeyFromBTCPK(sk.PubKey()) + fp := &bstypes.FinalityProvider{ + Addr: allAccounts[0].GetAddress().String(), + BtcPk: btcPK, + } + bsKeeper.SetFinalityProvider(ctx, fp) +} diff --git a/app/upgrades/vanilla/upgrades_test.go b/app/upgrades/vanilla/upgrades_test.go new file mode 100644 index 000000000..fba069c7f --- /dev/null +++ b/app/upgrades/vanilla/upgrades_test.go @@ -0,0 +1,105 @@ +package vanilla_test + +import ( + "fmt" + "testing" + "time" + + "cosmossdk.io/core/appmodule" + "cosmossdk.io/core/header" + "cosmossdk.io/x/upgrade" + upgradetypes "cosmossdk.io/x/upgrade/types" + "github.com/babylonchain/babylon/app" + v1 "github.com/babylonchain/babylon/app/upgrades/vanilla" + bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/stretchr/testify/suite" +) + +const ( + DummyUpgradeHeight = 5 +) + +type UpgradeTestSuite struct { + suite.Suite + + ctx sdk.Context + app *app.BabylonApp + preModule appmodule.HasPreBlocker +} + +func (s *UpgradeTestSuite) SetupTest() { + // add the upgrade plan + app.Upgrades = append(app.Upgrades, v1.Upgrade) + + // set up app + s.app = app.Setup(s.T(), false) + s.ctx = s.app.BaseApp.NewContextLegacy(false, tmproto.Header{Height: 1, ChainID: "babylon-1", Time: time.Now().UTC()}) + s.preModule = upgrade.NewAppModule(s.app.UpgradeKeeper, s.app.AccountKeeper.AddressCodec()) +} + +func TestKeeperTestSuite(t *testing.T) { + suite.Run(t, new(UpgradeTestSuite)) +} + +func (s *UpgradeTestSuite) TestUpgradePayments() { + oldAcctNum := 0 + + testCases := []struct { + msg string + pre_update func() + update func() + post_update func() + expPass bool + }{ + { + "Test vanilla software upgrade gov prop", + func() { + allAccounts := s.app.AccountKeeper.GetAllAccounts(s.ctx) + oldAcctNum = len(allAccounts) + }, + func() { + // inject upgrade plan + s.ctx = s.ctx.WithBlockHeight(DummyUpgradeHeight - 1) + plan := upgradetypes.Plan{Name: v1.Upgrade.UpgradeName, Height: DummyUpgradeHeight} + err := s.app.UpgradeKeeper.ScheduleUpgrade(s.ctx, plan) + s.NoError(err) + + // ensure upgrade plan exists + actualPlan, err := s.app.UpgradeKeeper.GetUpgradePlan(s.ctx) + s.NoError(err) + s.Equal(plan, actualPlan) + + // execute upgrade + s.ctx = s.ctx.WithHeaderInfo(header.Info{Height: DummyUpgradeHeight, Time: s.ctx.BlockTime().Add(time.Second)}).WithBlockHeight(DummyUpgradeHeight) + s.NotPanics(func() { + _, err := s.preModule.PreBlock(s.ctx) + s.NoError(err) + }) + }, + func() { + // ensure the account is removed + allAccounts := s.app.AccountKeeper.GetAllAccounts(s.ctx) + newAcctNum := len(allAccounts) + s.Equal(newAcctNum, oldAcctNum-1) + + // ensure finality provider is inserted + resp, err := s.app.BTCStakingKeeper.FinalityProviders(s.ctx, &bstypes.QueryFinalityProvidersRequest{}) + s.NoError(err) + s.Len(resp.FinalityProviders, 1) + }, + true, + }, + } + + for _, tc := range testCases { + s.Run(fmt.Sprintf("Case %s", tc.msg), func() { + s.SetupTest() // reset + + tc.pre_update() + tc.update() + tc.post_update() + }) + } +} diff --git a/cmd/babylond/cmd/root.go b/cmd/babylond/cmd/root.go index f87c0afb5..bab90741e 100644 --- a/cmd/babylond/cmd/root.go +++ b/cmd/babylond/cmd/root.go @@ -8,6 +8,7 @@ import ( confixcmd "cosmossdk.io/tools/confix/cmd" "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" + appkeepers "github.com/babylonchain/babylon/app/keepers" cmtcfg "github.com/cometbft/cometbft/config" cmtcli "github.com/cometbft/cometbft/libs/cli" dbm "github.com/cosmos/cosmos-db" @@ -274,7 +275,7 @@ func newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts serverty } homeDir := cast.ToString(appOpts.Get(flags.FlagHome)) - privSigner, err := app.InitPrivSigner(homeDir) + privSigner, err := appkeepers.InitPrivSigner(homeDir) if err != nil { panic(err) } @@ -313,7 +314,7 @@ func appExport( return servertypes.ExportedApp{}, errors.New("application home not set") } - privSigner, err := app.InitPrivSigner(homePath) + privSigner, err := appkeepers.InitPrivSigner(homePath) if err != nil { panic(err) } diff --git a/cmd/babylond/cmd/testnet.go b/cmd/babylond/cmd/testnet.go index 13886c348..8ac343ea6 100644 --- a/cmd/babylond/cmd/testnet.go +++ b/cmd/babylond/cmd/testnet.go @@ -11,6 +11,7 @@ import ( "time" "cosmossdk.io/math" + appkeepers "github.com/babylonchain/babylon/app/keepers" cmtconfig "github.com/cometbft/cometbft/config" cmtos "github.com/cometbft/cometbft/libs/os" cmttime "github.com/cometbft/cometbft/types/time" @@ -35,7 +36,6 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/app" appparams "github.com/babylonchain/babylon/app/params" "github.com/babylonchain/babylon/privval" "github.com/babylonchain/babylon/testutil/datagen" @@ -321,7 +321,7 @@ func InitTestnet( srvconfig.WriteConfigFile(filepath.Join(nodeDir, "config/app.toml"), babylonConfig) // create and save client config - if _, err = app.CreateClientConfig(chainID, keyringBackend, nodeDir); err != nil { + if _, err = appkeepers.CreateClientConfig(chainID, keyringBackend, nodeDir); err != nil { return err } } diff --git a/test/e2e/initialization/init.go b/test/e2e/initialization/init.go index 8dc02cee4..0a4f2b62b 100644 --- a/test/e2e/initialization/init.go +++ b/test/e2e/initialization/init.go @@ -6,7 +6,7 @@ import ( "path/filepath" "time" - "github.com/babylonchain/babylon/app" + appkeepers "github.com/babylonchain/babylon/app/keepers" "github.com/babylonchain/babylon/test/e2e/util" ) @@ -42,7 +42,7 @@ func InitChain(id, dataDir string, nodeConfigs []*NodeConfig, votingPeriod, expe } for _, node := range chain.nodes { - _, _ = app.CreateClientConfig(node.chain.chainMeta.Id, "test", node.configDir()) + _, _ = appkeepers.CreateClientConfig(node.chain.chainMeta.Id, "test", node.configDir()) } return chain.export(), nil diff --git a/testutil/datagen/genesiskey.go b/testutil/datagen/genesiskey.go index 3b15e14ad..aff771d1b 100644 --- a/testutil/datagen/genesiskey.go +++ b/testutil/datagen/genesiskey.go @@ -1,6 +1,11 @@ package datagen import ( + "github.com/babylonchain/babylon/app" + appkeepers "github.com/babylonchain/babylon/app/keepers" + "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonchain/babylon/privval" + checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" cmtcrypto "github.com/cometbft/cometbft/crypto" cmted25519 "github.com/cometbft/cometbft/crypto/ed25519" "github.com/cosmos/cosmos-sdk/crypto/codec" @@ -8,11 +13,6 @@ import ( cosmosed "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" ) type GenesisValidators struct { @@ -88,7 +88,7 @@ func GenesisValidatorSet(numVals int) (*GenesisValidators, error) { // GenesisValidatorSetWithPrivSigner generates a set with `numVals` genesis validators // along with the privSigner, which will be in the 0th position of the return validator set -func GenesisValidatorSetWithPrivSigner(numVals int) (*GenesisValidators, *app.PrivSigner, error) { +func GenesisValidatorSetWithPrivSigner(numVals int) (*GenesisValidators, *appkeepers.PrivSigner, error) { ps, err := app.SetupTestPrivSigner() if err != nil { return nil, nil, err diff --git a/testutil/helper/helper.go b/testutil/helper/helper.go index 7fd126be9..2a0390e09 100644 --- a/testutil/helper/helper.go +++ b/testutil/helper/helper.go @@ -7,16 +7,16 @@ import ( "testing" "cosmossdk.io/core/header" + appkeepers "github.com/babylonchain/babylon/app/keepers" + "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonchain/babylon/testutil/datagen" + checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" abci "github.com/cometbft/cometbft/abci/types" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/baseapp" cosmosed "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" protoio "github.com/cosmos/gogoproto/io" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/testutil/datagen" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - "cosmossdk.io/math" "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" @@ -56,7 +56,7 @@ func NewHelper(t *testing.T) *Helper { // NewHelperWithValSet is same as NewHelper, except that it creates a set of validators // the privSigner is the 0th validator in valSet -func NewHelperWithValSet(t *testing.T, valSet *datagen.GenesisValidators, privSigner *app.PrivSigner) *Helper { +func NewHelperWithValSet(t *testing.T, valSet *datagen.GenesisValidators, privSigner *appkeepers.PrivSigner) *Helper { // generate the genesis account signerPubKey := privSigner.WrappedPV.Key.PubKey acc := authtypes.NewBaseAccount(signerPubKey.Address().Bytes(), &cosmosed.PubKey{Key: signerPubKey.Bytes()}, 0, 0) @@ -94,7 +94,7 @@ func NewHelperWithValSet(t *testing.T, valSet *datagen.GenesisValidators, privSi // NewHelperWithValSetNoSigner is same as NewHelperWithValSet, except that the privSigner is not // included in the validator set -func NewHelperWithValSetNoSigner(t *testing.T, valSet *datagen.GenesisValidators, privSigner *app.PrivSigner) *Helper { +func NewHelperWithValSetNoSigner(t *testing.T, valSet *datagen.GenesisValidators, privSigner *appkeepers.PrivSigner) *Helper { // generate the genesis account signerPubKey := privSigner.WrappedPV.Key.PubKey acc := authtypes.NewBaseAccount(signerPubKey.Address().Bytes(), &cosmosed.PubKey{Key: signerPubKey.Bytes()}, 0, 0) diff --git a/x/checkpointing/module.go b/x/checkpointing/module.go index 5e4bf3184..7e5cb77cc 100644 --- a/x/checkpointing/module.go +++ b/x/checkpointing/module.go @@ -2,10 +2,11 @@ package checkpointing import ( "context" - "cosmossdk.io/core/appmodule" "encoding/json" "fmt" + "cosmossdk.io/core/appmodule" + "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" diff --git a/x/checkpointing/proposal.go b/x/checkpointing/proposal.go index c4c0bb437..b9d3a3696 100644 --- a/x/checkpointing/proposal.go +++ b/x/checkpointing/proposal.go @@ -45,7 +45,6 @@ func NewProposalHandler( func (h *ProposalHandler) SetHandlers(bApp *baseapp.BaseApp) { bApp.SetPrepareProposal(h.PrepareProposal()) bApp.SetProcessProposal(h.ProcessProposal()) - bApp.SetPreBlocker(h.PreBlocker()) } // PrepareProposal examines the vote extensions from the previous block, accumulates @@ -329,14 +328,14 @@ func (h *ProposalHandler) ProcessProposal() sdk.ProcessProposalHandler { } } -// PreBlocker extracts the checkpoint from the injected tx and stores it in -// the application +// PreBlocker extracts the checkpoint from the injected tx and stores it in the application // no more validation is needed as it is already done in ProcessProposal +// NOTE: this is appended to the existing PreBlocker in BabylonApp at app.go func (h *ProposalHandler) PreBlocker() sdk.PreBlocker { return func(ctx sdk.Context, req *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error) { - k := h.ckptKeeper res := &sdk.ResponsePreBlock{} + k := h.ckptKeeper epoch := k.GetEpoch(ctx) // BLS signatures are sent in the last block of the previous epoch, // so they should be aggregated in the first block of the new epoch From f05669b55bb0a98647cfcb0a782e0ff8c4145f92 Mon Sep 17 00:00:00 2001 From: KonradStaniec Date: Tue, 16 Jul 2024 08:21:10 +0200 Subject: [PATCH 08/21] Disable flaky e2e test (#713) Disable flaky test --- test/e2e/btc_staking_e2e_test.go | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/test/e2e/btc_staking_e2e_test.go b/test/e2e/btc_staking_e2e_test.go index 538c58c01..d8d85a5e4 100644 --- a/test/e2e/btc_staking_e2e_test.go +++ b/test/e2e/btc_staking_e2e_test.go @@ -667,19 +667,21 @@ func (s *BTCStakingTestSuite) Test8BTCDelegationFeeGrantTyped() { // tries to create a send transaction putting the freegranter as feepayer, it should FAIL // since we only gave grant for BTC delegation msgs. - outBuff, errBuff, err := node.BankSendOutput( - wGratee, node.PublicAddress, stakerBalance.String(), - fmt.Sprintf("--fee-granter=%s", feePayerAddr.String()), - ) - outputStr := outBuff.String() + errBuff.String() - s.Require().Contains(outputStr, fmt.Sprintf("code: %d", feegrant.ErrMessageNotAllowed.ABCICode())) - s.Require().Contains(outputStr, feegrant.ErrMessageNotAllowed.Error()) - s.Nil(err) - - // staker should not have lost any balance. - stakerBalances, err := node.QueryBalances(granteeStakerAddr.String()) - s.Require().NoError(err) - s.Require().Equal(stakerBalance.String(), stakerBalances.String()) + // TODO: Uncomment the next lines when issue: https://github.com/babylonchain/babylon/issues/693 + // is fixed on cosmos-sdk side + // outBuff, errBuff, err := node.BankSendOutput( + // wGratee, node.PublicAddress, stakerBalance.String(), + // fmt.Sprintf("--fee-granter=%s", feePayerAddr.String()), + // ) + // outputStr := outBuff.String() + errBuff.String() + // s.Require().Contains(outputStr, fmt.Sprintf("code: %d", feegrant.ErrMessageNotAllowed.ABCICode())) + // s.Require().Contains(outputStr, feegrant.ErrMessageNotAllowed.Error()) + // s.Nil(err) + + // // staker should not have lost any balance. + // stakerBalances, err := node.QueryBalances(granteeStakerAddr.String()) + // s.Require().NoError(err) + // s.Require().Equal(stakerBalance.String(), stakerBalances.String()) // submit the message to create BTC delegation using the fee grant // but putting as fee more than the spend limit @@ -737,7 +739,7 @@ func (s *BTCStakingTestSuite) Test8BTCDelegationFeeGrantTyped() { // verify the balances after the BTC delegation was submited // the staker should continue to have zero as balance. - stakerBalances, err = node.QueryBalances(granteeStakerAddr.String()) + stakerBalances, err := node.QueryBalances(granteeStakerAddr.String()) s.NoError(err) s.Equal(stakerBalance.String(), stakerBalances.String()) From 5bc646e5faafd19dcae34035c11391380c6a2ea8 Mon Sep 17 00:00:00 2001 From: Cirrus Gai Date: Tue, 16 Jul 2024 14:34:25 +0800 Subject: [PATCH 09/21] feat(inactivity): Identify inactive finality providers (#682) * feat: Add finality provider signing info (#614) * feat(jailing): Identify inactivity upon EndBlocker (#681) * feat(Inactivity): Add LivenessDelay to finality params and logic for reverting inactive flag (#689) --- app/app.go | 5 +- app/keepers/keepers.go | 3 + go.mod | 4 +- proto/babylon/btcstaking/v1/btcstaking.proto | 4 + proto/babylon/btcstaking/v1/query.proto | 2 + proto/babylon/finality/v1/finality.proto | 12 + proto/babylon/finality/v1/params.proto | 20 +- .../configurer/chain/queries_btcstaking.go | 3 +- .../mocks/checkpointing_expected_keepers.go | 29 +- x/btcstaking/keeper/finality_providers.go | 24 +- x/btcstaking/keeper/hooks.go | 39 +++ x/btcstaking/keeper/incentive_test.go | 7 +- x/btcstaking/keeper/keeper.go | 18 +- x/btcstaking/keeper/keeper_test.go | 19 +- x/btcstaking/keeper/power_dist_change.go | 14 +- x/btcstaking/types/btcstaking.go | 5 + x/btcstaking/types/btcstaking.pb.go | 235 ++++++++----- x/btcstaking/types/expected_keepers.go | 4 + x/btcstaking/types/hooks.go | 26 ++ x/btcstaking/types/incentive.go | 37 ++- x/btcstaking/types/mocked_keepers.go | 37 +++ x/btcstaking/types/query.pb.go | 273 ++++++++------- x/finality/abci.go | 17 +- x/finality/keeper/hooks.go | 41 +++ x/finality/keeper/keeper.go | 39 ++- x/finality/keeper/liveness.go | 187 +++++++++++ x/finality/keeper/liveness_test.go | 90 +++++ x/finality/keeper/params.go | 1 + x/finality/keeper/signing_info.go | 103 ++++++ x/finality/types/expected_keepers.go | 10 + x/finality/types/finality.pb.go | 313 ++++++++++++++++-- x/finality/types/genesis_test.go | 7 +- x/finality/types/hooks.go | 26 ++ x/finality/types/keys.go | 52 ++- x/finality/types/mocked_keepers.go | 105 +++++- x/finality/types/params.go | 100 +++++- x/finality/types/params.pb.go | 163 ++++++++- x/finality/types/signing_info.go | 28 ++ 38 files changed, 1790 insertions(+), 312 deletions(-) create mode 100644 x/btcstaking/keeper/hooks.go create mode 100644 x/btcstaking/types/hooks.go create mode 100644 x/finality/keeper/hooks.go create mode 100644 x/finality/keeper/liveness.go create mode 100644 x/finality/keeper/liveness_test.go create mode 100644 x/finality/keeper/signing_info.go create mode 100644 x/finality/types/hooks.go create mode 100644 x/finality/types/signing_info.go diff --git a/app/app.go b/app/app.go index f6b806fe2..67b0b7800 100644 --- a/app/app.go +++ b/app/app.go @@ -24,8 +24,6 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/babylonchain/babylon/app/upgrades" - bbn "github.com/babylonchain/babylon/types" abci "github.com/cometbft/cometbft/abci/types" cmtos "github.com/cometbft/cometbft/libs/os" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" @@ -95,6 +93,9 @@ import ( ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" "github.com/spf13/cast" + "github.com/babylonchain/babylon/app/upgrades" + bbn "github.com/babylonchain/babylon/types" + appkeepers "github.com/babylonchain/babylon/app/keepers" appparams "github.com/babylonchain/babylon/app/params" "github.com/babylonchain/babylon/client/docs" diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 15628ee78..64c0baa14 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -528,6 +528,7 @@ func (ak *AppKeepers) InitKeepers( btcNetParams, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) + // set up finality keeper ak.FinalityKeeper = finalitykeeper.NewKeeper( appCodec, @@ -536,6 +537,8 @@ func (ak *AppKeepers) InitKeepers( ak.IncentiveKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) + ak.BTCStakingKeeper = *ak.BTCStakingKeeper.SetHooks(btcstakingtypes.NewMultiBtcStakingHooks(ak.FinalityKeeper.Hooks())) + ak.FinalityKeeper = *ak.FinalityKeeper.SetHooks(finalitytypes.NewMultiFinalityHooks(ak.BTCStakingKeeper.Hooks())) // create evidence keeper with router evidenceKeeper := evidencekeeper.NewKeeper( diff --git a/go.mod b/go.mod index 30fd3ecc6..98badadb7 100644 --- a/go.mod +++ b/go.mod @@ -27,6 +27,7 @@ require ( require ( cosmossdk.io/api v0.7.4 cosmossdk.io/client/v2 v2.0.0-beta.1 + cosmossdk.io/collections v0.4.0 cosmossdk.io/core v0.11.0 cosmossdk.io/depinject v1.0.0-alpha.4 cosmossdk.io/errors v1.0.1 @@ -41,6 +42,7 @@ require ( cosmossdk.io/x/upgrade v0.1.1 github.com/CosmWasm/wasmvm/v2 v2.0.1 github.com/avast/retry-go/v4 v4.5.1 + github.com/bits-and-blooms/bitset v1.10.0 github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d github.com/btcsuite/btcd/btcec/v2 v2.3.2 github.com/btcsuite/btcd/btcutil v1.1.5 @@ -141,7 +143,6 @@ require ( cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.6 // indirect cloud.google.com/go/storage v1.36.0 // indirect - cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/x/nft v0.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect @@ -152,7 +153,6 @@ require ( github.com/aead/siphash v1.0.1 // indirect github.com/aws/aws-sdk-go v1.44.312 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect - github.com/bits-and-blooms/bitset v1.10.0 // indirect github.com/cenkalti/backoff/v4 v4.2.0 // indirect github.com/chzyer/readline v1.5.1 // indirect github.com/cockroachdb/apd/v2 v2.0.2 // indirect diff --git a/proto/babylon/btcstaking/v1/btcstaking.proto b/proto/babylon/btcstaking/v1/btcstaking.proto index 04757d74b..091555f19 100644 --- a/proto/babylon/btcstaking/v1/btcstaking.proto +++ b/proto/babylon/btcstaking/v1/btcstaking.proto @@ -33,6 +33,8 @@ message FinalityProvider { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed uint64 slashed_btc_height = 7; + // inactive defines whether the finality provider is detected inactive + bool inactive = 8; } // FinalityProviderWithMeta wraps the FinalityProvider with metadata. @@ -52,6 +54,8 @@ message FinalityProviderWithMeta { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed uint64 slashed_btc_height = 5; + // inactive defines whether the finality provider is detected inactive + bool inactive = 6; } // BTCDelegation defines a BTC delegation diff --git a/proto/babylon/btcstaking/v1/query.proto b/proto/babylon/btcstaking/v1/query.proto index 91e3052ad..9a48e212c 100644 --- a/proto/babylon/btcstaking/v1/query.proto +++ b/proto/babylon/btcstaking/v1/query.proto @@ -349,4 +349,6 @@ message FinalityProviderResponse { uint64 height = 8; // voting_power is the voting power of this finality provider at the given height uint64 voting_power = 9; + // inactive defines whether the finality provider is detected inactive + bool inactive = 10; } diff --git a/proto/babylon/finality/v1/finality.proto b/proto/babylon/finality/v1/finality.proto index 04b6bd722..c833f5fc6 100644 --- a/proto/babylon/finality/v1/finality.proto +++ b/proto/babylon/finality/v1/finality.proto @@ -51,3 +51,15 @@ message Evidence { // where finality signature is an EOTS signature bytes fork_finality_sig = 7 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; } + +// FinalityProviderSigningInfo defines a finality provider's signing info for monitoring their +// liveness activity. +message FinalityProviderSigningInfo { + // fp_btc_pk is the BTC PK of the finality provider that casts this vote + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + // start_height is the block height at which finality provider become active + int64 start_height = 2; + // missed_blocks_counter defines a counter to avoid unnecessary array reads. + // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + int64 missed_blocks_counter = 3; +} diff --git a/proto/babylon/finality/v1/params.proto b/proto/babylon/finality/v1/params.proto index c5dce2cc9..8645a61e0 100644 --- a/proto/babylon/finality/v1/params.proto +++ b/proto/babylon/finality/v1/params.proto @@ -2,14 +2,28 @@ syntax = "proto3"; package babylon.finality.v1; import "gogoproto/gogo.proto"; +import "amino/amino.proto"; +import "cosmos_proto/cosmos.proto"; option go_package = "github.com/babylonchain/babylon/x/finality/types"; // Params defines the parameters for the module. message Params { option (gogoproto.goproto_stringer) = false; - - // min_pub_rand is the minimum number of public randomness each + // signed_blocks_window defines the size of the sliding window for tracking finality provider liveness + int64 signed_blocks_window = 1; + // finality_sig_timeout defines how much time (in terms of blocks) finality providers have to cast a finality + // vote before being judged as missing their voting turn on the given block + int64 finality_sig_timeout = 2; + // min_signed_per_window defines the minimum number of blocks that a finality provider is required to sign + // within the sliding window to avoid being detected as inactive + bytes min_signed_per_window = 3 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + // min_pub_rand is the minimum number of public randomness each // message should commit - uint64 min_pub_rand = 1; + uint64 min_pub_rand = 4; } diff --git a/test/e2e/configurer/chain/queries_btcstaking.go b/test/e2e/configurer/chain/queries_btcstaking.go index 60be29f74..8e3cec5e0 100644 --- a/test/e2e/configurer/chain/queries_btcstaking.go +++ b/test/e2e/configurer/chain/queries_btcstaking.go @@ -4,11 +4,12 @@ import ( "fmt" "net/url" + "github.com/stretchr/testify/require" + "github.com/babylonchain/babylon/test/e2e/util" bbn "github.com/babylonchain/babylon/types" bstypes "github.com/babylonchain/babylon/x/btcstaking/types" ftypes "github.com/babylonchain/babylon/x/finality/types" - "github.com/stretchr/testify/require" ) func (n *NodeConfig) QueryBTCStakingParams() *bstypes.Params { diff --git a/testutil/mocks/checkpointing_expected_keepers.go b/testutil/mocks/checkpointing_expected_keepers.go index 409a1071b..80f0345f2 100644 --- a/testutil/mocks/checkpointing_expected_keepers.go +++ b/testutil/mocks/checkpointing_expected_keepers.go @@ -65,21 +65,6 @@ func (mr *MockEpochingKeeperMockRecorder) EnqueueMsg(ctx, msg interface{}) *gomo return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnqueueMsg", reflect.TypeOf((*MockEpochingKeeper)(nil).EnqueueMsg), ctx, msg) } -// GetAppHash mocks base method. -func (m *MockEpochingKeeper) GetAppHash(ctx context.Context, height uint64) ([]byte, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetAppHash", ctx, height) - ret0, _ := ret[0].([]byte) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetAppHash indicates an expected call of GetAppHash. -func (mr *MockEpochingKeeperMockRecorder) GetAppHash(ctx, height interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAppHash", reflect.TypeOf((*MockEpochingKeeper)(nil).GetAppHash), ctx, height) -} - // GetEpoch mocks base method. func (m *MockEpochingKeeper) GetEpoch(ctx context.Context) *types0.Epoch { m.ctrl.T.Helper() @@ -229,3 +214,17 @@ func (mr *MockCheckpointingHooksMockRecorder) AfterRawCheckpointForgotten(ctx, c mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AfterRawCheckpointForgotten", reflect.TypeOf((*MockCheckpointingHooks)(nil).AfterRawCheckpointForgotten), ctx, ckpt) } + +// AfterRawCheckpointSealed mocks base method. +func (m *MockCheckpointingHooks) AfterRawCheckpointSealed(ctx context.Context, epoch uint64) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "AfterRawCheckpointSealed", ctx, epoch) + ret0, _ := ret[0].(error) + return ret0 +} + +// AfterRawCheckpointSealed indicates an expected call of AfterRawCheckpointSealed. +func (mr *MockCheckpointingHooksMockRecorder) AfterRawCheckpointSealed(ctx, epoch interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AfterRawCheckpointSealed", reflect.TypeOf((*MockCheckpointingHooks)(nil).AfterRawCheckpointSealed), ctx, epoch) +} diff --git a/x/btcstaking/keeper/finality_providers.go b/x/btcstaking/keeper/finality_providers.go index 6b2a4960f..5b2c38d52 100644 --- a/x/btcstaking/keeper/finality_providers.go +++ b/x/btcstaking/keeper/finality_providers.go @@ -5,9 +5,10 @@ import ( "fmt" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/babylonchain/babylon/x/btcstaking/types" ) // SetFinalityProvider adds the given finality provider to KVStore @@ -66,6 +67,27 @@ func (k Keeper) SlashFinalityProvider(ctx context.Context, fpBTCPK []byte) error return nil } +// RevertInactiveFinalityProvider sets the Inactive flag of the given finality provider +// to false +func (k Keeper) RevertInactiveFinalityProvider(ctx context.Context, fpBTCPK []byte) error { + // ensure finality provider exists + fp, err := k.GetFinalityProvider(ctx, fpBTCPK) + if err != nil { + return err + } + + // ignore the finality provider is already slashed + // or detected as inactive + if fp.IsSlashed() || fp.IsInactive() { + return nil + } + + fp.Inactive = false + k.SetFinalityProvider(ctx, fp) + + return nil +} + // finalityProviderStore returns the KVStore of the finality provider set // prefix: FinalityProviderKey // key: Bitcoin secp256k1 PK diff --git a/x/btcstaking/keeper/hooks.go b/x/btcstaking/keeper/hooks.go new file mode 100644 index 000000000..137af32ba --- /dev/null +++ b/x/btcstaking/keeper/hooks.go @@ -0,0 +1,39 @@ +package keeper + +import ( + "context" + "fmt" + + bbntypes "github.com/babylonchain/babylon/types" + "github.com/babylonchain/babylon/x/finality/types" +) + +var _ types.FinalityHooks = Hooks{} + +// Hooks wrapper struct for BTC staking keeper +type Hooks struct { + k Keeper +} + +// Return the finality hooks +func (k Keeper) Hooks() Hooks { + return Hooks{k} +} + +// AfterInactiveFinalityProviderDetected updates the status of the given finality provider to `inactive` +func (h Hooks) AfterInactiveFinalityProviderDetected(ctx context.Context, fpPk *bbntypes.BIP340PubKey) error { + fp, err := h.k.GetFinalityProvider(ctx, fpPk.MustMarshal()) + if err != nil { + return err + } + + if fp.IsInactive() { + return fmt.Errorf("the finality provider %s is already detected as inactive", fpPk.MarshalHex()) + } + + fp.Inactive = true + + h.k.SetFinalityProvider(ctx, fp) + + return nil +} diff --git a/x/btcstaking/keeper/incentive_test.go b/x/btcstaking/keeper/incentive_test.go index d6d3999ac..ec60f11c1 100644 --- a/x/btcstaking/keeper/incentive_test.go +++ b/x/btcstaking/keeper/incentive_test.go @@ -4,11 +4,12 @@ import ( "math/rand" "testing" + "github.com/golang/mock/gomock" + "github.com/stretchr/testify/require" + "github.com/babylonchain/babylon/testutil/datagen" btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/golang/mock/gomock" - "github.com/stretchr/testify/require" ) func FuzzRecordVotingPowerDistCache(f *testing.F) { @@ -71,7 +72,7 @@ func FuzzRecordVotingPowerDistCache(f *testing.F) { require.NotNil(t, dc) require.Equal(t, dc.TotalVotingPower, numFpsWithVotingPower*numBTCDels*stakingValue) maxNumFps := h.BTCStakingKeeper.GetParams(h.Ctx).MaxActiveFinalityProviders - activeFPs := dc.GetActiveFinalityProviders(maxNumFps) + activeFPs := dc.GetActiveFinalityProviderSet(maxNumFps) for _, fpDistInfo := range activeFPs { require.Equal(t, fpDistInfo.TotalVotingPower, numBTCDels*stakingValue) fp, ok := fpsWithVotingPowerMap[fpDistInfo.Addr] diff --git a/x/btcstaking/keeper/keeper.go b/x/btcstaking/keeper/keeper.go index 6c0b9ca68..56d1ac41f 100644 --- a/x/btcstaking/keeper/keeper.go +++ b/x/btcstaking/keeper/keeper.go @@ -7,10 +7,11 @@ import ( corestoretypes "cosmossdk.io/core/store" "cosmossdk.io/log" - "github.com/babylonchain/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/chaincfg" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/babylonchain/babylon/x/btcstaking/types" ) type ( @@ -22,6 +23,8 @@ type ( btccKeeper types.BtcCheckpointKeeper ckptKeeper types.CheckpointingKeeper + hooks types.BtcStakingHooks + btcNet *chaincfg.Params // the address capable of executing a MsgUpdateParams message. Typically, this // should be the x/gov module account. @@ -48,11 +51,24 @@ func NewKeeper( btccKeeper: btccKeeper, ckptKeeper: ckptKeeper, + hooks: nil, + btcNet: btcNet, authority: authority, } } +// SetHooks sets the BTC staking hooks +func (k *Keeper) SetHooks(sh types.BtcStakingHooks) *Keeper { + if k.hooks != nil { + panic("cannot set BTC staking hooks twice") + } + + k.hooks = sh + + return k +} + func (k Keeper) Logger(ctx sdk.Context) log.Logger { return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) } diff --git a/x/btcstaking/keeper/keeper_test.go b/x/btcstaking/keeper/keeper_test.go index 73e44aac0..49da3cdaf 100644 --- a/x/btcstaking/keeper/keeper_test.go +++ b/x/btcstaking/keeper/keeper_test.go @@ -6,6 +6,13 @@ import ( "cosmossdk.io/core/header" sdkmath "cosmossdk.io/math" + "github.com/btcsuite/btcd/btcec/v2" + "github.com/btcsuite/btcd/chaincfg" + "github.com/btcsuite/btcd/wire" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/golang/mock/gomock" + "github.com/stretchr/testify/require" + "github.com/babylonchain/babylon/testutil/datagen" keepertest "github.com/babylonchain/babylon/testutil/keeper" bbn "github.com/babylonchain/babylon/types" @@ -13,12 +20,6 @@ import ( btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" "github.com/babylonchain/babylon/x/btcstaking/keeper" "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/btcsuite/btcd/btcec/v2" - "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btcd/wire" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/golang/mock/gomock" - "github.com/stretchr/testify/require" ) var ( @@ -33,6 +34,7 @@ type Helper struct { BTCLightClientKeeper *types.MockBTCLightClientKeeper BTCCheckpointKeeper *types.MockBtcCheckpointKeeper CheckpointingKeeper *types.MockCheckpointingKeeper + BTCStakingHooks *types.MockBtcStakingHooks MsgServer types.MsgServer Net *chaincfg.Params } @@ -42,6 +44,11 @@ func NewHelper(t testing.TB, btclcKeeper *types.MockBTCLightClientKeeper, btccKe ctx = ctx.WithHeaderInfo(header.Info{Height: 1}) msgSrvr := keeper.NewMsgServerImpl(*k) + ctrl := gomock.NewController(t) + mockedHooks := types.NewMockBtcStakingHooks(ctrl) + mockedHooks.EXPECT().AfterFinalityProviderActivated(gomock.Any(), gomock.Any()).Return(nil).AnyTimes() + k.SetHooks(mockedHooks) + return &Helper{ t: t, Ctx: ctx, diff --git a/x/btcstaking/keeper/power_dist_change.go b/x/btcstaking/keeper/power_dist_change.go index 1f0ff4de2..0d6aa3e2c 100644 --- a/x/btcstaking/keeper/power_dist_change.go +++ b/x/btcstaking/keeper/power_dist_change.go @@ -2,14 +2,16 @@ package keeper import ( "context" + "fmt" "sort" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcutil" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" + + bbn "github.com/babylonchain/babylon/types" + "github.com/babylonchain/babylon/x/btcstaking/types" ) /* power distribution update */ @@ -54,6 +56,14 @@ func (k Keeper) UpdatePowerDist(ctx context.Context) { // to construct the new distribution newDc := k.ProcessAllPowerDistUpdateEvents(ctx, dc, events, maxActiveFps) + // find newly bonded finality providers and execute the hooks + newBondedFinalityProviders := newDc.FindNewActiveFinalityProviders(dc, maxActiveFps) + for _, fp := range newBondedFinalityProviders { + if err := k.hooks.AfterFinalityProviderActivated(ctx, fp.BtcPk); err != nil { + panic(fmt.Errorf("failed to execute after finality provider %s bonded", fp.BtcPk.MarshalHex())) + } + } + // record voting power and cache for this height k.recordVotingPowerAndCache(ctx, newDc, maxActiveFps) // record metrics diff --git a/x/btcstaking/types/btcstaking.go b/x/btcstaking/types/btcstaking.go index 7b5902178..818382fe9 100644 --- a/x/btcstaking/types/btcstaking.go +++ b/x/btcstaking/types/btcstaking.go @@ -5,6 +5,7 @@ import ( "sort" "cosmossdk.io/math" + asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" bbn "github.com/babylonchain/babylon/types" btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" @@ -15,6 +16,10 @@ func (fp *FinalityProvider) IsSlashed() bool { return fp.SlashedBabylonHeight > 0 } +func (fp *FinalityProvider) IsInactive() bool { + return fp.Inactive +} + func (fp *FinalityProvider) ValidateBasic() error { // ensure fields are non-empty and well-formatted if _, err := sdk.AccAddressFromBech32(fp.Addr); err != nil { diff --git a/x/btcstaking/types/btcstaking.pb.go b/x/btcstaking/types/btcstaking.pb.go index cd2d79f7e..62a796b6a 100644 --- a/x/btcstaking/types/btcstaking.pb.go +++ b/x/btcstaking/types/btcstaking.pb.go @@ -90,6 +90,8 @@ type FinalityProvider struct { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed SlashedBtcHeight uint64 `protobuf:"varint,7,opt,name=slashed_btc_height,json=slashedBtcHeight,proto3" json:"slashed_btc_height,omitempty"` + // inactive defines whether the finality provider is detected inactive + Inactive bool `protobuf:"varint,8,opt,name=inactive,proto3" json:"inactive,omitempty"` } func (m *FinalityProvider) Reset() { *m = FinalityProvider{} } @@ -160,6 +162,13 @@ func (m *FinalityProvider) GetSlashedBtcHeight() uint64 { return 0 } +func (m *FinalityProvider) GetInactive() bool { + if m != nil { + return m.Inactive + } + return false +} + // FinalityProviderWithMeta wraps the FinalityProvider with metadata. type FinalityProviderWithMeta struct { // btc_pk is the Bitcoin secp256k1 PK of thisfinality provider @@ -177,6 +186,8 @@ type FinalityProviderWithMeta struct { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed SlashedBtcHeight uint64 `protobuf:"varint,5,opt,name=slashed_btc_height,json=slashedBtcHeight,proto3" json:"slashed_btc_height,omitempty"` + // inactive defines whether the finality provider is detected inactive + Inactive bool `protobuf:"varint,6,opt,name=inactive,proto3" json:"inactive,omitempty"` } func (m *FinalityProviderWithMeta) Reset() { *m = FinalityProviderWithMeta{} } @@ -240,6 +251,13 @@ func (m *FinalityProviderWithMeta) GetSlashedBtcHeight() uint64 { return 0 } +func (m *FinalityProviderWithMeta) GetInactive() bool { + if m != nil { + return m.Inactive + } + return false +} + // BTCDelegation defines a BTC delegation type BTCDelegation struct { // staker_addr is the address to receive rewards from BTC delegation. @@ -744,82 +762,83 @@ func init() { } var fileDescriptor_3851ae95ccfaf7db = []byte{ - // 1191 bytes of a gzipped FileDescriptorProto + // 1209 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 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0xdb, 0x50, 0xf8, 0x23, 0x5c, 0x89, 0x29, 0x8c, 0x01, 0x24, 0x99, 0xe9, 0x59, 0xc9, 0xbc, + 0x1c, 0x55, 0x3e, 0x9c, 0x14, 0x96, 0xac, 0x32, 0x58, 0x4d, 0xa8, 0x66, 0xd2, 0xb0, 0x44, 0xcc, + 0xcc, 0x8a, 0xb8, 0x12, 0xcb, 0x27, 0xac, 0x2b, 0x01, 0x8f, 0x60, 0x35, 0x96, 0x51, 0x02, 0x8f, + 0xeb, 0xf3, 0xef, 0xa9, 0xa7, 0x95, 0x48, 0x4f, 0x31, 0x0c, 0x47, 0x16, 0xac, 0x47, 0x38, 0x53, + 0xa3, 0x0c, 0x16, 0x4b, 0x56, 0x81, 0x5d, 0x3b, 0x07, 0x2c, 0xaa, 0xbe, 0xef, 0x1e, 0x31, 0x43, + 0x9f, 0x14, 0x4a, 0x4e, 0x4e, 0xee, 0x94, 0x72, 0x0b, 0xae, 0xc4, 0xab, 0x98, 0xf9, 0xf1, 0x4e, + 0xe6, 0xe8, 0x0b, 0xc8, 0xd8, 0xa4, 0xcf, 0x75, 0xed, 0x8d, 0x40, 0x53, 0x8b, 0xdc, 0x50, 0x19, + 0xe5, 0x03, 0x58, 0x7f, 0x7d, 0xd1, 0x7d, 0xd7, 0x26, 0x63, 0x54, 0x83, 0x95, 0x78, 0xd1, 0x98, + 0x5d, 0xcc, 0xbb, 0xc1, 0x8d, 0x24, 0x50, 0xde, 0xb8, 0x18, 0xad, 0x9c, 0xfb, 0x98, 0x77, 0x55, + 0x93, 0x4f, 0x35, 0x28, 0x4c, 0x5d, 0x08, 0xdd, 0x83, 0xd4, 0xcc, 0x0f, 0x69, 0xca, 0xeb, 0xa1, + 0x07, 0x90, 0x96, 0x4a, 0x49, 0xcd, 0xaa, 0x14, 0x59, 0xa5, 0xfc, 0xb3, 0x06, 0x57, 0xcf, 0x25, + 0x59, 0x3e, 0x54, 0x16, 0x1b, 0x7d, 0x80, 0xf7, 0xdf, 0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, 0x00, 0x00, 0xff, + 0xff, 0xbc, 0xeb, 0x0e, 0xfb, 0x93, 0x0c, 0x00, 0x00, } func (m *FinalityProvider) Marshal() (dAtA []byte, err error) { @@ -842,6 +861,16 @@ func (m *FinalityProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.Inactive { + i-- + if m.Inactive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } if m.SlashedBtcHeight != 0 { i = encodeVarintBtcstaking(dAtA, i, uint64(m.SlashedBtcHeight)) i-- @@ -930,6 +959,16 @@ func (m *FinalityProviderWithMeta) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l + if m.Inactive { + i-- + if m.Inactive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } if m.SlashedBtcHeight != 0 { i = encodeVarintBtcstaking(dAtA, i, uint64(m.SlashedBtcHeight)) i-- @@ -1466,6 +1505,9 @@ func (m *FinalityProvider) Size() (n int) { if m.SlashedBtcHeight != 0 { n += 1 + sovBtcstaking(uint64(m.SlashedBtcHeight)) } + if m.Inactive { + n += 2 + } return n } @@ -1491,6 +1533,9 @@ func (m *FinalityProviderWithMeta) Size() (n int) { if m.SlashedBtcHeight != 0 { n += 1 + sovBtcstaking(uint64(m.SlashedBtcHeight)) } + if m.Inactive { + n += 2 + } return n } @@ -1933,6 +1978,26 @@ func (m *FinalityProvider) Unmarshal(dAtA []byte) error { break } } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Inactive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBtcstaking + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Inactive = bool(v != 0) default: iNdEx = preIndex skippy, err := skipBtcstaking(dAtA[iNdEx:]) @@ -2094,6 +2159,26 @@ func (m *FinalityProviderWithMeta) Unmarshal(dAtA []byte) error { break } } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Inactive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBtcstaking + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Inactive = bool(v != 0) default: iNdEx = preIndex skippy, err := skipBtcstaking(dAtA[iNdEx:]) diff --git a/x/btcstaking/types/expected_keepers.go b/x/btcstaking/types/expected_keepers.go index 2f8b0428d..c36571416 100644 --- a/x/btcstaking/types/expected_keepers.go +++ b/x/btcstaking/types/expected_keepers.go @@ -25,3 +25,7 @@ type CheckpointingKeeper interface { GetEpoch(ctx context.Context) *etypes.Epoch GetLastFinalizedEpoch(ctx context.Context) uint64 } + +type BtcStakingHooks interface { + AfterFinalityProviderActivated(ctx context.Context, fpPk *bbn.BIP340PubKey) error +} diff --git a/x/btcstaking/types/hooks.go b/x/btcstaking/types/hooks.go new file mode 100644 index 000000000..450ef8c26 --- /dev/null +++ b/x/btcstaking/types/hooks.go @@ -0,0 +1,26 @@ +package types + +import ( + "context" + + "github.com/babylonchain/babylon/types" +) + +// combine multiple BTC staking hooks, all hook functions are run in array sequence +var _ BtcStakingHooks = &MultiBtcStakingHooks{} + +type MultiBtcStakingHooks []BtcStakingHooks + +func NewMultiBtcStakingHooks(hooks ...BtcStakingHooks) MultiBtcStakingHooks { + return hooks +} + +func (h MultiBtcStakingHooks) AfterFinalityProviderActivated(ctx context.Context, btcPk *types.BIP340PubKey) error { + for i := range h { + if err := h[i].AfterFinalityProviderActivated(ctx, btcPk); err != nil { + return err + } + } + + return nil +} diff --git a/x/btcstaking/types/incentive.go b/x/btcstaking/types/incentive.go index 21292ca0d..7dd020896 100644 --- a/x/btcstaking/types/incentive.go +++ b/x/btcstaking/types/incentive.go @@ -20,6 +20,21 @@ func (dc *VotingPowerDistCache) AddFinalityProviderDistInfo(v *FinalityProviderD dc.FinalityProviders = append(dc.FinalityProviders, v) } +func (dc *VotingPowerDistCache) FindNewActiveFinalityProviders(prevDc *VotingPowerDistCache, maxActiveFPs uint32) []*FinalityProviderDistInfo { + activeFps := dc.GetActiveFinalityProviderSet(maxActiveFPs) + prevActiveFps := prevDc.GetActiveFinalityProviderSet(maxActiveFPs) + newActiveFps := make([]*FinalityProviderDistInfo, 0) + + for pk, fp := range activeFps { + _, exists := prevActiveFps[pk] + if !exists { + newActiveFps = append(newActiveFps, fp) + } + } + + return newActiveFps +} + // ApplyActiveFinalityProviders sorts all finality providers, counts the total voting // power of top N finality providers, and records them in cache func (dc *VotingPowerDistCache) ApplyActiveFinalityProviders(maxActiveFPs uint32) { @@ -38,22 +53,30 @@ func (dc *VotingPowerDistCache) GetNumActiveFPs(maxActiveFPs uint32) uint32 { return min(maxActiveFPs, uint32(len(dc.FinalityProviders))) } -// GetActiveFinalityProviders returns the list of active finality providers +// GetActiveFinalityProviderSet returns a set of active finality providers +// keyed by the hex string of the finality provider's BTC public key // i.e., top N of them in terms of voting power -func (dc *VotingPowerDistCache) GetActiveFinalityProviders(maxActiveFPs uint32) []*FinalityProviderDistInfo { +func (dc *VotingPowerDistCache) GetActiveFinalityProviderSet(maxActiveFPs uint32) map[string]*FinalityProviderDistInfo { numActiveFPs := dc.GetNumActiveFPs(maxActiveFPs) - return dc.FinalityProviders[:numActiveFPs] + + activeFps := make(map[string]*FinalityProviderDistInfo) + + for _, fp := range dc.FinalityProviders[:numActiveFPs] { + activeFps[fp.BtcPk.MarshalHex()] = fp + } + + return activeFps } // FilterVotedDistCache filters out a voting power distribution cache // with finality providers that have voted according to a map of given // voters, and their total voted power. func (dc *VotingPowerDistCache) FilterVotedDistCache(maxActiveFPs uint32, voterBTCPKs map[string]struct{}) *VotingPowerDistCache { - activeFPs := dc.GetActiveFinalityProviders(maxActiveFPs) - filteredFps := []*FinalityProviderDistInfo{} + activeFPs := dc.GetActiveFinalityProviderSet(maxActiveFPs) + var filteredFps []*FinalityProviderDistInfo totalVotingPower := uint64(0) - for _, v := range activeFPs { - if _, ok := voterBTCPKs[v.BtcPk.MarshalHex()]; ok { + for k, v := range activeFPs { + if _, ok := voterBTCPKs[k]; ok { filteredFps = append(filteredFps, v) totalVotingPower += v.TotalVotingPower } diff --git a/x/btcstaking/types/mocked_keepers.go b/x/btcstaking/types/mocked_keepers.go index 4211211d8..e3a42ecb0 100644 --- a/x/btcstaking/types/mocked_keepers.go +++ b/x/btcstaking/types/mocked_keepers.go @@ -182,3 +182,40 @@ func (mr *MockCheckpointingKeeperMockRecorder) GetLastFinalizedEpoch(ctx interfa mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLastFinalizedEpoch", reflect.TypeOf((*MockCheckpointingKeeper)(nil).GetLastFinalizedEpoch), ctx) } + +// MockBtcStakingHooks is a mock of BtcStakingHooks interface. +type MockBtcStakingHooks struct { + ctrl *gomock.Controller + recorder *MockBtcStakingHooksMockRecorder +} + +// MockBtcStakingHooksMockRecorder is the mock recorder for MockBtcStakingHooks. +type MockBtcStakingHooksMockRecorder struct { + mock *MockBtcStakingHooks +} + +// NewMockBtcStakingHooks creates a new mock instance. +func NewMockBtcStakingHooks(ctrl *gomock.Controller) *MockBtcStakingHooks { + mock := &MockBtcStakingHooks{ctrl: ctrl} + mock.recorder = &MockBtcStakingHooksMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockBtcStakingHooks) EXPECT() *MockBtcStakingHooksMockRecorder { + return m.recorder +} + +// AfterFinalityProviderActivated mocks base method. +func (m *MockBtcStakingHooks) AfterFinalityProviderActivated(ctx context.Context, fpPk *types.BIP340PubKey) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "AfterFinalityProviderActivated", ctx, fpPk) + ret0, _ := ret[0].(error) + return ret0 +} + +// AfterFinalityProviderActivated indicates an expected call of AfterFinalityProviderActivated. +func (mr *MockBtcStakingHooksMockRecorder) AfterFinalityProviderActivated(ctx, fpPk interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AfterFinalityProviderActivated", reflect.TypeOf((*MockBtcStakingHooks)(nil).AfterFinalityProviderActivated), ctx, fpPk) +} diff --git a/x/btcstaking/types/query.pb.go b/x/btcstaking/types/query.pb.go index ac26ddef0..88a252b59 100644 --- a/x/btcstaking/types/query.pb.go +++ b/x/btcstaking/types/query.pb.go @@ -1504,6 +1504,8 @@ type FinalityProviderResponse struct { Height uint64 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"` // voting_power is the voting power of this finality provider at the given height VotingPower uint64 `protobuf:"varint,9,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` + // inactive defines whether the finality provider is detected inactive + Inactive bool `protobuf:"varint,10,opt,name=inactive,proto3" json:"inactive,omitempty"` } func (m *FinalityProviderResponse) Reset() { *m = FinalityProviderResponse{} } @@ -1588,6 +1590,13 @@ func (m *FinalityProviderResponse) GetVotingPower() uint64 { return 0 } +func (m *FinalityProviderResponse) GetInactive() bool { + if m != nil { + return m.Inactive + } + return false +} + func init() { proto.RegisterType((*QueryParamsRequest)(nil), "babylon.btcstaking.v1.QueryParamsRequest") proto.RegisterType((*QueryParamsResponse)(nil), "babylon.btcstaking.v1.QueryParamsResponse") @@ -1620,124 +1629,125 @@ func init() { func init() { proto.RegisterFile("babylon/btcstaking/v1/query.proto", fileDescriptor_74d49d26f7429697) } var fileDescriptor_74d49d26f7429697 = []byte{ - // 1870 bytes of a gzipped FileDescriptorProto + // 1881 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4b, 0x6c, 0xdb, 0xc8, - 0x19, 0x0e, 0x6d, 0x45, 0x89, 0x7f, 0xd9, 0x8e, 0x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xac, 0x45, 0xdf, 0x82, 0xea, 0x9a, 0xa0, + 0xaa, 0x19, 0x04, 0x73, 0x23, 0x3b, 0x84, 0xbe, 0x61, 0x3b, 0x2e, 0xd3, 0x26, 0x68, 0x95, 0x74, + 0xd7, 0x7c, 0x23, 0x30, 0x9a, 0x91, 0xd6, 0xcb, 0xe9, 0x34, 0x09, 0x4f, 0x39, 0xdd, 0x4a, 0x86, + 0x2c, 0xcf, 0xe7, 0x04, 0xca, 0x02, 0xa0, 0x1f, 0x86, 0xe6, 0x54, 0x99, 0x74, 0x0d, 0x3f, 0x6f, + 0x61, 0x42, 0x15, 0x0d, 0xde, 0xeb, 0x5a, 0x25, 0xbe, 0xe7, 0x12, 0x8c, 0x3e, 0x84, 0x3c, 0xb7, + 0x42, 0x96, 0x2e, 0x48, 0xab, 0x85, 0xf2, 0x52, 0x29, 0x35, 0xc4, 0x25, 0xce, 0x56, 0xc9, 0x7d, + 0xf5, 0x7a, 0xe5, 0x98, 0x26, 0x58, 0x94, 0xef, 0xc2, 0x62, 0x42, 0x66, 0x65, 0xff, 0x47, 0x38, + 0x20, 0x8e, 0xe7, 0x0a, 0x95, 0x48, 0x86, 0x13, 0x7b, 0x7c, 0x85, 0x09, 0x9f, 0xd5, 0xa2, 0x4f, + 0xe5, 0x0b, 0x38, 0x9f, 0xce, 0x78, 0x14, 0x56, 0xd9, 0xb0, 0xc4, 0x84, 0x7f, 0xea, 0xb8, 0xc6, + 0xae, 0x43, 0xf7, 0xab, 0x81, 0xb7, 0xe7, 0x58, 0x38, 0x88, 0x42, 0x81, 0x3e, 0x05, 0x88, 0x33, + 0x24, 0x34, 0x5c, 0x2e, 0x89, 0x12, 0x08, 0xd3, 0x59, 0xe2, 0x35, 0x27, 0xd2, 0x59, 0xaa, 0x1a, + 0x36, 0x16, 0xbc, 0x5a, 0x82, 0x53, 0xf9, 0x8b, 0x04, 0xcb, 0x59, 0x9a, 0x84, 0x23, 0x3f, 0x03, + 0x54, 0x17, 0x9b, 0x61, 0xa5, 0xf1, 0x5d, 0x59, 0xba, 0x30, 0xb9, 0x5a, 0x28, 0xab, 0x19, 0x4e, + 0xf5, 0x4a, 0x8b, 0x84, 0x69, 0xa7, 0xea, 0xbd, 0x7a, 0xd0, 0xfd, 0x2e, 0x57, 0x26, 0x98, 0x2b, + 0x57, 0x86, 0xba, 0x22, 0xe4, 0x25, 0x7d, 0xd9, 0x10, 0x19, 0xe9, 0x57, 0xce, 0x63, 0x76, 0x11, + 0x66, 0xeb, 0xbe, 0x5e, 0xa3, 0xa6, 0xee, 0x3f, 0xd3, 0x1b, 0xb8, 0xcd, 0xc2, 0x36, 0xad, 0x41, + 0xdd, 0xaf, 0x50, 0xb3, 0xfa, 0xec, 0x01, 0x6e, 0x2b, 0x07, 0x19, 0x71, 0xef, 0x04, 0xe3, 0xa7, + 0x70, 0xaa, 0x2f, 0x18, 0x22, 0xfc, 0x63, 0xc7, 0x62, 0xbe, 0x37, 0x16, 0xca, 0xef, 0x25, 0x28, + 0x32, 0xfd, 0x95, 0x27, 0x9b, 0x5b, 0x78, 0x17, 0xdb, 0xbc, 0xdd, 0x23, 0x07, 0x2a, 0x90, 0x27, + 0xd4, 0xa0, 0x2d, 0x5e, 0x52, 0x73, 0xe5, 0x6b, 0x19, 0x1a, 0xbb, 0xb8, 0x77, 0x18, 0x87, 0x26, + 0x38, 0x7b, 0x0a, 0x67, 0xe2, 0xd0, 0x85, 0xf3, 0x67, 0x49, 0x34, 0x4e, 0xaf, 0xa9, 0x22, 0x50, + 0x4f, 0xe1, 0x64, 0x18, 0x69, 0x2b, 0xde, 0x12, 0x25, 0x73, 0x63, 0x14, 0xa3, 0x3b, 0x31, 0x9a, + 0xab, 0x51, 0x33, 0x21, 0xfe, 0xe8, 0x8a, 0xa5, 0x0e, 0x57, 0x53, 0x33, 0x5d, 0xf5, 0x7e, 0x8e, + 0x83, 0x0d, 0xfa, 0x00, 0x3b, 0x76, 0x83, 0x8e, 0x5e, 0x39, 0xe8, 0x0c, 0xe4, 0x1b, 0x8c, 0x87, + 0x19, 0x95, 0xd3, 0xc4, 0x97, 0xf2, 0x18, 0xae, 0x8d, 0xa2, 0x47, 0x44, 0xed, 0x22, 0xcc, 0xec, + 0x79, 0xd4, 0x71, 0x6d, 0xdd, 0x0f, 0xf7, 0x99, 0x9e, 0x9c, 0x56, 0xe0, 0x6b, 0x8c, 0x45, 0xd9, + 0x86, 0xd5, 0x54, 0x81, 0x9b, 0xad, 0x20, 0xc0, 0x2e, 0x65, 0x44, 0x63, 0x54, 0x7c, 0x56, 0x1c, + 0xba, 0xc5, 0x09, 0xf3, 0x62, 0x27, 0xa5, 0xa4, 0x93, 0x7d, 0x66, 0x4f, 0xf4, 0x9b, 0xfd, 0x2b, + 0x09, 0xae, 0x33, 0x45, 0x1b, 0x26, 0x75, 0xf6, 0x70, 0x1f, 0xdc, 0xf4, 0x86, 0x3c, 0x4b, 0xd5, + 0x51, 0xd5, 0xef, 0x5f, 0x25, 0xb8, 0x31, 0x9a, 0x3d, 0x47, 0x08, 0x83, 0x3f, 0x76, 0x68, 0x63, + 0x1b, 0x53, 0xe3, 0xff, 0x0a, 0x83, 0x4b, 0xa2, 0x31, 0x99, 0x63, 0x06, 0xc5, 0x56, 0x57, 0x60, + 0x95, 0x3b, 0x02, 0x25, 0xfb, 0xb6, 0x07, 0xe7, 0x58, 0xf9, 0xad, 0x04, 0x57, 0x52, 0x2b, 0x25, + 0x05, 0xa8, 0x46, 0xe8, 0x97, 0xa3, 0xca, 0xe3, 0xbf, 0xa4, 0x8c, 0x7e, 0x48, 0x03, 0xa5, 0x00, + 0xce, 0x25, 0x40, 0xc9, 0x0b, 0x52, 0xe0, 0xe9, 0xce, 0x50, 0x78, 0xf2, 0xd2, 0x44, 0x6b, 0x67, + 0x63, 0xa0, 0xea, 0x22, 0x38, 0xba, 0xbc, 0x7e, 0x06, 0xe7, 0xfa, 0x01, 0x37, 0x8a, 0xf8, 0x4d, + 0x78, 0x4f, 0x18, 0xab, 0xd3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, 0x6f, 0x6f, 0x97, 0x8f, 0xfd, 0x64, 0xe8, 0x75, 0xaf, + 0x9d, 0x54, 0xc8, 0xee, 0x7e, 0xb5, 0x3c, 0xfb, 0x8f, 0xe9, 0xf6, 0xff, 0x02, 0x00, 0x00, 0xff, + 0xff, 0x9d, 0x96, 0x10, 0xe8, 0xad, 0x1b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3269,6 +3279,16 @@ func (m *FinalityProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l + if m.Inactive { + i-- + if m.Inactive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x50 + } if m.VotingPower != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.VotingPower)) i-- @@ -3828,6 +3848,9 @@ func (m *FinalityProviderResponse) Size() (n int) { if m.VotingPower != 0 { n += 1 + sovQuery(uint64(m.VotingPower)) } + if m.Inactive { + n += 2 + } return n } @@ -6905,6 +6928,26 @@ func (m *FinalityProviderResponse) Unmarshal(dAtA []byte) error { break } } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Inactive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Inactive = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) diff --git a/x/finality/abci.go b/x/finality/abci.go index facf59d75..f69fac165 100644 --- a/x/finality/abci.go +++ b/x/finality/abci.go @@ -4,10 +4,12 @@ import ( "context" "time" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/telemetry" + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/babylonchain/babylon/x/finality/keeper" + "github.com/babylonchain/babylon/x/finality/types" ) func BeginBlocker(ctx context.Context, k keeper.Keeper) error { @@ -25,6 +27,17 @@ func EndBlocker(ctx context.Context, k keeper.Keeper) ([]abci.ValidatorUpdate, e k.IndexBlock(ctx) // tally all non-finalised blocks k.TallyBlocks(ctx) + + // detect inactive finality providers if there are any + // heightToExamine is determined by the current height - params.FinalitySigTimeout + // which indicates that finality providers have up to `params.FinalitySigTimeout` blocks + // to send votes on the height to be examined as whether `missed` or not (1 or 0 of a + // bit in a bit array of size params.SignedBlocksWindow) + // once this height is judged as `missed`, the judgement is irreversible + heightToExamine := sdk.UnwrapSDKContext(ctx).HeaderInfo().Height - k.GetParams(ctx).FinalitySigTimeout + if heightToExamine >= 1 { + k.HandleLiveness(ctx, heightToExamine) + } } return []abci.ValidatorUpdate{}, nil diff --git a/x/finality/keeper/hooks.go b/x/finality/keeper/hooks.go new file mode 100644 index 000000000..8d18422c7 --- /dev/null +++ b/x/finality/keeper/hooks.go @@ -0,0 +1,41 @@ +package keeper + +import ( + "context" + "errors" + + "cosmossdk.io/collections" + sdk "github.com/cosmos/cosmos-sdk/types" + + bbntypes "github.com/babylonchain/babylon/types" + "github.com/babylonchain/babylon/x/finality/types" +) + +var _ types.BtcStakingHooks = Hooks{} + +// Hooks wrapper struct for finality keeper +type Hooks struct { + k Keeper +} + +// Return the BTC staking hooks +func (k Keeper) Hooks() Hooks { + return Hooks{k} +} + +// AfterFinalityProviderActivated updates the signing info start height or create a new signing info +func (h Hooks) AfterFinalityProviderActivated(ctx context.Context, fpPk *bbntypes.BIP340PubKey) error { + signingInfo, err := h.k.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) + sdkCtx := sdk.UnwrapSDKContext(ctx) + if err == nil { + signingInfo.StartHeight = sdkCtx.BlockHeight() + } else if errors.Is(err, collections.ErrNotFound) { + signingInfo = types.NewFinalityProviderSigningInfo( + fpPk, + sdkCtx.BlockHeight(), + 0, + ) + } + + return h.k.FinalityProviderSigningTracker.Set(ctx, fpPk.MustMarshal(), signingInfo) +} diff --git a/x/finality/keeper/keeper.go b/x/finality/keeper/keeper.go index 590d54eee..8b131d070 100644 --- a/x/finality/keeper/keeper.go +++ b/x/finality/keeper/keeper.go @@ -4,8 +4,8 @@ import ( "context" "fmt" + "cosmossdk.io/collections" corestoretypes "cosmossdk.io/core/store" - "cosmossdk.io/log" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" @@ -23,24 +23,57 @@ type ( // the address capable of executing a MsgUpdateParams message. Typically, this // should be the x/gov module account. authority string + + hooks types.FinalityHooks + + // FinalityProviderSigningTracker key: BIP340PubKey bytes | value: FinalityProviderSigningInfo + FinalityProviderSigningTracker collections.Map[[]byte, types.FinalityProviderSigningInfo] + // FinalityProviderMissedBlockBitmap key: BIP340PubKey bytes | value: byte key for a finality provider's missed block bitmap chunk + FinalityProviderMissedBlockBitmap collections.Map[collections.Pair[[]byte, uint64], []byte] } ) func NewKeeper( cdc codec.BinaryCodec, storeService corestoretypes.KVStoreService, - btctakingKeeper types.BTCStakingKeeper, + btcstakingKeeper types.BTCStakingKeeper, incentiveKeeper types.IncentiveKeeper, authority string, ) Keeper { + sb := collections.NewSchemaBuilder(storeService) return Keeper{ cdc: cdc, storeService: storeService, - BTCStakingKeeper: btctakingKeeper, + BTCStakingKeeper: btcstakingKeeper, IncentiveKeeper: incentiveKeeper, authority: authority, + FinalityProviderSigningTracker: collections.NewMap( + sb, + types.FinalityProviderSigningInfoKeyPrefix, + "finality_provider_signing_info", + collections.BytesKey, + codec.CollValue[types.FinalityProviderSigningInfo](cdc), + ), + FinalityProviderMissedBlockBitmap: collections.NewMap( + sb, + types.FinalityProviderMissedBlockBitmapKeyPrefix, + "finality_provider_missed_block_bitmap", + collections.PairKeyCodec(collections.BytesKey, collections.Uint64Key), + collections.BytesValue, + ), + } +} + +// SetHooks sets the finality hooks +func (k *Keeper) SetHooks(sh types.FinalityHooks) *Keeper { + if k.hooks != nil { + panic("cannot set finality hooks twice") } + + k.hooks = sh + + return k } func (k Keeper) Logger(ctx sdk.Context) log.Logger { diff --git a/x/finality/keeper/liveness.go b/x/finality/keeper/liveness.go new file mode 100644 index 000000000..f4da183e0 --- /dev/null +++ b/x/finality/keeper/liveness.go @@ -0,0 +1,187 @@ +package keeper + +import ( + "context" + "fmt" + + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/babylonchain/babylon/types" + finalitytypes "github.com/babylonchain/babylon/x/finality/types" +) + +// HandleLiveness handles liveness of each active finality provider for a given height +// including identifying inactive finality providers and applying punishment +func (k Keeper) HandleLiveness(ctx context.Context, height int64) { + // get all the active finality providers for the height + fpSet := k.BTCStakingKeeper.GetVotingPowerTable(ctx, uint64(height)) + // get all the voters for the height + voterBTCPKs := k.GetVoters(ctx, uint64(height)) + + // Iterate over all the finality providers which *should* have signed this block + // store whether or not they have actually signed it, identify inactive + // ones, and apply punishment + for fpPkHex := range fpSet { + fpPk, err := types.NewBIP340PubKeyFromHex(fpPkHex) + if err != nil { + panic(fmt.Errorf("invalid finality provider public key %s: %w", fpPkHex, err)) + } + + _, ok := voterBTCPKs[fpPkHex] + missed := !ok + + err = k.HandleFinalityProviderLiveness(ctx, fpPk, missed, height) + if err != nil { + panic(fmt.Errorf("failed to handle liveness of finality provider %s: %w", fpPkHex, err)) + } + } +} + +// HandleFinalityProviderLiveness updates the voting history of the given finality provider and +// detect inactive the finality provider if the number of missed block is reached to the threshold in a +// sliding window +func (k Keeper) HandleFinalityProviderLiveness(ctx context.Context, fpPk *types.BIP340PubKey, missed bool, height int64) error { + params := k.GetParams(ctx) + fp, err := k.BTCStakingKeeper.GetFinalityProvider(ctx, fpPk.MustMarshal()) + if err != nil { + return err + } + + // don't update missed blocks when finality provider is already detected slashed + if fp.IsSlashed() { + return nil + } + + updated, signInfo, err := k.updateSigningInfo(ctx, fpPk, missed, height) + if err != nil { + return err + } + + signedBlocksWindow := params.SignedBlocksWindow + minSignedPerWindow := params.MinSignedPerWindowInt() + + sdkCtx := sdk.UnwrapSDKContext(ctx) + if missed { + // TODO emit event + + k.Logger(sdkCtx).Debug( + "absent finality provider", + "height", height, + "public_key", fpPk.MarshalHex(), + "missed", signInfo.MissedBlocksCounter, + "threshold", minSignedPerWindow, + ) + } + + minHeight := signInfo.StartHeight + signedBlocksWindow + maxMissed := signedBlocksWindow - minSignedPerWindow + + // if we are past the minimum height and the finality provider has missed too many blocks, punish them + if height > minHeight && signInfo.MissedBlocksCounter > maxMissed { + updated = true + // TODO emit event + + // Inactivity detected + err = k.hooks.AfterInactiveFinalityProviderDetected(ctx, fpPk) + if err != nil { + return err + } + + k.Logger(sdkCtx).Info( + "detected inactive finality provider", + "height", height, + "public_key", fpPk.MarshalHex(), + ) + } else if fp.IsInactive() { + updated = true + // TODO emit event + + // change the Inactive flag of the finality provider to false + err = k.BTCStakingKeeper.RevertInactiveFinalityProvider(ctx, fpPk.MustMarshal()) + if err != nil { + return fmt.Errorf("failed to revert inactive finality provider %s: %w", fpPk.MarshalHex(), err) + } + + k.Logger(sdkCtx).Info( + "reverted inactive finality provider", + "height", height, + "public_key", fpPk.MarshalHex(), + ) + } + + // Set the updated signing info + if updated { + return k.FinalityProviderSigningTracker.Set(ctx, fpPk.MustMarshal(), *signInfo) + } + + return nil +} + +func (k Keeper) updateSigningInfo( + ctx context.Context, + fpPk *types.BIP340PubKey, + missed bool, + height int64, +) (bool, *finalitytypes.FinalityProviderSigningInfo, error) { + params := k.GetParams(ctx) + // fetch signing info + signInfo, err := k.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) + if err != nil { + return false, nil, err + } + + signedBlocksWindow := params.SignedBlocksWindow + + // Compute the relative index, so we count the blocks the finality provider *should* + // have signed. We will also use the 0-value default signing info if not present. + // The index is in the range [0, SignedBlocksWindow) + // and is used to see if a finality provider signed a block at the given height, which + // is represented by a bit in the bitmap. + // The finality provider start height should get mapped to index 0, so we computed index as: + // (height - startHeight) % signedBlocksWindow + // + // NOTE: There is subtle different behavior between genesis finality provider and non-genesis + // finality providers. + // A genesis finality provider will start at index 0, whereas a non-genesis finality provider's + // startHeight will be the block they become active for, but the first block they vote on will be + // one later. (And thus their first vote is at index 1) + if signInfo.StartHeight > height { + return false, nil, fmt.Errorf("invalid state, the finality provider signing info has start height %d, which is greater than the current height %d", + signInfo.StartHeight, height) + } + index := (height - signInfo.StartHeight) % signedBlocksWindow + + // determine if the finality provider signed the previous block + previous, err := k.GetMissedBlockBitmapValue(ctx, fpPk, index) + if err != nil { + return false, nil, fmt.Errorf("failed to get the finality provider's bitmap value: %w", err) + } + + modifiedSignInfo := false + switch { + case !previous && missed: + // Bitmap value has changed from not missed to missed, so we flip the bit + // and increment the counter. + if err := k.SetMissedBlockBitmapValue(ctx, fpPk, index, true); err != nil { + return false, nil, err + } + + signInfo.IncrementMissedBlocksCounter() + modifiedSignInfo = true + + case previous && !missed: + // Bitmap value has changed from missed to not missed, so we flip the bit + // and decrement the counter. + if err := k.SetMissedBlockBitmapValue(ctx, fpPk, index, false); err != nil { + return false, nil, err + } + + signInfo.DecrementMissedBlocksCounter() + modifiedSignInfo = true + + default: + // bitmap value at this index has not changed, no need to update counter + } + + return modifiedSignInfo, &signInfo, nil +} diff --git a/x/finality/keeper/liveness_test.go b/x/finality/keeper/liveness_test.go new file mode 100644 index 000000000..4f110b442 --- /dev/null +++ b/x/finality/keeper/liveness_test.go @@ -0,0 +1,90 @@ +package keeper_test + +import ( + "math/rand" + "testing" + + "github.com/golang/mock/gomock" + "github.com/stretchr/testify/require" + + "github.com/babylonchain/babylon/testutil/datagen" + keepertest "github.com/babylonchain/babylon/testutil/keeper" + bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonchain/babylon/x/finality/types" +) + +func FuzzHandleLiveness(f *testing.F) { + datagen.AddRandomSeedsToFuzzer(f, 10) + + f.Fuzz(func(t *testing.T, seed int64) { + r := rand.New(rand.NewSource(seed)) + ctrl := gomock.NewController(t) + defer ctrl.Finish() + + bsKeeper := types.NewMockBTCStakingKeeper(ctrl) + bsKeeper.EXPECT().GetParams(gomock.Any()).Return(bstypes.Params{MaxActiveFinalityProviders: 100}).AnyTimes() + iKeeper := types.NewMockIncentiveKeeper(ctrl) + fKeeper, ctx := keepertest.FinalityKeeper(t, bsKeeper, iKeeper) + + mockedHooks := types.NewMockFinalityHooks(ctrl) + mockedHooks.EXPECT().AfterInactiveFinalityProviderDetected(gomock.Any(), gomock.Any()).Return(nil).AnyTimes() + fKeeper.SetHooks(mockedHooks) + + params := fKeeper.GetParams(ctx) + fpPk, err := datagen.GenRandomBIP340PubKey(r) + require.NoError(t, err) + bsKeeper.EXPECT().GetFinalityProvider(gomock.Any(), fpPk.MustMarshal()).Return(&bstypes.FinalityProvider{Inactive: false}, nil).AnyTimes() + signingInfo := types.NewFinalityProviderSigningInfo( + fpPk, + 1, + 0, + ) + err = fKeeper.FinalityProviderSigningTracker.Set(ctx, fpPk.MustMarshal(), signingInfo) + require.NoError(t, err) + + // activate BTC staking protocol at a random height + activatedHeight := int64(datagen.RandomInt(r, 10) + 1) + + // for signed blocks, mark the finality provider as having signed + height := activatedHeight + for ; height < activatedHeight+params.SignedBlocksWindow; height++ { + err := fKeeper.HandleFinalityProviderLiveness(ctx, fpPk, false, height) + require.NoError(t, err) + } + signingInfo, err = fKeeper.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) + require.NoError(t, err) + require.Equal(t, int64(0), signingInfo.MissedBlocksCounter) + + minSignedPerWindow := params.MinSignedPerWindowInt() + maxMissed := params.SignedBlocksWindow - minSignedPerWindow + // for blocks up to the inactivity boundary, mark the finality provider as having not signed + inactiveDetectedHeight := height + maxMissed + 1 + for ; height < inactiveDetectedHeight; height++ { + err := fKeeper.HandleFinalityProviderLiveness(ctx, fpPk, true, height) + require.NoError(t, err) + signingInfo, err = fKeeper.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) + require.NoError(t, err) + if height < inactiveDetectedHeight-1 { + require.GreaterOrEqual(t, maxMissed, signingInfo.MissedBlocksCounter) + } else { + require.Less(t, maxMissed, signingInfo.MissedBlocksCounter) + } + } + + // perform heights that not missed, expect the inactive is reverted + bsKeeper.EXPECT().RevertInactiveFinalityProvider(gomock.Any(), fpPk.MustMarshal()).Return(nil).AnyTimes() + inactiveRevertedHeight := height + maxMissed + for ; height < inactiveRevertedHeight; height++ { + err := fKeeper.HandleFinalityProviderLiveness(ctx, fpPk, false, height) + require.NoError(t, err) + signingInfo, err = fKeeper.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) + require.NoError(t, err) + if height < inactiveRevertedHeight-1 { + require.Less(t, maxMissed, signingInfo.MissedBlocksCounter) + } else { + // the inactive fp is reverted + require.Equal(t, maxMissed, signingInfo.MissedBlocksCounter) + } + } + }) +} diff --git a/x/finality/keeper/params.go b/x/finality/keeper/params.go index 2b0d78a79..15241fefc 100644 --- a/x/finality/keeper/params.go +++ b/x/finality/keeper/params.go @@ -2,6 +2,7 @@ package keeper import ( "context" + "github.com/babylonchain/babylon/x/finality/types" ) diff --git a/x/finality/keeper/signing_info.go b/x/finality/keeper/signing_info.go new file mode 100644 index 000000000..262687a13 --- /dev/null +++ b/x/finality/keeper/signing_info.go @@ -0,0 +1,103 @@ +package keeper + +import ( + "context" + "errors" + + "cosmossdk.io/collections" + errorsmod "cosmossdk.io/errors" + "github.com/bits-and-blooms/bitset" + "github.com/cosmos/cosmos-sdk/x/slashing/types" + + bbntypes "github.com/babylonchain/babylon/types" + finalitytypes "github.com/babylonchain/babylon/x/finality/types" +) + +// GetMissedBlockBitmapValue returns true if a finality provider missed signing +// a block at the given index and false otherwise. The index provided is assumed +// to be the index in the range [0, SignedBlocksWindow), which represents the bitmap +// where each bit represents a height, and is determined by the finality provider's +// IndexOffset modulo SignedBlocksWindow. This index is used to fetch the chunk +// in the bitmap and the relative bit in that chunk. +func (k Keeper) GetMissedBlockBitmapValue(ctx context.Context, fpPk *bbntypes.BIP340PubKey, index int64) (bool, error) { + // get the chunk or "word" in the logical bitmap + chunkIndex := index / finalitytypes.MissedBlockBitmapChunkSize + + bs := bitset.New(uint(finalitytypes.MissedBlockBitmapChunkSize)) + chunk, err := k.getMissedBlockBitmapChunk(ctx, fpPk, chunkIndex) + if err != nil { + return false, errorsmod.Wrapf(err, "failed to get bitmap chunk; index: %d", index) + } + + if chunk != nil { + if err := bs.UnmarshalBinary(chunk); err != nil { + return false, errorsmod.Wrapf(err, "failed to decode bitmap chunk; index: %d", index) + } + } + + // get the bit position in the chunk of the logical bitmap, where Test() + // checks if the bit is set. + bitIndex := index % types.MissedBlockBitmapChunkSize + return bs.Test(uint(bitIndex)), nil +} + +// SetMissedBlockBitmapValue sets, i.e. flips, a bit in the validator's missed +// block bitmap. When missed=true, the bit is set, otherwise it set to zero. The +// index provided is assumed to be the index in the range [0, SignedBlocksWindow), +// which represents the bitmap where each bit represents a height, and is +// determined by the validator's IndexOffset modulo SignedBlocksWindow. This +// index is used to fetch the chunk in the bitmap and the relative bit in that +// chunk. +func (k Keeper) SetMissedBlockBitmapValue(ctx context.Context, fpPk *bbntypes.BIP340PubKey, index int64, missed bool) error { + // get the chunk or "word" in the logical bitmap + chunkIndex := index / types.MissedBlockBitmapChunkSize + + bs := bitset.New(uint(types.MissedBlockBitmapChunkSize)) + chunk, err := k.getMissedBlockBitmapChunk(ctx, fpPk, chunkIndex) + if err != nil { + return errorsmod.Wrapf(err, "failed to get bitmap chunk; index: %d", index) + } + + if chunk != nil { + if err := bs.UnmarshalBinary(chunk); err != nil { + return errorsmod.Wrapf(err, "failed to decode bitmap chunk; index: %d", index) + } + } + + // get the bit position in the chunk of the logical bitmap + bitIndex := uint(index % types.MissedBlockBitmapChunkSize) + if missed { + bs.Set(bitIndex) + } else { + bs.Clear(bitIndex) + } + + updatedChunk, err := bs.MarshalBinary() + if err != nil { + return errorsmod.Wrapf(err, "failed to encode bitmap chunk; index: %d", index) + } + + return k.SetMissedBlockBitmapChunk(ctx, fpPk, chunkIndex, updatedChunk) +} + +// DeleteMissedBlockBitmap removes a validator's missed block bitmap from state. +func (k Keeper) DeleteMissedBlockBitmap(ctx context.Context, fpPk *bbntypes.BIP340PubKey) error { + rng := collections.NewPrefixedPairRange[[]byte, uint64](fpPk.MustMarshal()) + return k.FinalityProviderMissedBlockBitmap.Clear(ctx, rng) +} + +// SetMissedBlockBitmapChunk sets the bitmap chunk at the given chunk index for +// a validator's missed block signing window. +func (k Keeper) SetMissedBlockBitmapChunk(ctx context.Context, fpPk *bbntypes.BIP340PubKey, chunkIndex int64, chunk []byte) error { + return k.FinalityProviderMissedBlockBitmap.Set(ctx, collections.Join(fpPk.MustMarshal(), uint64(chunkIndex)), chunk) +} + +// getMissedBlockBitmapChunk gets the bitmap chunk at the given chunk index for +// a finality provider's missed block signing window. +func (k Keeper) getMissedBlockBitmapChunk(ctx context.Context, fpPk *bbntypes.BIP340PubKey, chunkIndex int64) ([]byte, error) { + chunk, err := k.FinalityProviderMissedBlockBitmap.Get(ctx, collections.Join(fpPk.MustMarshal(), uint64(chunkIndex))) + if err != nil && !errors.Is(err, collections.ErrNotFound) { + return nil, err + } + return chunk, nil +} diff --git a/x/finality/types/expected_keepers.go b/x/finality/types/expected_keepers.go index cbf8d2072..291683a28 100644 --- a/x/finality/types/expected_keepers.go +++ b/x/finality/types/expected_keepers.go @@ -3,6 +3,7 @@ package types import ( "context" + bbn "github.com/babylonchain/babylon/types" bstypes "github.com/babylonchain/babylon/x/btcstaking/types" ) @@ -17,9 +18,18 @@ type BTCStakingKeeper interface { GetVotingPowerDistCache(ctx context.Context, height uint64) (*bstypes.VotingPowerDistCache, error) RemoveVotingPowerDistCache(ctx context.Context, height uint64) GetLastFinalizedEpoch(ctx context.Context) uint64 + RevertInactiveFinalityProvider(ctx context.Context, fpBTCPK []byte) error } // IncentiveKeeper defines the expected interface needed to distribute rewards. type IncentiveKeeper interface { RewardBTCStaking(ctx context.Context, height uint64, filteredDc *bstypes.VotingPowerDistCache) } + +type BtcStakingHooks interface { + AfterFinalityProviderActivated(ctx context.Context, btcPk *bbn.BIP340PubKey) error +} + +type FinalityHooks interface { + AfterInactiveFinalityProviderDetected(ctx context.Context, btcPk *bbn.BIP340PubKey) error +} diff --git a/x/finality/types/finality.pb.go b/x/finality/types/finality.pb.go index 952152352..466fe2bd9 100644 --- a/x/finality/types/finality.pb.go +++ b/x/finality/types/finality.pb.go @@ -233,10 +233,70 @@ func (m *Evidence) GetForkAppHash() []byte { return nil } +// FinalityProviderSigningInfo defines a finality provider's signing info for monitoring their +// liveness activity. +type FinalityProviderSigningInfo struct { + // fp_btc_pk is the BTC PK of the finality provider that casts this vote + FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + // start_height is the block height at which finality provider become active + StartHeight int64 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` + // missed_blocks_counter defines a counter to avoid unnecessary array reads. + // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + MissedBlocksCounter int64 `protobuf:"varint,3,opt,name=missed_blocks_counter,json=missedBlocksCounter,proto3" json:"missed_blocks_counter,omitempty"` +} + +func (m *FinalityProviderSigningInfo) Reset() { *m = FinalityProviderSigningInfo{} } +func (m *FinalityProviderSigningInfo) String() string { return proto.CompactTextString(m) } +func (*FinalityProviderSigningInfo) ProtoMessage() {} +func (*FinalityProviderSigningInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_ca5b87e52e3e6d02, []int{3} +} +func (m *FinalityProviderSigningInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FinalityProviderSigningInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FinalityProviderSigningInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FinalityProviderSigningInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinalityProviderSigningInfo.Merge(m, src) +} +func (m *FinalityProviderSigningInfo) XXX_Size() int { + return m.Size() +} +func (m *FinalityProviderSigningInfo) XXX_DiscardUnknown() { + xxx_messageInfo_FinalityProviderSigningInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_FinalityProviderSigningInfo proto.InternalMessageInfo + +func (m *FinalityProviderSigningInfo) GetStartHeight() int64 { + if m != nil { + return m.StartHeight + } + return 0 +} + +func (m *FinalityProviderSigningInfo) GetMissedBlocksCounter() int64 { + if m != nil { + return m.MissedBlocksCounter + } + return 0 +} + func init() { proto.RegisterType((*IndexedBlock)(nil), "babylon.finality.v1.IndexedBlock") proto.RegisterType((*PubRandCommit)(nil), "babylon.finality.v1.PubRandCommit") proto.RegisterType((*Evidence)(nil), "babylon.finality.v1.Evidence") + proto.RegisterType((*FinalityProviderSigningInfo)(nil), "babylon.finality.v1.FinalityProviderSigningInfo") } func init() { @@ -244,37 +304,41 @@ func init() { } var fileDescriptor_ca5b87e52e3e6d02 = []byte{ - // 474 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x1b, 0x56, 0xda, 0xee, 0x35, 0x13, 0x10, 0xa6, 0xa9, 0x20, 0x94, 0x95, 0x9e, 0x7a, - 0x40, 0xcd, 0xc6, 0x26, 0xc4, 0x95, 0xa0, 0xa1, 0x0d, 0x0e, 0x54, 0x0e, 0x27, 0x2e, 0x91, 0xe3, - 0xb8, 0x89, 0xd5, 0xc6, 0xb6, 0x12, 0xa7, 0x5a, 0xf9, 0x14, 0x7c, 0x2c, 0x8e, 0x3b, 0xa2, 0x1d, - 0x26, 0xd4, 0x7e, 0x0f, 0x84, 0xe2, 0xba, 0xe9, 0x76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0xb5, 0xbe, 0xaf, 0xdc, 0xc6, 0xd5, 0xca, 0x6d, 0xfc, 0x5c, 0xb9, 0x8d, 0xaf, 0x47, - 0x7f, 0x03, 0x5c, 0x6e, 0xbf, 0x96, 0x66, 0x45, 0x2d, 0xfd, 0x55, 0x4e, 0xfe, 0x04, 0x00, 0x00, - 0xff, 0xff, 0xab, 0xc1, 0xba, 0xbe, 0x7b, 0x03, 0x00, 0x00, + // 533 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4d, 0x6f, 0xd3, 0x30, + 0x18, 0x6e, 0x68, 0x69, 0x3b, 0x37, 0x13, 0x90, 0x8d, 0xa9, 0x7c, 0x28, 0x2b, 0x39, 0xf5, 0x80, + 0xda, 0x7d, 0x09, 0x71, 0x25, 0xd3, 0xd0, 0x0a, 0x07, 0x2a, 0x87, 0x13, 0x17, 0xcb, 0x71, 0xdc, + 0xc4, 0x6a, 0x63, 0x5b, 0x89, 0x53, 0xad, 0xfc, 0x0a, 0x7e, 0xd6, 0x8e, 0x3b, 0xa2, 0x1d, 0x26, + 0xd4, 0xfe, 0x0f, 0x84, 0xe2, 0xa4, 0xe9, 0x7a, 0x02, 0x81, 0xb8, 0xc5, 0xef, 0xfb, 0xea, 0xf9, + 0x78, 0xfd, 0x38, 0xc0, 0xf1, 0xb1, 0xbf, 0x98, 0x09, 0x3e, 0x9c, 0x30, 0x8e, 0x67, 0x4c, 0x2d, + 0x86, 0xf3, 0xe3, 0xea, 0x7b, 0x20, 0x13, 0xa1, 0x84, 0xb5, 0x57, 0xce, 0x0c, 0xaa, 0xfa, 0xfc, + 0xf8, 0xf9, 0x7e, 0x28, 0x42, 0xa1, 0xfb, 0xc3, 0xfc, 0xab, 0x18, 0x75, 0x10, 0x30, 0x47, 0x3c, + 0xa0, 0x57, 0x34, 0x70, 0x67, 0x82, 0x4c, 0xad, 0x03, 0xd0, 0x8c, 0x28, 0x0b, 0x23, 0xd5, 0x35, + 0x7a, 0x46, 0xbf, 0x01, 0xcb, 0x93, 0xf5, 0x0c, 0xb4, 0xb1, 0x94, 0x28, 0xc2, 0x69, 0xd4, 0x7d, + 0xd0, 0x33, 0xfa, 0x26, 0x6c, 0x61, 0x29, 0x2f, 0x71, 0x1a, 0x59, 0x2f, 0xc1, 0x4e, 0xc1, 0xf3, + 0x95, 0x06, 0xdd, 0x7a, 0xcf, 0xe8, 0xb7, 0xe1, 0xa6, 0xe0, 0x28, 0xb0, 0x3b, 0xce, 0x7c, 0x88, + 0x79, 0x70, 0x2e, 0xe2, 0x98, 0x29, 0xeb, 0x15, 0x30, 0x53, 0x85, 0x13, 0x85, 0xb6, 0x78, 0x3a, + 0xba, 0x76, 0x59, 0x90, 0xf5, 0x80, 0xc9, 0xb3, 0x18, 0xc9, 0xcc, 0x47, 0x09, 0xe6, 0x81, 0x26, + 0x6c, 0x40, 0xc0, 0xb3, 0xb8, 0x84, 0xb2, 0x6c, 0x00, 0x88, 0x86, 0x8b, 0x29, 0x57, 0x9a, 0xd4, + 0x84, 0xf7, 0x2a, 0xce, 0xcf, 0x3a, 0x68, 0x5f, 0xcc, 0x59, 0x40, 0x39, 0xa1, 0x16, 0x04, 0x3b, + 0x13, 0x89, 0x7c, 0x45, 0x90, 0x9c, 0x6a, 0x3a, 0xd3, 0x7d, 0x73, 0x7b, 0x77, 0x78, 0x12, 0x32, + 0x15, 0x65, 0xfe, 0x80, 0x88, 0x78, 0x58, 0x2e, 0x8c, 0x44, 0x98, 0xf1, 0xf5, 0x61, 0xa8, 0x16, + 0x92, 0xa6, 0x03, 0x77, 0x34, 0x3e, 0x3d, 0x3b, 0x1a, 0x67, 0xfe, 0x47, 0xba, 0x80, 0xad, 0x89, + 0x74, 0x15, 0x19, 0x4f, 0x73, 0x17, 0x7e, 0xbe, 0xb0, 0xb5, 0x8b, 0x42, 0x62, 0x47, 0xd7, 0x4a, + 0x17, 0x1e, 0x68, 0x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, 0x8e, 0x7e, 0xa7, 0xf6, 0x6a, 0xf3, 0x97, + 0xd0, 0xc2, 0xfd, 0xa6, 0x7e, 0xf5, 0xa7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x32, 0x14, + 0xff, 0x46, 0x04, 0x00, 0x00, } func (m *IndexedBlock) Marshal() (dAtA []byte, err error) { @@ -452,6 +516,51 @@ func (m *Evidence) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *FinalityProviderSigningInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FinalityProviderSigningInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FinalityProviderSigningInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.MissedBlocksCounter != 0 { + i = encodeVarintFinality(dAtA, i, uint64(m.MissedBlocksCounter)) + i-- + dAtA[i] = 0x18 + } + if m.StartHeight != 0 { + i = encodeVarintFinality(dAtA, i, uint64(m.StartHeight)) + i-- + dAtA[i] = 0x10 + } + if m.FpBtcPk != nil { + { + size := m.FpBtcPk.Size() + i -= size + if _, err := m.FpBtcPk.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintFinality(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintFinality(dAtA []byte, offset int, v uint64) int { offset -= sovFinality(v) base := offset @@ -537,6 +646,25 @@ func (m *Evidence) Size() (n int) { return n } +func (m *FinalityProviderSigningInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FpBtcPk != nil { + l = m.FpBtcPk.Size() + n += 1 + l + sovFinality(uint64(l)) + } + if m.StartHeight != 0 { + n += 1 + sovFinality(uint64(m.StartHeight)) + } + if m.MissedBlocksCounter != 0 { + n += 1 + sovFinality(uint64(m.MissedBlocksCounter)) + } + return n +} + func sovFinality(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1065,6 +1193,129 @@ func (m *Evidence) Unmarshal(dAtA []byte) error { } return nil } +func (m *FinalityProviderSigningInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowFinality + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FinalityProviderSigningInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FinalityProviderSigningInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FpBtcPk", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowFinality + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthFinality + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthFinality + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v github_com_babylonchain_babylon_types.BIP340PubKey + m.FpBtcPk = &v + if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartHeight", wireType) + } + m.StartHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowFinality + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MissedBlocksCounter", wireType) + } + m.MissedBlocksCounter = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowFinality + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MissedBlocksCounter |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipFinality(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthFinality + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipFinality(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/finality/types/genesis_test.go b/x/finality/types/genesis_test.go index 97dbf25c2..00b8b7c3e 100644 --- a/x/finality/types/genesis_test.go +++ b/x/finality/types/genesis_test.go @@ -3,8 +3,9 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/finality/types" "github.com/stretchr/testify/require" + + "github.com/babylonchain/babylon/x/finality/types" ) func TestGenesisState_Validate(t *testing.T) { @@ -19,13 +20,13 @@ func TestGenesisState_Validate(t *testing.T) { valid: true, }, { - desc: "valid genesis state", + desc: "invalid genesis state", genState: &types.GenesisState{ Params: types.Params{ MinPubRand: 200, }, }, - valid: true, + valid: false, }, } for _, tc := range tests { diff --git a/x/finality/types/hooks.go b/x/finality/types/hooks.go new file mode 100644 index 000000000..093f51180 --- /dev/null +++ b/x/finality/types/hooks.go @@ -0,0 +1,26 @@ +package types + +import ( + "context" + + "github.com/babylonchain/babylon/types" +) + +// combine multiple finality hooks, all hook functions are run in array sequence +var _ FinalityHooks = &MultiFinalityHooks{} + +type MultiFinalityHooks []FinalityHooks + +func NewMultiFinalityHooks(hooks ...FinalityHooks) MultiFinalityHooks { + return hooks +} + +func (h MultiFinalityHooks) AfterInactiveFinalityProviderDetected(ctx context.Context, btcPk *types.BIP340PubKey) error { + for i := range h { + if err := h[i].AfterInactiveFinalityProviderDetected(ctx, btcPk); err != nil { + return err + } + } + + return nil +} diff --git a/x/finality/types/keys.go b/x/finality/types/keys.go index 4198e6134..532809c4b 100644 --- a/x/finality/types/keys.go +++ b/x/finality/types/keys.go @@ -1,5 +1,12 @@ package types +import ( + "cosmossdk.io/collections" + "github.com/cosmos/cosmos-sdk/types/address" + + "github.com/babylonchain/babylon/types" +) + const ( // ModuleName defines the module name ModuleName = "finality" @@ -12,14 +19,45 @@ const ( // MemStoreKey defines the in-memory store key MemStoreKey = "mem_finality" + + // MissedBlockBitmapChunkSize defines the chunk size, in number of bits, of a + // finality provider missed block bitmap. Chunks are used to reduce the storage and + // write overhead of IAVL nodes. The total size of the bitmap is roughly in + // the range [0, SignedBlocksWindow) where each bit represents a block. A + // finality provider's IndexOffset modulo the SignedBlocksWindow is used to retrieve + // the chunk in that bitmap range. Once the chunk is retrieved, the same index + // is used to check or flip a bit, where if a bit is set, it indicates the + // finality provider missed that block. + // + // For a bitmap of N items, i.e. a finality provider's signed block window, the amount + // of write complexity per write with a factor of f being the overhead of + // IAVL being un-optimized, i.e. 2-4, is as follows: + // + // ChunkSize + (f * 256 ) + 256 * log_2(N / ChunkSize) + // + // As for the storage overhead, with the same factor f, it is as follows: + // (N - 256) + (N / ChunkSize) * (512 * f) + MissedBlockBitmapChunkSize = 1024 // 2^10 bits ) var ( - BlockKey = []byte{0x01} // key prefix for blocks - VoteKey = []byte{0x02} // key prefix for votes - PubRandKey = []byte{0x03} // key prefix for public randomness - PubRandCommitKey = []byte{0x04} // key prefix for commitment of public randomness - ParamsKey = []byte{0x05} // key prefix for the parameters - EvidenceKey = []byte{0x06} // key prefix for evidences - NextHeightToFinalizeKey = []byte{0x07} // key prefix for next height to finalise + BlockKey = []byte{0x01} // key prefix for blocks + VoteKey = []byte{0x02} // key prefix for votes + PubRandKey = []byte{0x03} // key prefix for public randomness + PubRandCommitKey = []byte{0x04} // key prefix for commitment of public randomness + ParamsKey = []byte{0x05} // key prefix for the parameters + EvidenceKey = []byte{0x06} // key prefix for evidences + NextHeightToFinalizeKey = []byte{0x07} // key prefix for next height to finalise + FinalityProviderSigningInfoKeyPrefix = collections.NewPrefix(8) // key prefix for signing info + FinalityProviderMissedBlockBitmapKeyPrefix = collections.NewPrefix(9) // key prefix for missed block bitmap ) + +// FinalityProviderSigningInfoKey - stored by finality provider public key in BIP340 +func FinalityProviderSigningInfoKey(pk *types.BIP340PubKey) []byte { + return append(FinalityProviderSigningInfoKeyPrefix, address.MustLengthPrefix(pk.MustMarshal())...) +} + +// FinalityProviderMissedBlockBitmapKey - stored by finality provider public key in BIP340 +func FinalityProviderMissedBlockBitmapKey(pk *types.BIP340PubKey) []byte { + return append(FinalityProviderMissedBlockBitmapKeyPrefix, address.MustLengthPrefix(pk.MustMarshal())...) +} diff --git a/x/finality/types/mocked_keepers.go b/x/finality/types/mocked_keepers.go index ecef9983e..fad540139 100644 --- a/x/finality/types/mocked_keepers.go +++ b/x/finality/types/mocked_keepers.go @@ -8,7 +8,8 @@ import ( context "context" reflect "reflect" - types "github.com/babylonchain/babylon/x/btcstaking/types" + types "github.com/babylonchain/babylon/types" + types0 "github.com/babylonchain/babylon/x/btcstaking/types" gomock "github.com/golang/mock/gomock" ) @@ -51,10 +52,10 @@ func (mr *MockBTCStakingKeeperMockRecorder) GetBTCStakingActivatedHeight(ctx int } // GetFinalityProvider mocks base method. -func (m *MockBTCStakingKeeper) GetFinalityProvider(ctx context.Context, fpBTCPK []byte) (*types.FinalityProvider, error) { +func (m *MockBTCStakingKeeper) GetFinalityProvider(ctx context.Context, fpBTCPK []byte) (*types0.FinalityProvider, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetFinalityProvider", ctx, fpBTCPK) - ret0, _ := ret[0].(*types.FinalityProvider) + ret0, _ := ret[0].(*types0.FinalityProvider) ret1, _ := ret[1].(error) return ret0, ret1 } @@ -80,10 +81,10 @@ func (mr *MockBTCStakingKeeperMockRecorder) GetLastFinalizedEpoch(ctx interface{ } // GetParams mocks base method. -func (m *MockBTCStakingKeeper) GetParams(ctx context.Context) types.Params { +func (m *MockBTCStakingKeeper) GetParams(ctx context.Context) types0.Params { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetParams", ctx) - ret0, _ := ret[0].(types.Params) + ret0, _ := ret[0].(types0.Params) return ret0 } @@ -108,10 +109,10 @@ func (mr *MockBTCStakingKeeperMockRecorder) GetVotingPower(ctx, fpBTCPK, height } // GetVotingPowerDistCache mocks base method. -func (m *MockBTCStakingKeeper) GetVotingPowerDistCache(ctx context.Context, height uint64) (*types.VotingPowerDistCache, error) { +func (m *MockBTCStakingKeeper) GetVotingPowerDistCache(ctx context.Context, height uint64) (*types0.VotingPowerDistCache, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetVotingPowerDistCache", ctx, height) - ret0, _ := ret[0].(*types.VotingPowerDistCache) + ret0, _ := ret[0].(*types0.VotingPowerDistCache) ret1, _ := ret[1].(error) return ret0, ret1 } @@ -162,6 +163,20 @@ func (mr *MockBTCStakingKeeperMockRecorder) RemoveVotingPowerDistCache(ctx, heig return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveVotingPowerDistCache", reflect.TypeOf((*MockBTCStakingKeeper)(nil).RemoveVotingPowerDistCache), ctx, height) } +// RevertInactiveFinalityProvider mocks base method. +func (m *MockBTCStakingKeeper) RevertInactiveFinalityProvider(ctx context.Context, fpBTCPK []byte) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "RevertInactiveFinalityProvider", ctx, fpBTCPK) + ret0, _ := ret[0].(error) + return ret0 +} + +// RevertInactiveFinalityProvider indicates an expected call of RevertInactiveFinalityProvider. +func (mr *MockBTCStakingKeeperMockRecorder) RevertInactiveFinalityProvider(ctx, fpBTCPK interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertInactiveFinalityProvider", reflect.TypeOf((*MockBTCStakingKeeper)(nil).RevertInactiveFinalityProvider), ctx, fpBTCPK) +} + // SlashFinalityProvider mocks base method. func (m *MockBTCStakingKeeper) SlashFinalityProvider(ctx context.Context, fpBTCPK []byte) error { m.ctrl.T.Helper() @@ -200,7 +215,7 @@ func (m *MockIncentiveKeeper) EXPECT() *MockIncentiveKeeperMockRecorder { } // RewardBTCStaking mocks base method. -func (m *MockIncentiveKeeper) RewardBTCStaking(ctx context.Context, height uint64, filteredDc *types.VotingPowerDistCache) { +func (m *MockIncentiveKeeper) RewardBTCStaking(ctx context.Context, height uint64, filteredDc *types0.VotingPowerDistCache) { m.ctrl.T.Helper() m.ctrl.Call(m, "RewardBTCStaking", ctx, height, filteredDc) } @@ -210,3 +225,77 @@ func (mr *MockIncentiveKeeperMockRecorder) RewardBTCStaking(ctx, height, filtere mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RewardBTCStaking", reflect.TypeOf((*MockIncentiveKeeper)(nil).RewardBTCStaking), ctx, height, filteredDc) } + +// MockBtcStakingHooks is a mock of BtcStakingHooks interface. +type MockBtcStakingHooks struct { + ctrl *gomock.Controller + recorder *MockBtcStakingHooksMockRecorder +} + +// MockBtcStakingHooksMockRecorder is the mock recorder for MockBtcStakingHooks. +type MockBtcStakingHooksMockRecorder struct { + mock *MockBtcStakingHooks +} + +// NewMockBtcStakingHooks creates a new mock instance. +func NewMockBtcStakingHooks(ctrl *gomock.Controller) *MockBtcStakingHooks { + mock := &MockBtcStakingHooks{ctrl: ctrl} + mock.recorder = &MockBtcStakingHooksMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockBtcStakingHooks) EXPECT() *MockBtcStakingHooksMockRecorder { + return m.recorder +} + +// AfterFinalityProviderActivated mocks base method. +func (m *MockBtcStakingHooks) AfterFinalityProviderActivated(ctx context.Context, btcPk *types.BIP340PubKey) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "AfterFinalityProviderActivated", ctx, btcPk) + ret0, _ := ret[0].(error) + return ret0 +} + +// AfterFinalityProviderActivated indicates an expected call of AfterFinalityProviderActivated. +func (mr *MockBtcStakingHooksMockRecorder) AfterFinalityProviderActivated(ctx, btcPk interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AfterFinalityProviderActivated", reflect.TypeOf((*MockBtcStakingHooks)(nil).AfterFinalityProviderActivated), ctx, btcPk) +} + +// MockFinalityHooks is a mock of FinalityHooks interface. +type MockFinalityHooks struct { + ctrl *gomock.Controller + recorder *MockFinalityHooksMockRecorder +} + +// MockFinalityHooksMockRecorder is the mock recorder for MockFinalityHooks. +type MockFinalityHooksMockRecorder struct { + mock *MockFinalityHooks +} + +// NewMockFinalityHooks creates a new mock instance. +func NewMockFinalityHooks(ctrl *gomock.Controller) *MockFinalityHooks { + mock := &MockFinalityHooks{ctrl: ctrl} + mock.recorder = &MockFinalityHooksMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockFinalityHooks) EXPECT() *MockFinalityHooksMockRecorder { + return m.recorder +} + +// AfterInactiveFinalityProviderDetected mocks base method. +func (m *MockFinalityHooks) AfterInactiveFinalityProviderDetected(ctx context.Context, btcPk *types.BIP340PubKey) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "AfterInactiveFinalityProviderDetected", ctx, btcPk) + ret0, _ := ret[0].(error) + return ret0 +} + +// AfterInactiveFinalityProviderDetected indicates an expected call of AfterInactiveFinalityProviderDetected. +func (mr *MockFinalityHooksMockRecorder) AfterInactiveFinalityProviderDetected(ctx, btcPk interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AfterInactiveFinalityProviderDetected", reflect.TypeOf((*MockFinalityHooks)(nil).AfterInactiveFinalityProviderDetected), ctx, btcPk) +} diff --git a/x/finality/types/params.go b/x/finality/types/params.go index 437a4e662..a936e17a5 100644 --- a/x/finality/types/params.go +++ b/x/finality/types/params.go @@ -3,21 +3,31 @@ package types import ( "fmt" + "cosmossdk.io/math" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "gopkg.in/yaml.v2" ) -var _ paramtypes.ParamSet = (*Params)(nil) +// Default parameter namespace +const ( + DefaultSignedBlocksWindow = int64(100) + DefaultMinPubRand = 100 + DefaultFinalitySigTimeout = 3 +) -// ParamKeyTable the param key table for launch module -func ParamKeyTable() paramtypes.KeyTable { - return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) -} +var ( + DefaultMinSignedPerWindow = math.LegacyNewDecWithPrec(5, 1) +) + +var _ paramtypes.ParamSet = (*Params)(nil) // DefaultParams returns a default set of parameters func DefaultParams() Params { return Params{ - MinPubRand: 100, + FinalitySigTimeout: DefaultFinalitySigTimeout, + SignedBlocksWindow: DefaultSignedBlocksWindow, + MinSignedPerWindow: DefaultMinSignedPerWindow, + MinPubRand: DefaultMinPubRand, } } @@ -33,16 +43,84 @@ func validateMinPubRand(minPubRand uint64) error { return nil } -// Validate validates the set of params +// String implements the Stringer interface. +func (p Params) String() string { + out, _ := yaml.Marshal(p) + return string(out) +} + +// Validate validates the params func (p Params) Validate() error { + if err := validateSignedBlocksWindow(p.SignedBlocksWindow); err != nil { + return err + } + + if err := validateFinalitySigTimeout(p.FinalitySigTimeout); err != nil { + return err + } + + if err := validateMinSignedPerWindow(p.MinSignedPerWindow); err != nil { + return err + } + if err := validateMinPubRand(p.MinPubRand); err != nil { return err } + return nil } -// String implements the Stringer interface. -func (p Params) String() string { - out, _ := yaml.Marshal(p) - return string(out) +func validateSignedBlocksWindow(i interface{}) error { + v, ok := i.(int64) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if v <= 0 { + return fmt.Errorf("signed blocks window must be positive: %d", v) + } + + return nil +} + +func validateFinalitySigTimeout(i interface{}) error { + v, ok := i.(int64) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if v <= 0 { + return fmt.Errorf("finality vote delay must be positive: %d", v) + } + + return nil +} + +func validateMinSignedPerWindow(i interface{}) error { + v, ok := i.(math.LegacyDec) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if v.IsNil() { + return fmt.Errorf("min signed per window cannot be nil: %s", v) + } + if v.IsNegative() { + return fmt.Errorf("min signed per window cannot be negative: %s", v) + } + if v.GT(math.LegacyOneDec()) { + return fmt.Errorf("min signed per window too large: %s", v) + } + + return nil +} + +// MinSignedPerWindowInt returns min signed per window as an integer (vs the decimal in the param) +func (p *Params) MinSignedPerWindowInt() int64 { + signedBlocksWindow := p.SignedBlocksWindow + minSignedPerWindow := p.MinSignedPerWindow + + // NOTE: RoundInt64 will never panic as minSignedPerWindow is + // less than 1. + return minSignedPerWindow.MulInt64(signedBlocksWindow).RoundInt64() } diff --git a/x/finality/types/params.pb.go b/x/finality/types/params.pb.go index fe81592df..4080a8b37 100644 --- a/x/finality/types/params.pb.go +++ b/x/finality/types/params.pb.go @@ -4,7 +4,10 @@ package types import ( + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -25,9 +28,17 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the parameters for the module. type Params struct { + // signed_blocks_window defines the size of the sliding window for tracking finality provider liveness + SignedBlocksWindow int64 `protobuf:"varint,1,opt,name=signed_blocks_window,json=signedBlocksWindow,proto3" json:"signed_blocks_window,omitempty"` + // finality_sig_timeout defines how much time (in terms of blocks) finality providers have to cast a finality + // vote before being judged as missing their voting turn on the given block + FinalitySigTimeout int64 `protobuf:"varint,2,opt,name=finality_sig_timeout,json=finalitySigTimeout,proto3" json:"finality_sig_timeout,omitempty"` + // min_signed_per_window defines the minimum number of blocks that a finality provider is required to sign + // within the sliding window to avoid being detected as inactive + MinSignedPerWindow cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=min_signed_per_window,json=minSignedPerWindow,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_signed_per_window"` // min_pub_rand is the minimum number of public randomness each // message should commit - MinPubRand uint64 `protobuf:"varint,1,opt,name=min_pub_rand,json=minPubRand,proto3" json:"min_pub_rand,omitempty"` + MinPubRand uint64 `protobuf:"varint,4,opt,name=min_pub_rand,json=minPubRand,proto3" json:"min_pub_rand,omitempty"` } func (m *Params) Reset() { *m = Params{} } @@ -62,6 +73,20 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo +func (m *Params) GetSignedBlocksWindow() int64 { + if m != nil { + return m.SignedBlocksWindow + } + return 0 +} + +func (m *Params) GetFinalitySigTimeout() int64 { + if m != nil { + return m.FinalitySigTimeout + } + return 0 +} + func (m *Params) GetMinPubRand() uint64 { if m != nil { return m.MinPubRand @@ -76,19 +101,30 @@ func init() { func init() { proto.RegisterFile("babylon/finality/v1/params.proto", fileDescriptor_25539c9a61c72ee9) } var fileDescriptor_25539c9a61c72ee9 = []byte{ - // 192 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x4a, 0x4c, 0xaa, - 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0xcb, 0xcc, 0x4b, 0xcc, 0xc9, 0x2c, 0xa9, 0xd4, 0x2f, 0x33, 0xd4, - 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xaa, - 0xd0, 0x83, 0xa9, 0xd0, 0x2b, 0x33, 0x94, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xcb, 0xeb, 0x83, - 0x58, 0x10, 0xa5, 0x4a, 0x06, 0x5c, 0x6c, 0x01, 0x60, 0xad, 0x42, 0x0a, 0x5c, 0x3c, 0xb9, 0x99, - 0x79, 0xf1, 0x05, 0xa5, 0x49, 0xf1, 0x45, 0x89, 0x79, 0x29, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x2c, - 0x41, 0x5c, 0xb9, 0x99, 0x79, 0x01, 0xa5, 0x49, 0x41, 0x89, 0x79, 0x29, 0x56, 0x2c, 0x33, 0x16, - 0xc8, 0x33, 0x38, 0x79, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, - 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x41, - 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xd4, 0x05, 0xc9, 0x19, 0x89, - 0x99, 0x79, 0x30, 0x8e, 0x7e, 0x05, 0xc2, 0xc9, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, - 0x47, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x3d, 0x78, 0xb7, 0xd3, 0x00, 0x00, 0x00, + // 359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x91, 0x31, 0x4b, 0xfb, 0x40, + 0x18, 0xc6, 0x73, 0xff, 0x96, 0x0e, 0xa1, 0xcb, 0x3f, 0x56, 0xa8, 0x15, 0xd2, 0xe0, 0x54, 0x04, + 0x73, 0x2d, 0x82, 0x83, 0x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xd5, 0xa6, 0x6b, 0x7c, 0x6e, + 0xba, 0xc7, 0x3a, 0xa3, 0x8c, 0x66, 0x2e, 0x08, 0xcc, 0x48, 0x36, 0x75, 0xaf, 0x69, 0x4c, 0xc2, + 0x62, 0x44, 0xc3, 0xf7, 0xb7, 0x33, 0xb3, 0x7c, 0xc2, 0x88, 0x86, 0x2f, 0xdf, 0xaf, 0xa7, 0xc8, + 0xb3, 0x18, 0xf0, 0x89, 0xba, 0x73, 0x4c, 0xd3, 0x32, 0x9c, 0x63, 0x36, 0xf7, 0x56, 0x49, 0x1e, + 0xf8, 0x29, 0xe1, 0x51, 0xbb, 0xee, 0xa0, 0x5e, 0xdd, 0x33, 0x19, 0xf0, 0x71, 0x1e, 0x78, 0x84, + 0x47, 0x97, 0xf5, 0xa7, 0xe7, 0xae, 0x31, 0xbc, 0x5a, 0x6d, 0x6d, 0xb4, 0xde, 0xda, 0xe8, 0x6b, + 0x6b, 0xa3, 0xc7, 0x9d, 0x6d, 0xac, 0x77, 0xb6, 0xf1, 0xb1, 0xb3, 0x8d, 0xbb, 0x7e, 0x0c, 0xd9, + 0x34, 0x0f, 0xdc, 0x50, 0x30, 0x5c, 0xce, 0x3f, 0x9c, 0x12, 0xe0, 0x55, 0x81, 0x1f, 0xfe, 0x3e, + 0x2c, 0x2b, 0x12, 0x2a, 0x83, 0x86, 0x1a, 0xea, 0xf9, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb0, + 0x39, 0x84, 0xbb, 0xd1, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -114,6 +150,26 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { if m.MinPubRand != 0 { i = encodeVarintParams(dAtA, i, uint64(m.MinPubRand)) i-- + dAtA[i] = 0x20 + } + { + size := m.MinSignedPerWindow.Size() + i -= size + if _, err := m.MinSignedPerWindow.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if m.FinalitySigTimeout != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.FinalitySigTimeout)) + i-- + dAtA[i] = 0x10 + } + if m.SignedBlocksWindow != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.SignedBlocksWindow)) + i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil @@ -136,6 +192,14 @@ func (m *Params) Size() (n int) { } var l int _ = l + if m.SignedBlocksWindow != 0 { + n += 1 + sovParams(uint64(m.SignedBlocksWindow)) + } + if m.FinalitySigTimeout != 0 { + n += 1 + sovParams(uint64(m.FinalitySigTimeout)) + } + l = m.MinSignedPerWindow.Size() + n += 1 + l + sovParams(uint64(l)) if m.MinPubRand != 0 { n += 1 + sovParams(uint64(m.MinPubRand)) } @@ -178,6 +242,77 @@ func (m *Params) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SignedBlocksWindow", wireType) + } + m.SignedBlocksWindow = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SignedBlocksWindow |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FinalitySigTimeout", wireType) + } + m.FinalitySigTimeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FinalitySigTimeout |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinSignedPerWindow", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.MinSignedPerWindow.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field MinPubRand", wireType) } diff --git a/x/finality/types/signing_info.go b/x/finality/types/signing_info.go new file mode 100644 index 000000000..9d0f41b90 --- /dev/null +++ b/x/finality/types/signing_info.go @@ -0,0 +1,28 @@ +package types + +import ( + bbntypes "github.com/babylonchain/babylon/types" +) + +// NewFinalityProviderSigningInfo creates a new FinalityProviderSigningInfo instance +func NewFinalityProviderSigningInfo( + fpPk *bbntypes.BIP340PubKey, startHeight, missedBlocksCounter int64, +) FinalityProviderSigningInfo { + return FinalityProviderSigningInfo{ + FpBtcPk: fpPk, + StartHeight: startHeight, + MissedBlocksCounter: missedBlocksCounter, + } +} + +func (si *FinalityProviderSigningInfo) IncrementMissedBlocksCounter() { + si.MissedBlocksCounter++ +} + +func (si *FinalityProviderSigningInfo) DecrementMissedBlocksCounter() { + si.MissedBlocksCounter-- +} + +func (si *FinalityProviderSigningInfo) ResetMissedBlocksCounter() { + si.MissedBlocksCounter = 0 +} From 20e67406300945d14338aa4f89053cd08c20fe71 Mon Sep 17 00:00:00 2001 From: Cirrus Gai Date: Wed, 17 Jul 2024 14:42:50 +0800 Subject: [PATCH 10/21] chore(inactivity): Rename `inactive` flag to `sluggish`, add queries, events, and metrics (#714) --- proto/babylon/btcstaking/v1/btcstaking.proto | 8 +- proto/babylon/btcstaking/v1/query.proto | 4 +- proto/babylon/finality/v1/events.proto | 14 + proto/babylon/finality/v1/params.proto | 2 +- proto/babylon/finality/v1/query.proto | 39 + x/btcstaking/keeper/finality_providers.go | 10 +- x/btcstaking/keeper/hooks.go | 10 +- x/btcstaking/types/btcstaking.go | 7 +- x/btcstaking/types/btcstaking.pb.go | 136 +-- x/btcstaking/types/query.go | 1 + x/btcstaking/types/query.pb.go | 222 ++-- x/finality/README.md | 75 +- x/finality/abci.go | 2 +- x/finality/keeper/grpc_query.go | 48 + x/finality/keeper/grpc_query_test.go | 71 ++ x/finality/keeper/liveness.go | 55 +- x/finality/keeper/liveness_test.go | 22 +- x/finality/types/events.go | 10 + x/finality/types/events.pb.go | 363 +++++- x/finality/types/expected_keepers.go | 4 +- x/finality/types/hooks.go | 4 +- x/finality/types/metrics.go | 35 +- x/finality/types/mocked_keepers.go | 24 +- x/finality/types/params.pb.go | 2 +- x/finality/types/query.pb.go | 1127 +++++++++++++++--- x/finality/types/query.pb.gw.go | 184 +++ 26 files changed, 2085 insertions(+), 394 deletions(-) diff --git a/proto/babylon/btcstaking/v1/btcstaking.proto b/proto/babylon/btcstaking/v1/btcstaking.proto index 091555f19..e8fcc14de 100644 --- a/proto/babylon/btcstaking/v1/btcstaking.proto +++ b/proto/babylon/btcstaking/v1/btcstaking.proto @@ -33,8 +33,8 @@ message FinalityProvider { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed uint64 slashed_btc_height = 7; - // inactive defines whether the finality provider is detected inactive - bool inactive = 8; + // sluggish defines whether the finality provider is detected sluggish + bool sluggish = 8; } // FinalityProviderWithMeta wraps the FinalityProvider with metadata. @@ -54,8 +54,8 @@ message FinalityProviderWithMeta { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed uint64 slashed_btc_height = 5; - // inactive defines whether the finality provider is detected inactive - bool inactive = 6; + // sluggish defines whether the finality provider is detected sluggish + bool sluggish = 6; } // BTCDelegation defines a BTC delegation diff --git a/proto/babylon/btcstaking/v1/query.proto b/proto/babylon/btcstaking/v1/query.proto index 9a48e212c..5b4417568 100644 --- a/proto/babylon/btcstaking/v1/query.proto +++ b/proto/babylon/btcstaking/v1/query.proto @@ -349,6 +349,6 @@ message FinalityProviderResponse { uint64 height = 8; // voting_power is the voting power of this finality provider at the given height uint64 voting_power = 9; - // inactive defines whether the finality provider is detected inactive - bool inactive = 10; + // sluggish defines whether the finality provider is detected sluggish + bool sluggish = 10; } diff --git a/proto/babylon/finality/v1/events.proto b/proto/babylon/finality/v1/events.proto index 61d7f6d5e..436456dea 100644 --- a/proto/babylon/finality/v1/events.proto +++ b/proto/babylon/finality/v1/events.proto @@ -11,3 +11,17 @@ message EventSlashedFinalityProvider { // evidence is the evidence that the finality provider double signs Evidence evidence = 1; } + +// EventSluggishFinalityProviderDetected is the event emitted when a finality provider is +// detected as sluggish +message EventSluggishFinalityProviderDetected { + // public_key is the BTC public key of the finality provider + string public_key = 1; +} + +// EventSluggishFinalityProviderReverted is the event emitted when a sluggish finality +// provider is no longer considered sluggish +message EventSluggishFinalityProviderReverted { + // public_key is the BTC public key of the finality provider + string public_key = 1; +} diff --git a/proto/babylon/finality/v1/params.proto b/proto/babylon/finality/v1/params.proto index 8645a61e0..67751c58d 100644 --- a/proto/babylon/finality/v1/params.proto +++ b/proto/babylon/finality/v1/params.proto @@ -16,7 +16,7 @@ message Params { // vote before being judged as missing their voting turn on the given block int64 finality_sig_timeout = 2; // min_signed_per_window defines the minimum number of blocks that a finality provider is required to sign - // within the sliding window to avoid being detected as inactive + // within the sliding window to avoid being detected as sluggish bytes min_signed_per_window = 3 [ (cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", diff --git a/proto/babylon/finality/v1/query.proto b/proto/babylon/finality/v1/query.proto index 352ef2716..270834f72 100644 --- a/proto/babylon/finality/v1/query.proto +++ b/proto/babylon/finality/v1/query.proto @@ -54,6 +54,16 @@ service Query { rpc ListEvidences(QueryListEvidencesRequest) returns (QueryListEvidencesResponse) { option (google.api.http).get = "/babylon/finality/v1/evidences"; } + + // SigningInfo queries the signing info of given finality provider BTC public key + rpc SigningInfo(QuerySigningInfoRequest) returns (QuerySigningInfoResponse) { + option (google.api.http).get = "/babylon/finality/v1/signing_infos/{fp_btc_pk_hex}"; + } + + // SigningInfos queries the signing info of all the active finality providers + rpc SigningInfos(QuerySigningInfosRequest) returns (QuerySigningInfosResponse) { + option (google.api.http).get = "/babylon/finality/v1/signing_infos"; + } } // QueryParamsRequest is request type for the Query/Params RPC method. @@ -208,3 +218,32 @@ message QueryListEvidencesResponse { // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } + +// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC +// method +message QuerySigningInfoRequest { + // fp_btc_pk_hex is the hex str of Bitcoin secp256k1 PK + // (in BIP340 format) of the finality provider + string fp_btc_pk_hex = 1; +} + +// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC +// method +message QuerySigningInfoResponse { + // fp_signing_info is the signing info of requested finality provider BTC public key + FinalityProviderSigningInfo fp_signing_info = 1 [(gogoproto.nullable) = false]; +} + +// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC +// method +message QuerySigningInfosRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC +// method +message QuerySigningInfosResponse { + // info is the signing info of all finality providers with signing info + repeated FinalityProviderSigningInfo fp_signing_infos = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} diff --git a/x/btcstaking/keeper/finality_providers.go b/x/btcstaking/keeper/finality_providers.go index 5b2c38d52..b978dda34 100644 --- a/x/btcstaking/keeper/finality_providers.go +++ b/x/btcstaking/keeper/finality_providers.go @@ -67,9 +67,9 @@ func (k Keeper) SlashFinalityProvider(ctx context.Context, fpBTCPK []byte) error return nil } -// RevertInactiveFinalityProvider sets the Inactive flag of the given finality provider +// RevertSluggishFinalityProvider sets the Sluggish flag of the given finality provider // to false -func (k Keeper) RevertInactiveFinalityProvider(ctx context.Context, fpBTCPK []byte) error { +func (k Keeper) RevertSluggishFinalityProvider(ctx context.Context, fpBTCPK []byte) error { // ensure finality provider exists fp, err := k.GetFinalityProvider(ctx, fpBTCPK) if err != nil { @@ -77,12 +77,12 @@ func (k Keeper) RevertInactiveFinalityProvider(ctx context.Context, fpBTCPK []by } // ignore the finality provider is already slashed - // or detected as inactive - if fp.IsSlashed() || fp.IsInactive() { + // or detected as sluggish + if fp.IsSlashed() || fp.IsSluggish() { return nil } - fp.Inactive = false + fp.Sluggish = false k.SetFinalityProvider(ctx, fp) return nil diff --git a/x/btcstaking/keeper/hooks.go b/x/btcstaking/keeper/hooks.go index 137af32ba..1ae540dc9 100644 --- a/x/btcstaking/keeper/hooks.go +++ b/x/btcstaking/keeper/hooks.go @@ -20,18 +20,18 @@ func (k Keeper) Hooks() Hooks { return Hooks{k} } -// AfterInactiveFinalityProviderDetected updates the status of the given finality provider to `inactive` -func (h Hooks) AfterInactiveFinalityProviderDetected(ctx context.Context, fpPk *bbntypes.BIP340PubKey) error { +// AfterSluggishFinalityProviderDetected updates the status of the given finality provider to `sluggish` +func (h Hooks) AfterSluggishFinalityProviderDetected(ctx context.Context, fpPk *bbntypes.BIP340PubKey) error { fp, err := h.k.GetFinalityProvider(ctx, fpPk.MustMarshal()) if err != nil { return err } - if fp.IsInactive() { - return fmt.Errorf("the finality provider %s is already detected as inactive", fpPk.MarshalHex()) + if fp.IsSluggish() { + return fmt.Errorf("the finality provider %s is already detected as sluggish", fpPk.MarshalHex()) } - fp.Inactive = true + fp.Sluggish = true h.k.SetFinalityProvider(ctx, fp) diff --git a/x/btcstaking/types/btcstaking.go b/x/btcstaking/types/btcstaking.go index 818382fe9..8f22d7838 100644 --- a/x/btcstaking/types/btcstaking.go +++ b/x/btcstaking/types/btcstaking.go @@ -6,18 +6,19 @@ import ( "cosmossdk.io/math" + sdk "github.com/cosmos/cosmos-sdk/types" + asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" bbn "github.com/babylonchain/babylon/types" btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - sdk "github.com/cosmos/cosmos-sdk/types" ) func (fp *FinalityProvider) IsSlashed() bool { return fp.SlashedBabylonHeight > 0 } -func (fp *FinalityProvider) IsInactive() bool { - return fp.Inactive +func (fp *FinalityProvider) IsSluggish() bool { + return fp.Sluggish } func (fp *FinalityProvider) ValidateBasic() error { diff --git a/x/btcstaking/types/btcstaking.pb.go b/x/btcstaking/types/btcstaking.pb.go index 62a796b6a..5fd7ae838 100644 --- a/x/btcstaking/types/btcstaking.pb.go +++ b/x/btcstaking/types/btcstaking.pb.go @@ -90,8 +90,8 @@ type FinalityProvider struct { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed SlashedBtcHeight uint64 `protobuf:"varint,7,opt,name=slashed_btc_height,json=slashedBtcHeight,proto3" json:"slashed_btc_height,omitempty"` - // inactive defines whether the finality provider is detected inactive - Inactive bool `protobuf:"varint,8,opt,name=inactive,proto3" json:"inactive,omitempty"` + // sluggish defines whether the finality provider is detected sluggish + Sluggish bool `protobuf:"varint,8,opt,name=sluggish,proto3" json:"sluggish,omitempty"` } func (m *FinalityProvider) Reset() { *m = FinalityProvider{} } @@ -162,9 +162,9 @@ func (m *FinalityProvider) GetSlashedBtcHeight() uint64 { return 0 } -func (m *FinalityProvider) GetInactive() bool { +func (m *FinalityProvider) GetSluggish() bool { if m != nil { - return m.Inactive + return m.Sluggish } return false } @@ -186,8 +186,8 @@ type FinalityProviderWithMeta struct { // the finality provider is slashed. // if it's 0 then the finality provider is not slashed SlashedBtcHeight uint64 `protobuf:"varint,5,opt,name=slashed_btc_height,json=slashedBtcHeight,proto3" json:"slashed_btc_height,omitempty"` - // inactive defines whether the finality provider is detected inactive - Inactive bool `protobuf:"varint,6,opt,name=inactive,proto3" json:"inactive,omitempty"` + // sluggish defines whether the finality provider is detected sluggish + Sluggish bool `protobuf:"varint,6,opt,name=sluggish,proto3" json:"sluggish,omitempty"` } func (m *FinalityProviderWithMeta) Reset() { *m = FinalityProviderWithMeta{} } @@ -251,9 +251,9 @@ func (m *FinalityProviderWithMeta) GetSlashedBtcHeight() uint64 { return 0 } -func (m *FinalityProviderWithMeta) GetInactive() bool { +func (m *FinalityProviderWithMeta) GetSluggish() bool { if m != nil { - return m.Inactive + return m.Sluggish } return false } @@ -762,7 +762,7 @@ func init() { } var fileDescriptor_3851ae95ccfaf7db = []byte{ - // 1209 bytes of a gzipped FileDescriptorProto + // 1210 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0x13, 0xc7, 0x1b, 0xce, 0xda, 0x8e, 0x93, 0xbc, 0xb6, 0x89, 0x19, 0x42, 0x58, 0x12, 0xfd, 0x12, 0xff, 0x5c, 0x8a, 0xac, 0x96, 0xd8, 0x10, 0x68, 0x55, 0x0e, 0x3d, 0xc4, 0x71, 0x28, 0x11, 0x10, 0xdc, 0xb5, @@ -790,55 +790,55 @@ var fileDescriptor_3851ae95ccfaf7db = []byte{ 0xea, 0xed, 0x5d, 0x43, 0xe6, 0xa1, 0x3b, 0xb0, 0xca, 0xfb, 0x98, 0x77, 0x89, 0x6d, 0x86, 0xa9, 0x66, 0x97, 0x50, 0xa7, 0x2b, 0xf4, 0x6c, 0x49, 0xab, 0x64, 0x8c, 0x95, 0xd0, 0x5b, 0x0f, 0x9c, 0xf7, 0x95, 0x0f, 0xdd, 0x00, 0x14, 0x65, 0x09, 0x6b, 0x92, 0xb1, 0xa0, 0x32, 0x8a, 0x93, 0x0c, - 0x61, 0x85, 0xd1, 0x6b, 0xb0, 0x48, 0x5d, 0x6c, 0x09, 0x3a, 0x22, 0xfa, 0x62, 0x49, 0xab, 0x2c, - 0x1a, 0xd1, 0xb9, 0xfc, 0x34, 0x05, 0xfa, 0x59, 0x9a, 0xbf, 0xa1, 0xa2, 0xfb, 0x88, 0x08, 0x9c, - 0x18, 0x95, 0xf6, 0x21, 0x46, 0xb5, 0x0a, 0xd9, 0xb0, 0xd3, 0x94, 0xea, 0x34, 0x3c, 0x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x8c, 0x01, 0x24, 0x99, 0xe9, 0x59, 0xc9, 0xbc, - 0x1c, 0x55, 0x3e, 0x9c, 0x14, 0x96, 0xac, 0x32, 0x58, 0x4d, 0xa8, 0x66, 0xd2, 0xb0, 0x44, 0xcc, - 0xcc, 0x8a, 0xb8, 0x12, 0xcb, 0x27, 0xac, 0x2b, 0x01, 0x8f, 0x60, 0x35, 0x96, 0x51, 0x02, 0x8f, - 0xeb, 0xf3, 0xef, 0xa9, 0xa7, 0x95, 0x48, 0x4f, 0x31, 0x0c, 0x47, 0x16, 0xac, 0x47, 0x38, 0x53, - 0xa3, 0x0c, 0x16, 0x4b, 0x56, 0x81, 0x5d, 0x3b, 0x07, 0x2c, 0xaa, 0xbe, 0xef, 0x1e, 0x31, 0x43, - 0x9f, 0x14, 0x4a, 0x4e, 0x4e, 0xee, 0x94, 0x72, 0x0b, 0xae, 0xc4, 0xab, 0x98, 0xf9, 0xf1, 0x4e, - 0xe6, 0xe8, 0x0b, 0xc8, 0xd8, 0xa4, 0xcf, 0x75, 0xed, 0x8d, 0x40, 0x53, 0x8b, 0xdc, 0x50, 0x19, - 0xe5, 0x03, 0x58, 0x7f, 0x7d, 0xd1, 0x7d, 0xd7, 0x26, 0x63, 0x54, 0x83, 0x95, 0x78, 0xd1, 0x98, - 0x5d, 0xcc, 0xbb, 0xc1, 0x8d, 0x24, 0x50, 0xde, 0xb8, 0x18, 0xad, 0x9c, 0xfb, 0x98, 0x77, 0x55, - 0x93, 0x4f, 0x35, 0x28, 0x4c, 0x5d, 0x08, 0xdd, 0x83, 0xd4, 0xcc, 0x0f, 0x69, 0xca, 0xeb, 0xa1, - 0x07, 0x90, 0x96, 0x4a, 0x49, 0xcd, 0xaa, 0x14, 0x59, 0xa5, 0xfc, 0xb3, 0x06, 0x57, 0xcf, 0x25, - 0x59, 0x3e, 0x54, 0x16, 0x1b, 0x7d, 0x80, 0xf7, 0xdf, 0x62, 0xa3, 0x66, 0x4f, 0xfe, 0x81, 0x71, - 0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fd, 0xe1, 0xef, 0x2f, 0x37, 0xb4, 0xe7, 0x2f, 0x37, 0xb4, 0x3f, 0x5f, 0x6e, 0x68, + 0xbf, 0xbc, 0xda, 0x98, 0x7b, 0xfe, 0x6a, 0x63, 0xee, 0x8f, 0x57, 0x1b, 0x73, 0xdf, 0xfd, 0xe7, + 0x65, 0xc6, 0xc9, 0x4f, 0x7b, 0x75, 0xb3, 0x4e, 0x56, 0x7d, 0xda, 0xdf, 0xfe, 0x27, 0x00, 0x00, + 0xff, 0xff, 0xbf, 0xab, 0xbe, 0x1d, 0x93, 0x0c, 0x00, 0x00, } func (m *FinalityProvider) Marshal() (dAtA []byte, err error) { @@ -861,9 +861,9 @@ func (m *FinalityProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Inactive { + if m.Sluggish { i-- - if m.Inactive { + if m.Sluggish { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -959,9 +959,9 @@ func (m *FinalityProviderWithMeta) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l - if m.Inactive { + if m.Sluggish { i-- - if m.Inactive { + if m.Sluggish { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -1505,7 +1505,7 @@ func (m *FinalityProvider) Size() (n int) { if m.SlashedBtcHeight != 0 { n += 1 + sovBtcstaking(uint64(m.SlashedBtcHeight)) } - if m.Inactive { + if m.Sluggish { n += 2 } return n @@ -1533,7 +1533,7 @@ func (m *FinalityProviderWithMeta) Size() (n int) { if m.SlashedBtcHeight != 0 { n += 1 + sovBtcstaking(uint64(m.SlashedBtcHeight)) } - if m.Inactive { + if m.Sluggish { n += 2 } return n @@ -1980,7 +1980,7 @@ func (m *FinalityProvider) Unmarshal(dAtA []byte) error { } case 8: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Inactive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sluggish", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -1997,7 +1997,7 @@ func (m *FinalityProvider) Unmarshal(dAtA []byte) error { break } } - m.Inactive = bool(v != 0) + m.Sluggish = bool(v != 0) default: iNdEx = preIndex skippy, err := skipBtcstaking(dAtA[iNdEx:]) @@ -2161,7 +2161,7 @@ func (m *FinalityProviderWithMeta) Unmarshal(dAtA []byte) error { } case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Inactive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sluggish", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -2178,7 +2178,7 @@ func (m *FinalityProviderWithMeta) Unmarshal(dAtA []byte) error { break } } - m.Inactive = bool(v != 0) + m.Sluggish = bool(v != 0) default: iNdEx = preIndex skippy, err := skipBtcstaking(dAtA[iNdEx:]) diff --git a/x/btcstaking/types/query.go b/x/btcstaking/types/query.go index 717228035..1caecf29e 100644 --- a/x/btcstaking/types/query.go +++ b/x/btcstaking/types/query.go @@ -66,6 +66,7 @@ func NewFinalityProviderResponse(f *FinalityProvider, bbnBlockHeight, votingPowe Pop: f.Pop, SlashedBabylonHeight: f.SlashedBabylonHeight, SlashedBtcHeight: f.SlashedBtcHeight, + Sluggish: f.Sluggish, Height: bbnBlockHeight, VotingPower: votingPower, } diff --git a/x/btcstaking/types/query.pb.go b/x/btcstaking/types/query.pb.go index 88a252b59..369f69ab9 100644 --- a/x/btcstaking/types/query.pb.go +++ b/x/btcstaking/types/query.pb.go @@ -1504,8 +1504,8 @@ type FinalityProviderResponse struct { Height uint64 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"` // voting_power is the voting power of this finality provider at the given height VotingPower uint64 `protobuf:"varint,9,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` - // inactive defines whether the finality provider is detected inactive - Inactive bool `protobuf:"varint,10,opt,name=inactive,proto3" json:"inactive,omitempty"` + // sluggish defines whether the finality provider is detected sluggish + Sluggish bool `protobuf:"varint,10,opt,name=sluggish,proto3" json:"sluggish,omitempty"` } func (m *FinalityProviderResponse) Reset() { *m = FinalityProviderResponse{} } @@ -1590,9 +1590,9 @@ func (m *FinalityProviderResponse) GetVotingPower() uint64 { return 0 } -func (m *FinalityProviderResponse) GetInactive() bool { +func (m *FinalityProviderResponse) GetSluggish() bool { if m != nil { - return m.Inactive + return m.Sluggish } return false } @@ -1629,125 +1629,125 @@ func init() { func init() { proto.RegisterFile("babylon/btcstaking/v1/query.proto", fileDescriptor_74d49d26f7429697) } var fileDescriptor_74d49d26f7429697 = []byte{ - // 1881 bytes of a gzipped FileDescriptorProto + // 1884 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4b, 0x6c, 0xdb, 0xc8, 0x19, 0x0e, 0x6d, 0x45, 0xb1, 0x7f, 0xd9, 0x8e, 0x33, 0xeb, 0x24, 0x8c, 0x1c, 0xdb, 0x09, 0x9b, 0x4d, 0x9c, 0x97, 0x18, 0x2b, 0xde, 0x14, 0xed, 0x76, 0x37, 0xb1, 0xec, 0xdd, 0x24, 0xbb, 0x31, - 0xa2, 0xd2, 0x49, 0x0b, 0x74, 0x8b, 0x12, 0x14, 0x39, 0xa2, 0x88, 0x58, 0x24, 0xc3, 0x19, 0xb9, + 0xa2, 0xd2, 0x49, 0x0b, 0x74, 0x8b, 0x12, 0x14, 0x39, 0xa2, 0x88, 0xc8, 0x24, 0xc3, 0x19, 0xb9, 0x32, 0x02, 0x5f, 0x7a, 0xe8, 0xad, 0x40, 0x81, 0xf6, 0xda, 0xf3, 0x16, 0xe8, 0xb1, 0x39, 0x15, 0xe8, 0x7d, 0x7b, 0x5b, 0x64, 0x0f, 0x2d, 0xf6, 0x10, 0x14, 0x49, 0xd1, 0x02, 0x05, 0x7a, 0xed, 0xb9, 0xe0, 0xcc, 0x50, 0xa4, 0x24, 0x52, 0x0f, 0xc7, 0xbd, 0x89, 0x33, 0xff, 0xfb, 0xf1, 0xcd, - 0xcc, 0x2f, 0xb8, 0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13, 0xab, 0x86, 0xef, 0xa8, 0x86, 0xeb, 0x7a, 0xd4, + 0xa0, 0x8e, 0xe7, 0x12, 0xb1, 0x7b, 0xce, 0xf4, 0xc8, 0xae, 0x47, 0x74, 0xce, 0xc6, 0x3f, 0xc4, + 0xd6, 0x25, 0xfe, 0xa5, 0xc6, 0x46, 0xd4, 0x30, 0x35, 0xd6, 0xa2, 0x6f, 0x41, 0x75, 0x4d, 0x50, + 0xd5, 0x0c, 0x82, 0xb9, 0x91, 0x1d, 0x42, 0xdf, 0xb0, 0x1d, 0x97, 0x69, 0x13, 0xb4, 0x4a, 0xba, + 0x6b, 0xbe, 0x11, 0x18, 0xbb, 0x91, 0xd6, 0xcb, 0xe9, 0x34, 0x09, 0x4f, 0x39, 0xdd, 0x4a, 0x86, 0x2c, 0xcf, 0xe7, 0x04, 0xca, 0x02, 0xa0, 0x1f, 0x86, 0xe6, 0x54, 0x99, 0x74, 0x0d, 0x3f, 0x6f, 0x61, 0x42, 0x15, 0x0d, 0xde, 0xeb, 0x5a, 0x25, 0xbe, 0xe7, 0x12, 0x8c, 0x3e, 0x84, 0x3c, 0xb7, 0x42, 0x96, 0x2e, 0x48, 0xab, 0x85, 0xf2, 0x52, 0x29, 0x35, 0xc4, 0x25, 0xce, 0x56, 0xc9, 0x7d, 0xf5, 0x7a, 0xe5, 0x98, 0x26, 0x58, 0x94, 0xef, 0xc2, 0x62, 0x42, 0x66, 0x65, 0xff, 0x47, 0x38, 0x20, 0x8e, 0xe7, 0x0a, 0x95, 0x48, 0x86, 0x13, 0x7b, 0x7c, 0x85, 0x09, 0x9f, 0xd5, 0xa2, 0x4f, - 0xe5, 0x0b, 0x38, 0x9f, 0xce, 0x78, 0x14, 0x56, 0xd9, 0xb0, 0xc4, 0x84, 0x7f, 0xea, 0xb8, 0xc6, - 0xae, 0x43, 0xf7, 0xab, 0x81, 0xb7, 0xe7, 0x58, 0x38, 0x88, 0x42, 0x81, 0x3e, 0x05, 0x88, 0x33, - 0x24, 0x34, 0x5c, 0x2e, 0x89, 0x12, 0x08, 0xd3, 0x59, 0xe2, 0x35, 0x27, 0xd2, 0x59, 0xaa, 0x1a, - 0x36, 0x16, 0xbc, 0x5a, 0x82, 0x53, 0xf9, 0x8b, 0x04, 0xcb, 0x59, 0x9a, 0x84, 0x23, 0x3f, 0x03, - 0x54, 0x17, 0x9b, 0x61, 0xa5, 0xf1, 0x5d, 0x59, 0xba, 0x30, 0xb9, 0x5a, 0x28, 0xab, 0x19, 0x4e, - 0xf5, 0x4a, 0x8b, 0x84, 0x69, 0xa7, 0xea, 0xbd, 0x7a, 0xd0, 0xfd, 0x2e, 0x57, 0x26, 0x98, 0x2b, - 0x57, 0x86, 0xba, 0x22, 0xe4, 0x25, 0x7d, 0xd9, 0x10, 0x19, 0xe9, 0x57, 0xce, 0x63, 0x76, 0x11, - 0x66, 0xeb, 0xbe, 0x5e, 0xa3, 0xa6, 0xee, 0x3f, 0xd3, 0x1b, 0xb8, 0xcd, 0xc2, 0x36, 0xad, 0x41, - 0xdd, 0xaf, 0x50, 0xb3, 0xfa, 0xec, 0x01, 0x6e, 0x2b, 0x07, 0x19, 0x71, 0xef, 0x04, 0xe3, 0xa7, - 0x70, 0xaa, 0x2f, 0x18, 0x22, 0xfc, 0x63, 0xc7, 0x62, 0xbe, 0x37, 0x16, 0xca, 0xef, 0x25, 0x28, - 0x32, 0xfd, 0x95, 0x27, 0x9b, 0x5b, 0x78, 0x17, 0xdb, 0xbc, 0xdd, 0x23, 0x07, 0x2a, 0x90, 0x27, - 0xd4, 0xa0, 0x2d, 0x5e, 0x52, 0x73, 0xe5, 0x6b, 0x19, 0x1a, 0xbb, 0xb8, 0x77, 0x18, 0x87, 0x26, - 0x38, 0x7b, 0x0a, 0x67, 0xe2, 0xd0, 0x85, 0xf3, 0x67, 0x49, 0x34, 0x4e, 0xaf, 0xa9, 0x22, 0x50, - 0x4f, 0xe1, 0x64, 0x18, 0x69, 0x2b, 0xde, 0x12, 0x25, 0x73, 0x63, 0x14, 0xa3, 0x3b, 0x31, 0x9a, - 0xab, 0x51, 0x33, 0x21, 0xfe, 0xe8, 0x8a, 0xa5, 0x0e, 0x57, 0x53, 0x33, 0x5d, 0xf5, 0x7e, 0x8e, - 0x83, 0x0d, 0xfa, 0x00, 0x3b, 0x76, 0x83, 0x8e, 0x5e, 0x39, 0xe8, 0x0c, 0xe4, 0x1b, 0x8c, 0x87, - 0x19, 0x95, 0xd3, 0xc4, 0x97, 0xf2, 0x18, 0xae, 0x8d, 0xa2, 0x47, 0x44, 0xed, 0x22, 0xcc, 0xec, - 0x79, 0xd4, 0x71, 0x6d, 0xdd, 0x0f, 0xf7, 0x99, 0x9e, 0x9c, 0x56, 0xe0, 0x6b, 0x8c, 0x45, 0xd9, - 0x86, 0xd5, 0x54, 0x81, 0x9b, 0xad, 0x20, 0xc0, 0x2e, 0x65, 0x44, 0x63, 0x54, 0x7c, 0x56, 0x1c, - 0xba, 0xc5, 0x09, 0xf3, 0x62, 0x27, 0xa5, 0xa4, 0x93, 0x7d, 0x66, 0x4f, 0xf4, 0x9b, 0xfd, 0x2b, - 0x09, 0xae, 0x33, 0x45, 0x1b, 0x26, 0x75, 0xf6, 0x70, 0x1f, 0xdc, 0xf4, 0x86, 0x3c, 0x4b, 0xd5, - 0x51, 0xd5, 0xef, 0x5f, 0x25, 0xb8, 0x31, 0x9a, 0x3d, 0x47, 0x08, 0x83, 0x3f, 0x76, 0x68, 0x63, - 0x1b, 0x53, 0xe3, 0xff, 0x0a, 0x83, 0x4b, 0xa2, 0x31, 0x99, 0x63, 0x06, 0xc5, 0x56, 0x57, 0x60, - 0x95, 0x3b, 0x02, 0x25, 0xfb, 0xb6, 0x07, 0xe7, 0x58, 0xf9, 0xad, 0x04, 0x57, 0x52, 0x2b, 0x25, - 0x05, 0xa8, 0x46, 0xe8, 0x97, 0xa3, 0xca, 0xe3, 0xbf, 0xa4, 0x8c, 0x7e, 0x48, 0x03, 0xa5, 0x00, - 0xce, 0x25, 0x40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, 0xc8, 0x10, 0x17, 0xf9, 0xb4, 0x36, + 0x06, 0x87, 0xf0, 0x62, 0x8b, 0x79, 0xf1, 0x31, 0xfa, 0xc1, 0x68, 0x98, 0xa8, 0xbe, 0x48, 0x99, + 0x62, 0x1c, 0x54, 0x1e, 0x7d, 0xf5, 0x66, 0x59, 0xfa, 0xfa, 0xcd, 0xb2, 0xf4, 0xf7, 0x37, 0xcb, + 0xd2, 0xaf, 0xdf, 0x2e, 0x1f, 0xfb, 0xfa, 0xed, 0xf2, 0xb1, 0xbf, 0xbd, 0x5d, 0x3e, 0xf6, 0x93, + 0xa1, 0xd7, 0xbd, 0x76, 0x52, 0x21, 0xbb, 0xfb, 0xd5, 0xf2, 0xec, 0x3f, 0xa6, 0xdb, 0xff, 0x0b, + 0x00, 0x00, 0xff, 0xff, 0x33, 0x28, 0x24, 0xee, 0xad, 0x1b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3279,9 +3279,9 @@ func (m *FinalityProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l - if m.Inactive { + if m.Sluggish { i-- - if m.Inactive { + if m.Sluggish { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -3848,7 +3848,7 @@ func (m *FinalityProviderResponse) Size() (n int) { if m.VotingPower != 0 { n += 1 + sovQuery(uint64(m.VotingPower)) } - if m.Inactive { + if m.Sluggish { n += 2 } return n @@ -6930,7 +6930,7 @@ func (m *FinalityProviderResponse) Unmarshal(dAtA []byte) error { } case 10: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Inactive", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sluggish", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -6947,7 +6947,7 @@ func (m *FinalityProviderResponse) Unmarshal(dAtA []byte) error { break } } - m.Inactive = bool(v != 0) + m.Sluggish = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) diff --git a/x/finality/README.md b/x/finality/README.md index f8c63a4b0..2f8954dcf 100644 --- a/x/finality/README.md +++ b/x/finality/README.md @@ -10,7 +10,8 @@ finalization status of blocks, and identifying equivocating finality providers in the finalization rounds. This includes: - handling requests for submitting finality votes from finality providers; -- maintaining the finalization status of blocks; and +- maintaining the finalization status of blocks; +- identifying sluggish finality providers; and - maintaining equivocation evidences of culpable finality providers. ## Table of contents @@ -179,6 +180,58 @@ message Evidence { } ``` +### Signing info tracker + +Information about finality providers' voting histories is tracked through +`FinalityProviderSigningInfo`. It is indexed in the store as follows: + +- `FinalityProviderSigningTracker: BTCPublicKey -> ProtoBuffer + (FinalityProviderSigningInfo)` + +- FinalityProviderMissedBlockBitmap: `BTCPublicKey -> VarInt(didMiss)` (varint + is a number encoding format) + +The first mapping allows us to easily look at the recent signing info for a +finality provider based on its public key, while the second mapping +(`MissedBlocksBitArray`) acts as a bit-array of size `SignedBlocksWindow` +that tells us if the finality provider missed the block for a given index in +the bit-array. The index in the bit-array is given as little-endian uint64. +The result is a varint that takes on 0 or 1, where 0 indicates the finality +provider did not miss (did sign) the corresponding block, and 1 indicates +they missed the block (did not sign). + +Note that the `MissedBlocksBitArray` is not explicitly initialized up-front. +Keys are added as the first `SignedBlocksWindow` blocks +for a newly active finality provider. The `SignedBlocksWindow` parameter +defines the size (number of blocks) of the sliding window used to track +finality provider liveness. + +The information stored for tracking finality provider liveness is as follows: + +```protobuf +// FinalityProviderSigningInfo defines a finality provider's signing info +// for monitoring their liveness activity. +message FinalityProviderSigningInfo { + // fp_btc_pk is the BTC PK of the finality provider that casts this finality + // signature + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + // start_height is the block height at which finality provider become active + int64 start_height = 2; + // missed_blocks_counter defines a counter to avoid unnecessary array reads. + // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. + int64 missed_blocks_counter = 3; +} +``` + +Note that the value of `missed_blocks_counter` in the +`FinalityProviderSigningInfo` is the same as the summed value of the +corresponding missed block bitmap. This is to avoid unnecessary bitmap reads. +Also note that the judgement of whether a finality signature is `missed` or not +is irreversible. + +The two maps will be updated upon `BeginBlock` which will be described in a +later section. + ## Messages The Finality module handles the following messages from finality providers. The @@ -285,11 +338,12 @@ been >=1 active BTC delegations)*: distribute rewards to the voted finality providers and their BTC delegations. Otherwise, none of the subsequent blocks shall be finalized and the loop breaks here. +3. Update the finality provider's voting history and label it to `sluggish` + if the number of block it has missed has passed the parameterized threshold. ## Events -The Finality module defines the `EventSlashedFinalityProvider` event. It is -emitted when a finality provider is slashed due to equivocation. +The Finality module defines the following events. ```protobuf // EventSlashedFinalityProvider is the event emitted when a finality provider is slashed @@ -298,6 +352,21 @@ message EventSlashedFinalityProvider { // evidence is the evidence that the finality provider double signs Evidence evidence = 1; } + +// EventSluggishFinalityProviderDetected is the event emitted when a finality provider is +// detected as sluggish +message EventSluggishFinalityProviderDetected { +// public_key is the BTC public key of the finality provider +string public_key = 1; +} + +// EventSluggishFinalityProviderReverted is the event emitted when a sluggish finality +// provider is no longer considered sluggish +message EventSluggishFinalityProviderReverted { +// public_key is the BTC public key of the finality provider +string public_key = 1; +} + ``` ## Queries diff --git a/x/finality/abci.go b/x/finality/abci.go index f69fac165..1b62dac38 100644 --- a/x/finality/abci.go +++ b/x/finality/abci.go @@ -28,7 +28,7 @@ func EndBlocker(ctx context.Context, k keeper.Keeper) ([]abci.ValidatorUpdate, e // tally all non-finalised blocks k.TallyBlocks(ctx) - // detect inactive finality providers if there are any + // detect sluggish finality providers if there are any // heightToExamine is determined by the current height - params.FinalitySigTimeout // which indicates that finality providers have up to `params.FinalitySigTimeout` blocks // to send votes on the height to be examined as whether `missed` or not (1 or 0 of a diff --git a/x/finality/keeper/grpc_query.go b/x/finality/keeper/grpc_query.go index 3b9a48a3f..5f38bba40 100644 --- a/x/finality/keeper/grpc_query.go +++ b/x/finality/keeper/grpc_query.go @@ -225,3 +225,51 @@ func (k Keeper) ListEvidences(ctx context.Context, req *types.QueryListEvidences } return resp, nil } + +// SigningInfo returns signing-info of a specific finality provider. +func (k Keeper) SigningInfo(ctx context.Context, req *types.QuerySigningInfoRequest) (*types.QuerySigningInfoResponse, error) { + if req == nil { + return nil, status.Errorf(codes.InvalidArgument, "empty request") + } + + if req.FpBtcPkHex == "" { + return nil, status.Errorf(codes.InvalidArgument, "empty finality provider public key") + } + + fpPk, err := bbn.NewBIP340PubKeyFromHex(req.FpBtcPkHex) + if err != nil { + return nil, status.Errorf(codes.InvalidArgument, "invalid finality provider public key") + } + + signingInfo, err := k.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) + if err != nil { + return nil, status.Errorf(codes.NotFound, "SigningInfo not found for the finality provider %s", req.FpBtcPkHex) + } + + return &types.QuerySigningInfoResponse{FpSigningInfo: signingInfo}, nil +} + +// SigningInfos returns signing-infos of all finality providers. +func (k Keeper) SigningInfos(ctx context.Context, req *types.QuerySigningInfosRequest) (*types.QuerySigningInfosResponse, error) { + if req == nil { + return nil, status.Errorf(codes.InvalidArgument, "empty request") + } + + store := k.storeService.OpenKVStore(ctx) + var signInfos []types.FinalityProviderSigningInfo + + signingInfoStore := prefix.NewStore(runtime.KVStoreAdapter(store), types.FinalityProviderSigningInfoKeyPrefix) + pageRes, err := query.Paginate(signingInfoStore, req.Pagination, func(key, value []byte) error { + var info types.FinalityProviderSigningInfo + err := k.cdc.Unmarshal(value, &info) + if err != nil { + return err + } + signInfos = append(signInfos, info) + return nil + }) + if err != nil { + return nil, err + } + return &types.QuerySigningInfosResponse{FpSigningInfos: signInfos, Pagination: pageRes}, nil +} diff --git a/x/finality/keeper/grpc_query_test.go b/x/finality/keeper/grpc_query_test.go index e756ead0a..e4a360197 100644 --- a/x/finality/keeper/grpc_query_test.go +++ b/x/finality/keeper/grpc_query_test.go @@ -1,6 +1,7 @@ package keeper_test import ( + "fmt" "math/rand" "testing" @@ -363,3 +364,73 @@ func FuzzListEvidences(f *testing.F) { } }) } + +func FuzzSigningInfo(f *testing.F) { + datagen.AddRandomSeedsToFuzzer(f, 10) + f.Fuzz(func(t *testing.T, seed int64) { + r := rand.New(rand.NewSource(seed)) + + // Setup keeper and context + fKeeper, ctx := testkeeper.FinalityKeeper(t, nil, nil) + ctx = sdk.UnwrapSDKContext(ctx) + + // generate a random list of signing info + numSigningInfo := datagen.RandomInt(r, 100) + 10 + + fpSigningInfos := map[string]*types.FinalityProviderSigningInfo{} + fpPks := make([]string, 0) + for i := uint64(0); i < numSigningInfo; i++ { + // random key pair + fpPk, err := datagen.GenRandomBIP340PubKey(r) + require.NoError(t, err) + fpPks = append(fpPks, fpPk.MarshalHex()) + + // random height and missed block counter + height := int64(datagen.RandomInt(r, 100) + 1) + missedBlockCounter := int64(datagen.RandomInt(r, 100) + 1) + + // create signing info and add it to map and finality keeper + signingInfo := types.NewFinalityProviderSigningInfo(fpPk, height, missedBlockCounter) + err = fKeeper.FinalityProviderSigningTracker.Set(ctx, fpPk.MustMarshal(), signingInfo) + require.NoError(t, err) + fpSigningInfos[fpPk.MarshalHex()] = &signingInfo + } + + // perform queries for signing info of a given finality provider + for i := uint64(0); i < numSigningInfo; i++ { + fpPk := fpPks[i] + req := &types.QuerySigningInfoRequest{FpBtcPkHex: fpPk} + resp, err := fKeeper.SigningInfo(ctx, req) + require.NoError(t, err) + require.Equal(t, fpSigningInfos[fpPk].StartHeight, resp.FpSigningInfo.StartHeight) + require.Equal(t, fpSigningInfos[fpPk].MissedBlocksCounter, resp.FpSigningInfo.MissedBlocksCounter) + require.Equal(t, fpPk, resp.FpSigningInfo.FpBtcPk.MarshalHex()) + } + + // perform a query for signing info of non-exist finality provider + nonExistFpPk, err := datagen.GenRandomBIP340PubKey(r) + require.NoError(t, err) + require.NoError(t, err) + invalidReq := &types.QuerySigningInfoRequest{FpBtcPkHex: nonExistFpPk.MarshalHex()} + _, err = fKeeper.SigningInfo(ctx, invalidReq) + require.Contains(t, err.Error(), fmt.Sprintf("SigningInfo not found for the finality provider %s", nonExistFpPk.MarshalHex())) + + // perform a query for signing infos of all the finality providers + limit := datagen.RandomInt(r, int(numSigningInfo)) + 1 + req := &types.QuerySigningInfosRequest{ + Pagination: &query.PageRequest{ + CountTotal: true, + Limit: limit, + }, + } + resp, err := fKeeper.SigningInfos(ctx, req) + require.NoError(t, err) + require.LessOrEqual(t, len(resp.FpSigningInfos), int(limit)) // check if pagination takes effect + require.EqualValues(t, resp.Pagination.Total, numSigningInfo) // ensure evidences before startHeight are not included + for _, si := range resp.FpSigningInfos { + require.Equal(t, fpSigningInfos[si.FpBtcPk.MarshalHex()].MissedBlocksCounter, si.MissedBlocksCounter) + require.Equal(t, fpSigningInfos[si.FpBtcPk.MarshalHex()].FpBtcPk.MarshalHex(), si.FpBtcPk.MarshalHex()) + require.Equal(t, fpSigningInfos[si.FpBtcPk.MarshalHex()].StartHeight, si.StartHeight) + } + }) +} diff --git a/x/finality/keeper/liveness.go b/x/finality/keeper/liveness.go index f4da183e0..ae2fbb5db 100644 --- a/x/finality/keeper/liveness.go +++ b/x/finality/keeper/liveness.go @@ -11,7 +11,7 @@ import ( ) // HandleLiveness handles liveness of each active finality provider for a given height -// including identifying inactive finality providers and applying punishment +// including identifying sluggish finality providers and applying punishment (TBD) func (k Keeper) HandleLiveness(ctx context.Context, height int64) { // get all the active finality providers for the height fpSet := k.BTCStakingKeeper.GetVotingPowerTable(ctx, uint64(height)) @@ -19,8 +19,8 @@ func (k Keeper) HandleLiveness(ctx context.Context, height int64) { voterBTCPKs := k.GetVoters(ctx, uint64(height)) // Iterate over all the finality providers which *should* have signed this block - // store whether or not they have actually signed it, identify inactive - // ones, and apply punishment + // store whether or not they have actually signed it, identify sluggish + // ones, and apply punishment (TBD) for fpPkHex := range fpSet { fpPk, err := types.NewBIP340PubKeyFromHex(fpPkHex) if err != nil { @@ -38,7 +38,7 @@ func (k Keeper) HandleLiveness(ctx context.Context, height int64) { } // HandleFinalityProviderLiveness updates the voting history of the given finality provider and -// detect inactive the finality provider if the number of missed block is reached to the threshold in a +// detect sluggish the finality provider if the number of missed block is reached to the threshold in a // sliding window func (k Keeper) HandleFinalityProviderLiveness(ctx context.Context, fpPk *types.BIP340PubKey, missed bool, height int64) error { params := k.GetParams(ctx) @@ -62,8 +62,6 @@ func (k Keeper) HandleFinalityProviderLiveness(ctx context.Context, fpPk *types. sdkCtx := sdk.UnwrapSDKContext(ctx) if missed { - // TODO emit event - k.Logger(sdkCtx).Debug( "absent finality provider", "height", height, @@ -79,34 +77,51 @@ func (k Keeper) HandleFinalityProviderLiveness(ctx context.Context, fpPk *types. // if we are past the minimum height and the finality provider has missed too many blocks, punish them if height > minHeight && signInfo.MissedBlocksCounter > maxMissed { updated = true - // TODO emit event + + k.Logger(sdkCtx).Info( + "detected sluggish finality provider", + "height", height, + "public_key", fpPk.MarshalHex(), + "missed_count", signInfo.MissedBlocksCounter, + "threshold", minSignedPerWindow, + "window_size", signedBlocksWindow, + ) // Inactivity detected - err = k.hooks.AfterInactiveFinalityProviderDetected(ctx, fpPk) + err = k.hooks.AfterSluggishFinalityProviderDetected(ctx, fpPk) if err != nil { return err } + if err := sdkCtx.EventManager().EmitTypedEvent( + finalitytypes.NewEventSluggishFinalityProviderDetected(fpPk), + ); err != nil { + panic(fmt.Errorf("failed to emit sluggish finality provider detected event for height %d: %w", height, err)) + } + + finalitytypes.IncrementSluggishFinalityProviderCounter() + } else if fp.IsSluggish() { + updated = true + k.Logger(sdkCtx).Info( - "detected inactive finality provider", + "reverted sluggish finality provider", "height", height, "public_key", fpPk.MarshalHex(), ) - } else if fp.IsInactive() { - updated = true - // TODO emit event - // change the Inactive flag of the finality provider to false - err = k.BTCStakingKeeper.RevertInactiveFinalityProvider(ctx, fpPk.MustMarshal()) + // change the sluggish flag of the finality provider to false + err = k.BTCStakingKeeper.RevertSluggishFinalityProvider(ctx, fpPk.MustMarshal()) if err != nil { - return fmt.Errorf("failed to revert inactive finality provider %s: %w", fpPk.MarshalHex(), err) + return fmt.Errorf("failed to revert sluggish finality provider %s: %w", fpPk.MarshalHex(), err) } - k.Logger(sdkCtx).Info( - "reverted inactive finality provider", - "height", height, - "public_key", fpPk.MarshalHex(), - ) + if err := sdkCtx.EventManager().EmitTypedEvent( + finalitytypes.NewEventSluggishFinalityProviderReverted(fpPk), + ); err != nil { + panic(fmt.Errorf("failed to emit sluggish finality provider reverted event for height %d: %w", height, err)) + } + + finalitytypes.DecrementSluggishFinalityProviderCounter() } // Set the updated signing info diff --git a/x/finality/keeper/liveness_test.go b/x/finality/keeper/liveness_test.go index 4f110b442..563cba5ee 100644 --- a/x/finality/keeper/liveness_test.go +++ b/x/finality/keeper/liveness_test.go @@ -27,13 +27,13 @@ func FuzzHandleLiveness(f *testing.F) { fKeeper, ctx := keepertest.FinalityKeeper(t, bsKeeper, iKeeper) mockedHooks := types.NewMockFinalityHooks(ctrl) - mockedHooks.EXPECT().AfterInactiveFinalityProviderDetected(gomock.Any(), gomock.Any()).Return(nil).AnyTimes() + mockedHooks.EXPECT().AfterSluggishFinalityProviderDetected(gomock.Any(), gomock.Any()).Return(nil).AnyTimes() fKeeper.SetHooks(mockedHooks) params := fKeeper.GetParams(ctx) fpPk, err := datagen.GenRandomBIP340PubKey(r) require.NoError(t, err) - bsKeeper.EXPECT().GetFinalityProvider(gomock.Any(), fpPk.MustMarshal()).Return(&bstypes.FinalityProvider{Inactive: false}, nil).AnyTimes() + bsKeeper.EXPECT().GetFinalityProvider(gomock.Any(), fpPk.MustMarshal()).Return(&bstypes.FinalityProvider{Sluggish: false}, nil).AnyTimes() signingInfo := types.NewFinalityProviderSigningInfo( fpPk, 1, @@ -58,31 +58,31 @@ func FuzzHandleLiveness(f *testing.F) { minSignedPerWindow := params.MinSignedPerWindowInt() maxMissed := params.SignedBlocksWindow - minSignedPerWindow // for blocks up to the inactivity boundary, mark the finality provider as having not signed - inactiveDetectedHeight := height + maxMissed + 1 - for ; height < inactiveDetectedHeight; height++ { + sluggishDetectedHeight := height + maxMissed + 1 + for ; height < sluggishDetectedHeight; height++ { err := fKeeper.HandleFinalityProviderLiveness(ctx, fpPk, true, height) require.NoError(t, err) signingInfo, err = fKeeper.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) require.NoError(t, err) - if height < inactiveDetectedHeight-1 { + if height < sluggishDetectedHeight-1 { require.GreaterOrEqual(t, maxMissed, signingInfo.MissedBlocksCounter) } else { require.Less(t, maxMissed, signingInfo.MissedBlocksCounter) } } - // perform heights that not missed, expect the inactive is reverted - bsKeeper.EXPECT().RevertInactiveFinalityProvider(gomock.Any(), fpPk.MustMarshal()).Return(nil).AnyTimes() - inactiveRevertedHeight := height + maxMissed - for ; height < inactiveRevertedHeight; height++ { + // perform heights that not missed, expect the sluggish is reverted + bsKeeper.EXPECT().RevertSluggishFinalityProvider(gomock.Any(), fpPk.MustMarshal()).Return(nil).AnyTimes() + sluggishRevertedHeight := height + maxMissed + for ; height < sluggishRevertedHeight; height++ { err := fKeeper.HandleFinalityProviderLiveness(ctx, fpPk, false, height) require.NoError(t, err) signingInfo, err = fKeeper.FinalityProviderSigningTracker.Get(ctx, fpPk.MustMarshal()) require.NoError(t, err) - if height < inactiveRevertedHeight-1 { + if height < sluggishRevertedHeight-1 { require.Less(t, maxMissed, signingInfo.MissedBlocksCounter) } else { - // the inactive fp is reverted + // the sluggish fp is reverted require.Equal(t, maxMissed, signingInfo.MissedBlocksCounter) } } diff --git a/x/finality/types/events.go b/x/finality/types/events.go index 6d452f5d0..6e16582b4 100644 --- a/x/finality/types/events.go +++ b/x/finality/types/events.go @@ -1,7 +1,17 @@ package types +import "github.com/babylonchain/babylon/types" + func NewEventSlashedFinalityProvider(evidence *Evidence) *EventSlashedFinalityProvider { return &EventSlashedFinalityProvider{ Evidence: evidence, } } + +func NewEventSluggishFinalityProviderDetected(fpPk *types.BIP340PubKey) *EventSluggishFinalityProviderDetected { + return &EventSluggishFinalityProviderDetected{PublicKey: fpPk.MarshalHex()} +} + +func NewEventSluggishFinalityProviderReverted(fpPk *types.BIP340PubKey) *EventSluggishFinalityProviderReverted { + return &EventSluggishFinalityProviderReverted{PublicKey: fpPk.MarshalHex()} +} diff --git a/x/finality/types/events.pb.go b/x/finality/types/events.pb.go index 2a19e5f20..1f7fdd4b7 100644 --- a/x/finality/types/events.pb.go +++ b/x/finality/types/events.pb.go @@ -69,14 +69,110 @@ func (m *EventSlashedFinalityProvider) GetEvidence() *Evidence { return nil } +// EventSluggishFinalityProviderDetected is the event emitted when a finality provider is +// detected as sluggish +type EventSluggishFinalityProviderDetected struct { + // public_key is the BTC public key of the finality provider + PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` +} + +func (m *EventSluggishFinalityProviderDetected) Reset() { *m = EventSluggishFinalityProviderDetected{} } +func (m *EventSluggishFinalityProviderDetected) String() string { return proto.CompactTextString(m) } +func (*EventSluggishFinalityProviderDetected) ProtoMessage() {} +func (*EventSluggishFinalityProviderDetected) Descriptor() ([]byte, []int) { + return fileDescriptor_c34c03aae5e3e6bf, []int{1} +} +func (m *EventSluggishFinalityProviderDetected) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventSluggishFinalityProviderDetected) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventSluggishFinalityProviderDetected.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventSluggishFinalityProviderDetected) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventSluggishFinalityProviderDetected.Merge(m, src) +} +func (m *EventSluggishFinalityProviderDetected) XXX_Size() int { + return m.Size() +} +func (m *EventSluggishFinalityProviderDetected) XXX_DiscardUnknown() { + xxx_messageInfo_EventSluggishFinalityProviderDetected.DiscardUnknown(m) +} + +var xxx_messageInfo_EventSluggishFinalityProviderDetected proto.InternalMessageInfo + +func (m *EventSluggishFinalityProviderDetected) GetPublicKey() string { + if m != nil { + return m.PublicKey + } + return "" +} + +// EventSluggishFinalityProviderReverted is the event emitted when a sluggish finality +// provider is no longer considered sluggish +type EventSluggishFinalityProviderReverted struct { + // public_key is the BTC public key of the finality provider + PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` +} + +func (m *EventSluggishFinalityProviderReverted) Reset() { *m = EventSluggishFinalityProviderReverted{} } +func (m *EventSluggishFinalityProviderReverted) String() string { return proto.CompactTextString(m) } +func (*EventSluggishFinalityProviderReverted) ProtoMessage() {} +func (*EventSluggishFinalityProviderReverted) Descriptor() ([]byte, []int) { + return fileDescriptor_c34c03aae5e3e6bf, []int{2} +} +func (m *EventSluggishFinalityProviderReverted) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventSluggishFinalityProviderReverted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventSluggishFinalityProviderReverted.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventSluggishFinalityProviderReverted) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventSluggishFinalityProviderReverted.Merge(m, src) +} +func (m *EventSluggishFinalityProviderReverted) XXX_Size() int { + return m.Size() +} +func (m *EventSluggishFinalityProviderReverted) XXX_DiscardUnknown() { + xxx_messageInfo_EventSluggishFinalityProviderReverted.DiscardUnknown(m) +} + +var xxx_messageInfo_EventSluggishFinalityProviderReverted proto.InternalMessageInfo + +func (m *EventSluggishFinalityProviderReverted) GetPublicKey() string { + if m != nil { + return m.PublicKey + } + return "" +} + func init() { proto.RegisterType((*EventSlashedFinalityProvider)(nil), "babylon.finality.v1.EventSlashedFinalityProvider") + proto.RegisterType((*EventSluggishFinalityProviderDetected)(nil), "babylon.finality.v1.EventSluggishFinalityProviderDetected") + proto.RegisterType((*EventSluggishFinalityProviderReverted)(nil), "babylon.finality.v1.EventSluggishFinalityProviderReverted") } func init() { proto.RegisterFile("babylon/finality/v1/events.proto", fileDescriptor_c34c03aae5e3e6bf) } var fileDescriptor_c34c03aae5e3e6bf = []byte{ - // 193 bytes of a gzipped FileDescriptorProto + // 250 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0xcb, 0xcc, 0x4b, 0xcc, 0xc9, 0x2c, 0xa9, 0xd4, 0x2f, 0x33, 0xd4, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xaa, @@ -84,12 +180,15 @@ var fileDescriptor_c34c03aae5e3e6bf = []byte{ 0x92, 0x4b, 0xc6, 0x15, 0x64, 0x50, 0x70, 0x4e, 0x62, 0x71, 0x46, 0x6a, 0x8a, 0x1b, 0x54, 0x36, 0xa0, 0x28, 0xbf, 0x2c, 0x33, 0x25, 0xb5, 0x48, 0xc8, 0x92, 0x8b, 0x23, 0x15, 0xc4, 0xca, 0x4b, 0x4e, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x92, 0xd5, 0xc3, 0x62, 0x97, 0x9e, 0x2b, 0x54, - 0x51, 0x10, 0x5c, 0xb9, 0x93, 0xd7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, - 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, - 0x19, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x0d, 0x4b, 0xce, - 0x48, 0xcc, 0xcc, 0x83, 0x71, 0xf4, 0x2b, 0x10, 0x4e, 0x2e, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, - 0x03, 0xbb, 0xd6, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x4e, 0xb5, 0x88, 0x0a, 0x01, 0x00, - 0x00, + 0x51, 0x10, 0x5c, 0xb9, 0x92, 0x1b, 0x97, 0x2a, 0xd4, 0xe8, 0xd2, 0xf4, 0xf4, 0xcc, 0xe2, 0x0c, + 0x74, 0xb3, 0x5d, 0x52, 0x4b, 0x52, 0x93, 0x4b, 0x52, 0x53, 0x84, 0x64, 0xb9, 0xb8, 0x0a, 0x4a, + 0x93, 0x72, 0x32, 0x93, 0xe3, 0xb3, 0x53, 0x2b, 0xc1, 0xb6, 0x70, 0x06, 0x71, 0x42, 0x44, 0xbc, + 0x53, 0x2b, 0x09, 0x9a, 0x13, 0x94, 0x5a, 0x96, 0x5a, 0x44, 0xd8, 0x1c, 0x27, 0xaf, 0x13, 0x8f, + 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, + 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, + 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x7a, 0x2e, 0x39, 0x23, 0x31, 0x33, 0x0f, 0xc6, 0xd1, 0xaf, 0x40, + 0x04, 0x61, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xf4, 0x8c, 0x01, 0x01, 0x00, 0x00, + 0xff, 0xff, 0x62, 0xf7, 0x2c, 0xf5, 0x9a, 0x01, 0x00, 0x00, } func (m *EventSlashedFinalityProvider) Marshal() (dAtA []byte, err error) { @@ -127,6 +226,66 @@ func (m *EventSlashedFinalityProvider) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } +func (m *EventSluggishFinalityProviderDetected) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventSluggishFinalityProviderDetected) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventSluggishFinalityProviderDetected) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PublicKey) > 0 { + i -= len(m.PublicKey) + copy(dAtA[i:], m.PublicKey) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PublicKey))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventSluggishFinalityProviderReverted) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventSluggishFinalityProviderReverted) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventSluggishFinalityProviderReverted) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PublicKey) > 0 { + i -= len(m.PublicKey) + copy(dAtA[i:], m.PublicKey) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PublicKey))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { offset -= sovEvents(v) base := offset @@ -151,6 +310,32 @@ func (m *EventSlashedFinalityProvider) Size() (n int) { return n } +func (m *EventSluggishFinalityProviderDetected) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PublicKey) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventSluggishFinalityProviderReverted) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PublicKey) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + func sovEvents(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -243,6 +428,170 @@ func (m *EventSlashedFinalityProvider) Unmarshal(dAtA []byte) error { } return nil } +func (m *EventSluggishFinalityProviderDetected) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventSluggishFinalityProviderDetected: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventSluggishFinalityProviderDetected: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PublicKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventSluggishFinalityProviderReverted) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventSluggishFinalityProviderReverted: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventSluggishFinalityProviderReverted: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PublicKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipEvents(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/finality/types/expected_keepers.go b/x/finality/types/expected_keepers.go index 291683a28..1be3bdab0 100644 --- a/x/finality/types/expected_keepers.go +++ b/x/finality/types/expected_keepers.go @@ -18,7 +18,7 @@ type BTCStakingKeeper interface { GetVotingPowerDistCache(ctx context.Context, height uint64) (*bstypes.VotingPowerDistCache, error) RemoveVotingPowerDistCache(ctx context.Context, height uint64) GetLastFinalizedEpoch(ctx context.Context) uint64 - RevertInactiveFinalityProvider(ctx context.Context, fpBTCPK []byte) error + RevertSluggishFinalityProvider(ctx context.Context, fpBTCPK []byte) error } // IncentiveKeeper defines the expected interface needed to distribute rewards. @@ -31,5 +31,5 @@ type BtcStakingHooks interface { } type FinalityHooks interface { - AfterInactiveFinalityProviderDetected(ctx context.Context, btcPk *bbn.BIP340PubKey) error + AfterSluggishFinalityProviderDetected(ctx context.Context, btcPk *bbn.BIP340PubKey) error } diff --git a/x/finality/types/hooks.go b/x/finality/types/hooks.go index 093f51180..743c6dabc 100644 --- a/x/finality/types/hooks.go +++ b/x/finality/types/hooks.go @@ -15,9 +15,9 @@ func NewMultiFinalityHooks(hooks ...FinalityHooks) MultiFinalityHooks { return hooks } -func (h MultiFinalityHooks) AfterInactiveFinalityProviderDetected(ctx context.Context, btcPk *types.BIP340PubKey) error { +func (h MultiFinalityHooks) AfterSluggishFinalityProviderDetected(ctx context.Context, btcPk *types.BIP340PubKey) error { for i := range h { - if err := h[i].AfterInactiveFinalityProviderDetected(ctx, btcPk); err != nil { + if err := h[i].AfterSluggishFinalityProviderDetected(ctx, btcPk); err != nil { return err } } diff --git a/x/finality/types/metrics.go b/x/finality/types/metrics.go index 84c131add..2c8d89ae2 100644 --- a/x/finality/types/metrics.go +++ b/x/finality/types/metrics.go @@ -11,14 +11,21 @@ const ( MetricsKeyAddFinalitySig = "add_finality_sig" ) -// Metrics for monitoring block finalization status const ( + /* Metrics for monitoring block finalization status */ + // MetricsKeyLastHeight is the key of the gauge recording the last height // of the ledger MetricsKeyLastHeight = "last_height" // MetricsKeyLastFinalizedHeight is the key of the gauge recording the // last height finalized by finality providers MetricsKeyLastFinalizedHeight = "last_finalized_height" + + /* Metrics for monitoring finality provider liveness */ + + // MetricsKeySluggishFinalityProviderCounter is the number of finality providers + // that are being labeled as sluggish + MetricsKeySluggishFinalityProviderCounter = "sluggish_finality_provider_counter" ) // RecordLastHeight records the last height. It is triggered upon `IndexBlock` @@ -32,7 +39,7 @@ func RecordLastHeight(height uint64) { ) } -// RecordLastHeight records the last finalized height. It is triggered upon +// RecordLastFinalizedHeight records the last finalized height. It is triggered upon // finalizing a block becomes finalized func RecordLastFinalizedHeight(height uint64) { keys := []string{MetricsKeyLastFinalizedHeight} @@ -43,3 +50,27 @@ func RecordLastFinalizedHeight(height uint64) { labels, ) } + +// IncrementSluggishFinalityProviderCounter increments the counter for the sluggish +// finality providers +func IncrementSluggishFinalityProviderCounter() { + keys := []string{MetricsKeySluggishFinalityProviderCounter} + labels := []metrics.Label{telemetry.NewLabel(telemetry.MetricLabelNameModule, ModuleName)} + telemetry.IncrCounterWithLabels( + keys, + 1, + labels, + ) +} + +// DecrementSluggishFinalityProviderCounter increments the counter for the sluggish +// finality providers +func DecrementSluggishFinalityProviderCounter() { + keys := []string{MetricsKeySluggishFinalityProviderCounter} + labels := []metrics.Label{telemetry.NewLabel(telemetry.MetricLabelNameModule, ModuleName)} + telemetry.IncrCounterWithLabels( + keys, + -1, + labels, + ) +} diff --git a/x/finality/types/mocked_keepers.go b/x/finality/types/mocked_keepers.go index fad540139..157edc91e 100644 --- a/x/finality/types/mocked_keepers.go +++ b/x/finality/types/mocked_keepers.go @@ -163,18 +163,18 @@ func (mr *MockBTCStakingKeeperMockRecorder) RemoveVotingPowerDistCache(ctx, heig return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveVotingPowerDistCache", reflect.TypeOf((*MockBTCStakingKeeper)(nil).RemoveVotingPowerDistCache), ctx, height) } -// RevertInactiveFinalityProvider mocks base method. -func (m *MockBTCStakingKeeper) RevertInactiveFinalityProvider(ctx context.Context, fpBTCPK []byte) error { +// RevertSluggishFinalityProvider mocks base method. +func (m *MockBTCStakingKeeper) RevertSluggishFinalityProvider(ctx context.Context, fpBTCPK []byte) error { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "RevertInactiveFinalityProvider", ctx, fpBTCPK) + ret := m.ctrl.Call(m, "RevertSluggishFinalityProvider", ctx, fpBTCPK) ret0, _ := ret[0].(error) return ret0 } -// RevertInactiveFinalityProvider indicates an expected call of RevertInactiveFinalityProvider. -func (mr *MockBTCStakingKeeperMockRecorder) RevertInactiveFinalityProvider(ctx, fpBTCPK interface{}) *gomock.Call { +// RevertSluggishFinalityProvider indicates an expected call of RevertSluggishFinalityProvider. +func (mr *MockBTCStakingKeeperMockRecorder) RevertSluggishFinalityProvider(ctx, fpBTCPK interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertInactiveFinalityProvider", reflect.TypeOf((*MockBTCStakingKeeper)(nil).RevertInactiveFinalityProvider), ctx, fpBTCPK) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertSluggishFinalityProvider", reflect.TypeOf((*MockBTCStakingKeeper)(nil).RevertSluggishFinalityProvider), ctx, fpBTCPK) } // SlashFinalityProvider mocks base method. @@ -286,16 +286,16 @@ func (m *MockFinalityHooks) EXPECT() *MockFinalityHooksMockRecorder { return m.recorder } -// AfterInactiveFinalityProviderDetected mocks base method. -func (m *MockFinalityHooks) AfterInactiveFinalityProviderDetected(ctx context.Context, btcPk *types.BIP340PubKey) error { +// AfterSluggishFinalityProviderDetected mocks base method. +func (m *MockFinalityHooks) AfterSluggishFinalityProviderDetected(ctx context.Context, btcPk *types.BIP340PubKey) error { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "AfterInactiveFinalityProviderDetected", ctx, btcPk) + ret := m.ctrl.Call(m, "AfterSluggishFinalityProviderDetected", ctx, btcPk) ret0, _ := ret[0].(error) return ret0 } -// AfterInactiveFinalityProviderDetected indicates an expected call of AfterInactiveFinalityProviderDetected. -func (mr *MockFinalityHooksMockRecorder) AfterInactiveFinalityProviderDetected(ctx, btcPk interface{}) *gomock.Call { +// AfterSluggishFinalityProviderDetected indicates an expected call of AfterSluggishFinalityProviderDetected. +func (mr *MockFinalityHooksMockRecorder) AfterSluggishFinalityProviderDetected(ctx, btcPk interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AfterInactiveFinalityProviderDetected", reflect.TypeOf((*MockFinalityHooks)(nil).AfterInactiveFinalityProviderDetected), ctx, btcPk) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AfterSluggishFinalityProviderDetected", reflect.TypeOf((*MockFinalityHooks)(nil).AfterSluggishFinalityProviderDetected), ctx, btcPk) } diff --git a/x/finality/types/params.pb.go b/x/finality/types/params.pb.go index 4080a8b37..cd6131dc4 100644 --- a/x/finality/types/params.pb.go +++ b/x/finality/types/params.pb.go @@ -34,7 +34,7 @@ type Params struct { // vote before being judged as missing their voting turn on the given block FinalitySigTimeout int64 `protobuf:"varint,2,opt,name=finality_sig_timeout,json=finalitySigTimeout,proto3" json:"finality_sig_timeout,omitempty"` // min_signed_per_window defines the minimum number of blocks that a finality provider is required to sign - // within the sliding window to avoid being detected as inactive + // within the sliding window to avoid being detected as sluggish MinSignedPerWindow cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=min_signed_per_window,json=minSignedPerWindow,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_signed_per_window"` // min_pub_rand is the minimum number of public randomness each // message should commit diff --git a/x/finality/types/query.pb.go b/x/finality/types/query.pb.go index 21f8290a8..1f4648346 100644 --- a/x/finality/types/query.pb.go +++ b/x/finality/types/query.pb.go @@ -921,6 +921,202 @@ func (m *QueryListEvidencesResponse) GetPagination() *query.PageResponse { return nil } +// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC +// method +type QuerySigningInfoRequest struct { + // fp_btc_pk_hex is the hex str of Bitcoin secp256k1 PK + // (in BIP340 format) of the finality provider + FpBtcPkHex string `protobuf:"bytes,1,opt,name=fp_btc_pk_hex,json=fpBtcPkHex,proto3" json:"fp_btc_pk_hex,omitempty"` +} + +func (m *QuerySigningInfoRequest) Reset() { *m = QuerySigningInfoRequest{} } +func (m *QuerySigningInfoRequest) String() string { return proto.CompactTextString(m) } +func (*QuerySigningInfoRequest) ProtoMessage() {} +func (*QuerySigningInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_32bddab77af6fdae, []int{17} +} +func (m *QuerySigningInfoRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QuerySigningInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QuerySigningInfoRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QuerySigningInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuerySigningInfoRequest.Merge(m, src) +} +func (m *QuerySigningInfoRequest) XXX_Size() int { + return m.Size() +} +func (m *QuerySigningInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QuerySigningInfoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QuerySigningInfoRequest proto.InternalMessageInfo + +func (m *QuerySigningInfoRequest) GetFpBtcPkHex() string { + if m != nil { + return m.FpBtcPkHex + } + return "" +} + +// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC +// method +type QuerySigningInfoResponse struct { + // fp_signing_info is the signing info of requested finality provider BTC public key + FpSigningInfo FinalityProviderSigningInfo `protobuf:"bytes,1,opt,name=fp_signing_info,json=fpSigningInfo,proto3" json:"fp_signing_info"` +} + +func (m *QuerySigningInfoResponse) Reset() { *m = QuerySigningInfoResponse{} } +func (m *QuerySigningInfoResponse) String() string { return proto.CompactTextString(m) } +func (*QuerySigningInfoResponse) ProtoMessage() {} +func (*QuerySigningInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_32bddab77af6fdae, []int{18} +} +func (m *QuerySigningInfoResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QuerySigningInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QuerySigningInfoResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QuerySigningInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuerySigningInfoResponse.Merge(m, src) +} +func (m *QuerySigningInfoResponse) XXX_Size() int { + return m.Size() +} +func (m *QuerySigningInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QuerySigningInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QuerySigningInfoResponse proto.InternalMessageInfo + +func (m *QuerySigningInfoResponse) GetFpSigningInfo() FinalityProviderSigningInfo { + if m != nil { + return m.FpSigningInfo + } + return FinalityProviderSigningInfo{} +} + +// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC +// method +type QuerySigningInfosRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QuerySigningInfosRequest) Reset() { *m = QuerySigningInfosRequest{} } +func (m *QuerySigningInfosRequest) String() string { return proto.CompactTextString(m) } +func (*QuerySigningInfosRequest) ProtoMessage() {} +func (*QuerySigningInfosRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_32bddab77af6fdae, []int{19} +} +func (m *QuerySigningInfosRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QuerySigningInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QuerySigningInfosRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QuerySigningInfosRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuerySigningInfosRequest.Merge(m, src) +} +func (m *QuerySigningInfosRequest) XXX_Size() int { + return m.Size() +} +func (m *QuerySigningInfosRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QuerySigningInfosRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QuerySigningInfosRequest proto.InternalMessageInfo + +func (m *QuerySigningInfosRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil +} + +// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC +// method +type QuerySigningInfosResponse struct { + // info is the signing info of all finality providers with signing info + FpSigningInfos []FinalityProviderSigningInfo `protobuf:"bytes,1,rep,name=fp_signing_infos,json=fpSigningInfos,proto3" json:"fp_signing_infos"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QuerySigningInfosResponse) Reset() { *m = QuerySigningInfosResponse{} } +func (m *QuerySigningInfosResponse) String() string { return proto.CompactTextString(m) } +func (*QuerySigningInfosResponse) ProtoMessage() {} +func (*QuerySigningInfosResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_32bddab77af6fdae, []int{20} +} +func (m *QuerySigningInfosResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QuerySigningInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QuerySigningInfosResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QuerySigningInfosResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuerySigningInfosResponse.Merge(m, src) +} +func (m *QuerySigningInfosResponse) XXX_Size() int { + return m.Size() +} +func (m *QuerySigningInfosResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QuerySigningInfosResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QuerySigningInfosResponse proto.InternalMessageInfo + +func (m *QuerySigningInfosResponse) GetFpSigningInfos() []FinalityProviderSigningInfo { + if m != nil { + return m.FpSigningInfos + } + return nil +} + +func (m *QuerySigningInfosResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + func init() { proto.RegisterEnum("babylon.finality.v1.QueriedBlockStatus", QueriedBlockStatus_name, QueriedBlockStatus_value) proto.RegisterType((*QueryParamsRequest)(nil), "babylon.finality.v1.QueryParamsRequest") @@ -942,86 +1138,99 @@ func init() { proto.RegisterType((*QueryEvidenceResponse)(nil), "babylon.finality.v1.QueryEvidenceResponse") proto.RegisterType((*QueryListEvidencesRequest)(nil), "babylon.finality.v1.QueryListEvidencesRequest") proto.RegisterType((*QueryListEvidencesResponse)(nil), "babylon.finality.v1.QueryListEvidencesResponse") + proto.RegisterType((*QuerySigningInfoRequest)(nil), "babylon.finality.v1.QuerySigningInfoRequest") + proto.RegisterType((*QuerySigningInfoResponse)(nil), "babylon.finality.v1.QuerySigningInfoResponse") + proto.RegisterType((*QuerySigningInfosRequest)(nil), "babylon.finality.v1.QuerySigningInfosRequest") + proto.RegisterType((*QuerySigningInfosResponse)(nil), "babylon.finality.v1.QuerySigningInfosResponse") } func init() { proto.RegisterFile("babylon/finality/v1/query.proto", fileDescriptor_32bddab77af6fdae) } var fileDescriptor_32bddab77af6fdae = []byte{ - // 1170 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, - 0x17, 0xcf, 0x38, 0x8d, 0xdb, 0xbc, 0x24, 0xdf, 0x6f, 0x32, 0x49, 0x4b, 0x70, 0x89, 0xe3, 0x6c, - 0x21, 0x09, 0x49, 0xb5, 0xdb, 0x38, 0xa5, 0xb4, 0x20, 0xd4, 0xc6, 0x90, 0x90, 0x40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x3c, 0xba, 0xd6, 0x6b, 0x2d, 0xef, 0x37, 0x43, 0xf2, 0x0d, 0x6d, 0xc6, - 0xf9, 0x3f, 0xd0, 0xd5, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x4f, 0x9a, 0xb0, 0x5f, 0x0f, - 0x00, 0x00, + // 1317 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdf, 0x6f, 0xdb, 0xd4, + 0x17, 0xef, 0xcd, 0xd6, 0x6c, 0x3b, 0x4d, 0xb6, 0xee, 0xae, 0xdb, 0xb7, 0xdf, 0x8c, 0xa5, 0x99, + 0x37, 0xda, 0xd2, 0x0e, 0xbb, 0x4d, 0xcb, 0xd8, 0x06, 0x68, 0x6b, 0xa0, 0xa5, 0x81, 0x2e, 0x0b, + 0x2e, 0x9a, 0xb4, 0x3d, 0x60, 0xec, 0xf4, 0x26, 0xb1, 0x9a, 0xd8, 0x5e, 0xec, 0x44, 0x0d, 0xd3, + 0x24, 0x84, 0xc4, 0x1e, 0x10, 0x48, 0x48, 0xbc, 0xc0, 0xc3, 0x1e, 0xd8, 0x03, 0x2f, 0xfc, 0x1f, + 0x68, 0x8f, 0x15, 0xf0, 0x80, 0x26, 0x51, 0xa1, 0x96, 0x3f, 0x04, 0xe5, 0xde, 0xeb, 0xc4, 0x4e, + 0x9c, 0x1f, 0x2d, 0x11, 0x6f, 0xf6, 0xf5, 0xf9, 0xf1, 0xf9, 0x7c, 0xce, 0xc9, 0xb9, 0xa7, 0x85, + 0x29, 0x4d, 0xd5, 0xea, 0x25, 0xd3, 0x90, 0xf2, 0xba, 0xa1, 0x96, 0x74, 0xa7, 0x2e, 0xd5, 0x16, + 0xa5, 0x47, 0x55, 0x52, 0xa9, 0x8b, 0x56, 0xc5, 0x74, 0x4c, 0x7c, 0x8e, 0x1b, 0x88, 0xae, 0x81, + 0x58, 0x5b, 0x8c, 0x4d, 0x14, 0xcc, 0x82, 0x49, 0xbf, 0x4b, 0x8d, 0x27, 0x66, 0x1a, 0x7b, 0xa5, + 0x60, 0x9a, 0x85, 0x12, 0x91, 0x54, 0x4b, 0x97, 0x54, 0xc3, 0x30, 0x1d, 0xd5, 0xd1, 0x4d, 0xc3, + 0xe6, 0x5f, 0xe7, 0x72, 0xa6, 0x5d, 0x36, 0x6d, 0x49, 0x53, 0x6d, 0xc2, 0x32, 0x48, 0xb5, 0x45, + 0x8d, 0x38, 0xea, 0xa2, 0x64, 0xa9, 0x05, 0xdd, 0xa0, 0xc6, 0xdc, 0x36, 0x11, 0x84, 0xca, 0x52, + 0x2b, 0x6a, 0xd9, 0x8d, 0x26, 0x04, 0x59, 0x34, 0x21, 0x52, 0x1b, 0x61, 0x02, 0xf0, 0x47, 0x8d, + 0x3c, 0x59, 0xea, 0x28, 0x93, 0x47, 0x55, 0x62, 0x3b, 0x42, 0x16, 0xce, 0xf9, 0x4e, 0x6d, 0xcb, + 0x34, 0x6c, 0x82, 0x6f, 0x42, 0x98, 0x25, 0x98, 0x44, 0x09, 0x34, 0x3b, 0x96, 0xbc, 0x28, 0x06, + 0x10, 0x17, 0x99, 0x53, 0xea, 0xf8, 0x8b, 0xbd, 0xa9, 0x11, 0x99, 0x3b, 0x08, 0xdf, 0x20, 0x48, + 0xd0, 0x90, 0x1b, 0xba, 0xed, 0x64, 0xab, 0x5a, 0x49, 0xcf, 0xc9, 0xaa, 0xb1, 0x65, 0x96, 0x0d, + 0x62, 0xbb, 0x69, 0xf1, 0x65, 0x88, 0xe6, 0x2d, 0x45, 0x73, 0x72, 0x8a, 0xb5, 0xad, 0x14, 0xc9, + 0x0e, 0x4d, 0x73, 0x4a, 0x86, 0xbc, 0x95, 0x72, 0x72, 0xd9, 0xed, 0x75, 0xb2, 0x83, 0xd7, 0x00, + 0x5a, 0x4a, 0x4c, 0x86, 0x28, 0x8c, 0x69, 0x91, 0xc9, 0x26, 0x36, 0x64, 0x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 0x88, 0xef, 0x1a, 0x1a, 0x2c, 0x77, + 0x53, 0x41, 0x71, 0x50, 0x73, 0x8e, 0x75, 0x8e, 0x62, 0xbd, 0x8a, 0x85, 0xfe, 0x58, 0x53, 0x1f, + 0xbc, 0xd8, 0x8f, 0xa3, 0xdd, 0xfd, 0x38, 0xfa, 0x6b, 0x3f, 0x8e, 0xbe, 0x3d, 0x88, 0x8f, 0xec, + 0x1e, 0xc4, 0x47, 0xfe, 0x38, 0x88, 0x8f, 0x3c, 0x5c, 0xe8, 0xb7, 0xc2, 0xee, 0xb4, 0xc2, 0xd2, + 0x6d, 0x56, 0x0b, 0xd3, 0xff, 0xd6, 0x2c, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0x75, 0xb1, 0x13, + 0x1f, 0x8b, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1056,6 +1265,10 @@ type QueryClient interface { Evidence(ctx context.Context, in *QueryEvidenceRequest, opts ...grpc.CallOption) (*QueryEvidenceResponse, error) // ListEvidences queries is a range query for evidences ListEvidences(ctx context.Context, in *QueryListEvidencesRequest, opts ...grpc.CallOption) (*QueryListEvidencesResponse, error) + // SigningInfo queries the signing info of given finality provider BTC public key + SigningInfo(ctx context.Context, in *QuerySigningInfoRequest, opts ...grpc.CallOption) (*QuerySigningInfoResponse, error) + // SigningInfos queries the signing info of all the active finality providers + SigningInfos(ctx context.Context, in *QuerySigningInfosRequest, opts ...grpc.CallOption) (*QuerySigningInfosResponse, error) } type queryClient struct { @@ -1138,6 +1351,24 @@ func (c *queryClient) ListEvidences(ctx context.Context, in *QueryListEvidencesR return out, nil } +func (c *queryClient) SigningInfo(ctx context.Context, in *QuerySigningInfoRequest, opts ...grpc.CallOption) (*QuerySigningInfoResponse, error) { + out := new(QuerySigningInfoResponse) + err := c.cc.Invoke(ctx, "/babylon.finality.v1.Query/SigningInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) SigningInfos(ctx context.Context, in *QuerySigningInfosRequest, opts ...grpc.CallOption) (*QuerySigningInfosResponse, error) { + out := new(QuerySigningInfosResponse) + err := c.cc.Invoke(ctx, "/babylon.finality.v1.Query/SigningInfos", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // Parameters queries the parameters of the module. @@ -1160,6 +1391,10 @@ type QueryServer interface { Evidence(context.Context, *QueryEvidenceRequest) (*QueryEvidenceResponse, error) // ListEvidences queries is a range query for evidences ListEvidences(context.Context, *QueryListEvidencesRequest) (*QueryListEvidencesResponse, error) + // SigningInfo queries the signing info of given finality provider BTC public key + SigningInfo(context.Context, *QuerySigningInfoRequest) (*QuerySigningInfoResponse, error) + // SigningInfos queries the signing info of all the active finality providers + SigningInfos(context.Context, *QuerySigningInfosRequest) (*QuerySigningInfosResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -1190,6 +1425,12 @@ func (*UnimplementedQueryServer) Evidence(ctx context.Context, req *QueryEvidenc func (*UnimplementedQueryServer) ListEvidences(ctx context.Context, req *QueryListEvidencesRequest) (*QueryListEvidencesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListEvidences not implemented") } +func (*UnimplementedQueryServer) SigningInfo(ctx context.Context, req *QuerySigningInfoRequest) (*QuerySigningInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SigningInfo not implemented") +} +func (*UnimplementedQueryServer) SigningInfos(ctx context.Context, req *QuerySigningInfosRequest) (*QuerySigningInfosResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SigningInfos not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -1339,6 +1580,42 @@ func _Query_ListEvidences_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +func _Query_SigningInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QuerySigningInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).SigningInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/babylon.finality.v1.Query/SigningInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).SigningInfo(ctx, req.(*QuerySigningInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_SigningInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QuerySigningInfosRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).SigningInfos(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/babylon.finality.v1.Query/SigningInfos", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).SigningInfos(ctx, req.(*QuerySigningInfosRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "babylon.finality.v1.Query", HandlerType: (*QueryServer)(nil), @@ -1375,6 +1652,14 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "ListEvidences", Handler: _Query_ListEvidences_Handler, }, + { + MethodName: "SigningInfo", + Handler: _Query_SigningInfo_Handler, + }, + { + MethodName: "SigningInfos", + Handler: _Query_SigningInfos_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "babylon/finality/v1/query.proto", @@ -2044,82 +2329,229 @@ func (m *QueryListEvidencesResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 +func (m *QuerySigningInfoRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n +func (m *QuerySigningInfoRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryListPublicRandomnessRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QuerySigningInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.FpBtcPkHex) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.FpBtcPkHex) > 0 { + i -= len(m.FpBtcPkHex) + copy(dAtA[i:], m.FpBtcPkHex) + i = encodeVarintQuery(dAtA, i, uint64(len(m.FpBtcPkHex))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryListPublicRandomnessResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QuerySigningInfoResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QuerySigningInfoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QuerySigningInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.PubRandMap) > 0 { - for k, v := range m.PubRandMap { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovQuery(uint64(l)) - } - mapEntrySize := 1 + sovQuery(uint64(k)) + l - n += mapEntrySize + 1 + sovQuery(uint64(mapEntrySize)) + { + size, err := m.FpSigningInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil } -func (m *PubRandCommitResponse) Size() (n int) { - if m == nil { +func (m *QuerySigningInfosRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QuerySigningInfosRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QuerySigningInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QuerySigningInfosResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QuerySigningInfosResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QuerySigningInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.FpSigningInfos) > 0 { + for iNdEx := len(m.FpSigningInfos) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.FpSigningInfos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryListPublicRandomnessRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FpBtcPkHex) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryListPublicRandomnessResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.PubRandMap) > 0 { + for k, v := range m.PubRandMap { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovQuery(uint64(l)) + } + mapEntrySize := 1 + sovQuery(uint64(k)) + l + n += mapEntrySize + 1 + sovQuery(uint64(mapEntrySize)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *PubRandCommitResponse) Size() (n int) { + if m == nil { return 0 } var l int @@ -2325,6 +2757,62 @@ func (m *QueryListEvidencesResponse) Size() (n int) { return n } +func (m *QuerySigningInfoRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FpBtcPkHex) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QuerySigningInfoResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.FpSigningInfo.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QuerySigningInfosRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QuerySigningInfosResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.FpSigningInfos) > 0 { + for _, e := range m.FpSigningInfos { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -4133,6 +4621,377 @@ func (m *QueryListEvidencesResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QuerySigningInfoRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QuerySigningInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QuerySigningInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FpBtcPkHex", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FpBtcPkHex = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QuerySigningInfoResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QuerySigningInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QuerySigningInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FpSigningInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.FpSigningInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QuerySigningInfosRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QuerySigningInfosRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QuerySigningInfosRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QuerySigningInfosResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QuerySigningInfosResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QuerySigningInfosResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FpSigningInfos", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FpSigningInfos = append(m.FpSigningInfos, FinalityProviderSigningInfo{}) + if err := m.FpSigningInfos[len(m.FpSigningInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/finality/types/query.pb.gw.go b/x/finality/types/query.pb.gw.go index 1309d501b..6211809d2 100644 --- a/x/finality/types/query.pb.gw.go +++ b/x/finality/types/query.pb.gw.go @@ -429,6 +429,96 @@ func local_request_Query_ListEvidences_0(ctx context.Context, marshaler runtime. } +func request_Query_SigningInfo_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySigningInfoRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["fp_btc_pk_hex"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "fp_btc_pk_hex") + } + + protoReq.FpBtcPkHex, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "fp_btc_pk_hex", err) + } + + msg, err := client.SigningInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_SigningInfo_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySigningInfoRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["fp_btc_pk_hex"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "fp_btc_pk_hex") + } + + protoReq.FpBtcPkHex, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "fp_btc_pk_hex", err) + } + + msg, err := server.SigningInfo(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_SigningInfos_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_SigningInfos_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySigningInfosRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_SigningInfos_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SigningInfos(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_SigningInfos_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySigningInfosRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_SigningInfos_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.SigningInfos(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -619,6 +709,52 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_SigningInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_SigningInfo_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_SigningInfo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_SigningInfos_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_SigningInfos_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_SigningInfos_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -820,6 +956,46 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_SigningInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_SigningInfo_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_SigningInfo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_SigningInfos_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_SigningInfos_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_SigningInfos_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -839,6 +1015,10 @@ var ( pattern_Query_Evidence_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"babylon", "finality", "v1", "finality_providers", "fp_btc_pk_hex", "evidence"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_ListEvidences_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"babylon", "finality", "v1", "evidences"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_SigningInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"babylon", "finality", "v1", "signing_infos", "fp_btc_pk_hex"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_SigningInfos_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"babylon", "finality", "v1", "signing_infos"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -857,4 +1037,8 @@ var ( forward_Query_Evidence_0 = runtime.ForwardResponseMessage forward_Query_ListEvidences_0 = runtime.ForwardResponseMessage + + forward_Query_SigningInfo_0 = runtime.ForwardResponseMessage + + forward_Query_SigningInfos_0 = runtime.ForwardResponseMessage ) From bc209828fa1504d07e210bca5db45b57f9b43797 Mon Sep 17 00:00:00 2001 From: KonradStaniec Date: Wed, 17 Jul 2024 09:40:47 +0200 Subject: [PATCH 11/21] Improve extracting data from op_return + add tests (#716) * Improve extracting data from op_return + add tests * remove unused constant --- x/btccheckpoint/types/btcutils.go | 71 +++++++++------- x/btccheckpoint/types/btcutils_test.go | 110 +++++++++++++++++++++++++ 2 files changed, 150 insertions(+), 31 deletions(-) diff --git a/x/btccheckpoint/types/btcutils.go b/x/btccheckpoint/types/btcutils.go index 37670301f..9fc55702c 100644 --- a/x/btccheckpoint/types/btcutils.go +++ b/x/btccheckpoint/types/btcutils.go @@ -13,18 +13,6 @@ import ( "github.com/btcsuite/btcd/txscript" ) -const ( - // 1 byte for OP_RETURN opcode - // 1 byte for OP_DATAXX, or 2 bytes for OP_PUSHDATA1 opcode - // max 80 bytes of application specific data - // This stems from the fact that if data in op_return is less than 75 bytes - // one of OP_DATAXX opcodes is used (https://wiki.bitcoinsv.io/index.php/Pushdata_Opcodes#Opcodes_1-75_.280x01_-_0x4B.29) - // but if data in op_return is between 76 and 80bytes, OP_PUSHDATA1 needs to be used - // in which 1 byte indicates op code itself and 1 byte indicates how many bytes - // are pushed onto stack (https://wiki.bitcoinsv.io/index.php/Pushdata_Opcodes#OP_PUSHDATA1_.2876_or_0x4C.29) - maxOpReturnPkScriptSize = 83 -) - // ParsedProof represent semantically valid: // - Bitcoin Header // - Bitcoin Header hash @@ -204,32 +192,49 @@ func verify(tx *btcutil.Tx, merkleRoot *chainhash.Hash, intermediateNodes []byte return bytes.Equal(current[:], root) } -func ExtractOpReturnData(tx *btcutil.Tx) []byte { +// ExtractStandardOpReturnData extract OP_RETURN data from transaction OP_RETURN +// output. +// If OP_RETURN output is not standard it will be ignored. If there is more than +// one output with OP_RETURN, error will be returned. +func ExtractStandardOpReturnData(tx *btcutil.Tx) ([]byte, error) { msgTx := tx.MsgTx() opReturnData := []byte{} + var opReturnCounter = 0 + for _, output := range msgTx.TxOut { - pkScript := output.PkScript - pkScriptLen := len(pkScript) - // valid op return script will have at least 2 bytes - // - fisrt byte should be OP_RETURN marker - // - second byte should indicate how many bytes there are in opreturn script - if pkScriptLen > 1 && - pkScriptLen <= maxOpReturnPkScriptSize && - pkScript[0] == txscript.OP_RETURN { - - // if this is OP_PUSHDATA1, we need to drop first 3 bytes as those are related + script := output.PkScript + + if !txscript.IsNullData(script) { + // not a standard op_return, we do not care about this output + continue + } + // At this point we know: + // - script is not empty + // - script is valid looking op_return + // - with at most 80bytes of data + opReturnCounter++ + + if opReturnCounter > 1 { + return nil, fmt.Errorf("transaction has more than one OP_RETURN output") + } + + if len(script) == 1 { + // just op_return op code + continue + } + + if script[1] == txscript.OP_PUSHDATA1 { + // we need to drop first 3 bytes as those are related // to script iteslf i.e OP_RETURN + OP_PUSHDATA1 + len of bytes - if pkScript[1] == txscript.OP_PUSHDATA1 { - opReturnData = append(opReturnData, pkScript[3:]...) - } else { - // this should be one of OP_DATAXX opcodes we drop first 2 bytes - opReturnData = append(opReturnData, pkScript[2:]...) - } + opReturnData = append(opReturnData, script[3:]...) + } else { + // this should be one of OP_DATAXX opcodes we drop first 2 bytes + opReturnData = append(opReturnData, script[2:]...) } } - return opReturnData + return opReturnData, nil } func ParseTransaction(bytes []byte) (*btcutil.Tx, error) { @@ -276,7 +281,11 @@ func ParseProof( return nil, fmt.Errorf("header failed validation due to failed proof") } - opReturnData := ExtractOpReturnData(tx) + opReturnData, err := ExtractStandardOpReturnData(tx) + + if err != nil { + return nil, err + } if len(opReturnData) == 0 { return nil, fmt.Errorf("provided transaction should provide op return data") diff --git a/x/btccheckpoint/types/btcutils_test.go b/x/btccheckpoint/types/btcutils_test.go index 576929eea..803750dd4 100644 --- a/x/btccheckpoint/types/btcutils_test.go +++ b/x/btccheckpoint/types/btcutils_test.go @@ -3,12 +3,19 @@ package types_test import ( "bytes" "encoding/hex" + "math/rand" "testing" + "time" + "github.com/babylonchain/babylon/testutil/datagen" bbn "github.com/babylonchain/babylon/types" btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/btcsuite/btcd/btcutil" btcchaincfg "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" + "github.com/btcsuite/btcd/txscript" + "github.com/btcsuite/btcd/wire" + "github.com/stretchr/testify/require" ) // Sanity test checking mostly btcd code, that we can realy parse bitcoin transaction @@ -164,3 +171,106 @@ func TestParsingCorrectBtcProofs(t *testing.T) { } } } + +func buildOpReturnOutput(t *testing.T, r *rand.Rand, dataLen int) *wire.TxOut { + data := datagen.GenRandomByteArray(r, uint64(dataLen)) + pkscript, err := txscript.NewScriptBuilder().AddOp(txscript.OP_RETURN).AddData(data).Script() + require.NoError(t, err) + + return wire.NewTxOut(0, pkscript) +} + +func TestExtractingOpReturn(t *testing.T) { + tests := []struct { + name string + buildTxFn func(t *testing.T, r *rand.Rand) *btcutil.Tx + expectedDatalen int + returnsErr bool + }{ + { + name: "transaction with 1 op_return output containing 80 bytes of data", + buildTxFn: func(t *testing.T, r *rand.Rand) *btcutil.Tx { + tx := wire.NewMsgTx(wire.TxVersion) + tx.AddTxOut(buildOpReturnOutput(t, r, 80)) + return btcutil.NewTx(tx) + }, + expectedDatalen: 80, + returnsErr: false, + }, + { + name: "transaction with 1 op_return output containing 81 bytes of data", + buildTxFn: func(t *testing.T, r *rand.Rand) *btcutil.Tx { + tx := wire.NewMsgTx(wire.TxVersion) + tx.AddTxOut(buildOpReturnOutput(t, r, 81)) + return btcutil.NewTx(tx) + }, + expectedDatalen: 0, + returnsErr: false, + }, + { + name: "transaction with 1 op_return output containing 0 bytes of data", + buildTxFn: func(t *testing.T, r *rand.Rand) *btcutil.Tx { + tx := wire.NewMsgTx(wire.TxVersion) + tx.AddTxOut(buildOpReturnOutput(t, r, 0)) + return btcutil.NewTx(tx) + }, + expectedDatalen: 0, + returnsErr: false, + }, + { + name: "transaction with 2 op_return outputs", + buildTxFn: func(t *testing.T, r *rand.Rand) *btcutil.Tx { + tx := wire.NewMsgTx(wire.TxVersion) + tx.AddTxOut(buildOpReturnOutput(t, r, 1)) + tx.AddTxOut(buildOpReturnOutput(t, r, 2)) + return btcutil.NewTx(tx) + }, + expectedDatalen: 0, + returnsErr: true, + }, + { + name: "transaction with 1 op_return output containing 80 bytes of data, but with invalid OP_PUSHDATA2 opcode", + buildTxFn: func(t *testing.T, r *rand.Rand) *btcutil.Tx { + tx := wire.NewMsgTx(wire.TxVersion) + output := buildOpReturnOutput(t, r, 80) + // change valid txscript.OP_PUSHDATA1 to invalid txscript.OP_PUSHDATA2. + // This op code is invalid because it pushes less than 255 bytes of data + output.PkScript[1] = txscript.OP_PUSHDATA2 + tx.AddTxOut(output) + return btcutil.NewTx(tx) + }, + expectedDatalen: 0, + returnsErr: false, + }, + { + name: "transaction with 1 op_return output containing 80 bytes of data, but with invalid OP_PUSHDATA4 opcode", + buildTxFn: func(t *testing.T, r *rand.Rand) *btcutil.Tx { + tx := wire.NewMsgTx(wire.TxVersion) + output := buildOpReturnOutput(t, r, 80) + // change valid txscript.OP_PUSHDATA1 to invalid txscript.OP_PUSHDATA2. + // This op code is invalid because it pushes less than 255 bytes of data + output.PkScript[1] = txscript.OP_PUSHDATA4 + tx.AddTxOut(output) + return btcutil.NewTx(tx) + }, + expectedDatalen: 0, + returnsErr: false, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + r := rand.New(rand.NewSource(time.Now().Unix())) + tx := tt.buildTxFn(t, r) + data, err := btcctypes.ExtractStandardOpReturnData(tx) + if tt.returnsErr { + require.Error(t, err) + require.Nil(t, data) + } else { + require.NoError(t, err) + require.NotNil(t, data) + require.Equal(t, tt.expectedDatalen, len(data)) + } + }) + } +} From 6193496a29cedb6dede2fcff94b5f746e23078db Mon Sep 17 00:00:00 2001 From: KonradStaniec Date: Wed, 17 Jul 2024 10:51:03 +0200 Subject: [PATCH 12/21] Add cometbft to run-node docs (#718) --- docs/run-node.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/run-node.md b/docs/run-node.md index e92eb4363..fe4cdf534 100644 --- a/docs/run-node.md +++ b/docs/run-node.md @@ -139,6 +139,11 @@ $ ls .testnets gentxs node0 node1 node2 node3 ``` +## Running node in Production + +When running the Babylon node in a production setting, operators should adhere to  +[CometBFT Guidelines](https://docs.cometbft.com/v0.38/core/running-in-production) + ## Testing ```console From 135c23a999f732091ef3bbc466691e33150d8225 Mon Sep 17 00:00:00 2001 From: KonradStaniec Date: Wed, 17 Jul 2024 15:09:51 +0200 Subject: [PATCH 13/21] Disable failure scenario in feegranttyped test (#719) --- test/e2e/btc_staking_e2e_test.go | 43 ++++++++++++++++---------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/test/e2e/btc_staking_e2e_test.go b/test/e2e/btc_staking_e2e_test.go index d8d85a5e4..e76a83c11 100644 --- a/test/e2e/btc_staking_e2e_test.go +++ b/test/e2e/btc_staking_e2e_test.go @@ -14,7 +14,6 @@ import ( "github.com/stretchr/testify/suite" sdkmath "cosmossdk.io/math" - "cosmossdk.io/x/feegrant" feegrantcli "cosmossdk.io/x/feegrant/client/cli" sdk "github.com/cosmos/cosmos-sdk/types" @@ -686,27 +685,27 @@ func (s *BTCStakingTestSuite) Test8BTCDelegationFeeGrantTyped() { // submit the message to create BTC delegation using the fee grant // but putting as fee more than the spend limit // it should fail by exceeding the fee limit. - output := node.CreateBTCDelegation( - bbn.NewBIP340PubKeyFromBTCPK(delBTCPK), - pop, - stakingTxInfo, - cacheFP.BtcPk, - stakingTimeBlocks, - btcutil.Amount(stakingValue), - testStakingInfo.SlashingTx, - delegatorSig, - testUnbondingInfo.UnbondingTx, - testUnbondingInfo.SlashingTx, - uint16(unbondingTime), - btcutil.Amount(testUnbondingInfo.UnbondingInfo.UnbondingOutput.Value), - delUnbondingSlashingSig, - wGratee, - false, - fmt.Sprintf("--fee-granter=%s", feePayerAddr.String()), - fmt.Sprintf("--fees=%s", fees.Add(stakerBalance).String()), - ) - s.Require().Contains(output, fmt.Sprintf("code: %d", feegrant.ErrFeeLimitExceeded.ABCICode())) - s.Require().Contains(output, feegrant.ErrFeeLimitExceeded.Error()) + // output := node.CreateBTCDelegation( + // bbn.NewBIP340PubKeyFromBTCPK(delBTCPK), + // pop, + // stakingTxInfo, + // cacheFP.BtcPk, + // stakingTimeBlocks, + // btcutil.Amount(stakingValue), + // testStakingInfo.SlashingTx, + // delegatorSig, + // testUnbondingInfo.UnbondingTx, + // testUnbondingInfo.SlashingTx, + // uint16(unbondingTime), + // btcutil.Amount(testUnbondingInfo.UnbondingInfo.UnbondingOutput.Value), + // delUnbondingSlashingSig, + // wGratee, + // false, + // fmt.Sprintf("--fee-granter=%s", feePayerAddr.String()), + // fmt.Sprintf("--fees=%s", fees.Add(stakerBalance).String()), + // ) + // s.Require().Contains(output, fmt.Sprintf("code: %d", feegrant.ErrFeeLimitExceeded.ABCICode())) + // s.Require().Contains(output, feegrant.ErrFeeLimitExceeded.Error()) // submit the message to create BTC delegation using the fee grant at the max of spend limit node.CreateBTCDelegation( From 66d213148a023393ecfe7a59ccefb16d32a7b116 Mon Sep 17 00:00:00 2001 From: Cirrus Gai Date: Fri, 19 Jul 2024 13:25:12 +0800 Subject: [PATCH 14/21] chore(inactivity): Add `SigningInfo` and `MissedBlock` to `x/finality` genesis state (#720) --- proto/babylon/finality/v1/genesis.proto | 33 +- x/finality/keeper/genesis.go | 58 +- x/finality/keeper/genesis_test.go | 201 +++--- x/finality/keeper/signing_info.go | 64 +- x/finality/types/genesis.pb.go | 898 ++++++++++++++++++++++-- 5 files changed, 1108 insertions(+), 146 deletions(-) diff --git a/proto/babylon/finality/v1/genesis.proto b/proto/babylon/finality/v1/genesis.proto index 9edc47c7c..af3ef6cd6 100644 --- a/proto/babylon/finality/v1/genesis.proto +++ b/proto/babylon/finality/v1/genesis.proto @@ -21,6 +21,12 @@ message GenesisState { repeated PublicRandomness public_randomness = 5; // pub_rand_commit contains all the public randomness commitment ever commited from the finality providers. repeated PubRandCommitWithPK pub_rand_commit = 6; + // signing_infos represents a map between finality provider public key and their + // signing infos. + repeated SigningInfo signing_infos = 7 [(gogoproto.nullable) = false]; + // missed_blocks represents a map between finality provider public key and their + // missed blocks. + repeated FinalityProviderMissedBlocks missed_blocks = 8 [(gogoproto.nullable) = false]; } // VoteSig the vote of an finality provider @@ -51,4 +57,29 @@ message PubRandCommitWithPK { bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; // pub_rand_commit is the public randomness commitment PubRandCommit pub_rand_commit = 2; -} \ No newline at end of file +} + +// SigningInfo stores finality provider signing info of corresponding BTC public key. +message SigningInfo { + // fp_btc_pk is the BTC PK of the finality provider + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + // fp_signing_info represents the signing info of this finality provider. + FinalityProviderSigningInfo fp_signing_info = 2 [(gogoproto.nullable) = false]; +} + +// FinalityProviderMissedBlocks contains array of missed blocks of corresponding +// BTC public key. +message FinalityProviderMissedBlocks { + // fp_btc_pk is the BTC PK of the finality provider + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + // missed_blocks is an array of missed blocks by the finality provider. + repeated MissedBlock missed_blocks = 2 [(gogoproto.nullable) = false]; +} + +// MissedBlock contains height and missed status as boolean. +message MissedBlock { + // index is the height at which the block was missed. + int64 index = 1; + // missed is the missed status. + bool missed = 2; +} diff --git a/x/finality/keeper/genesis.go b/x/finality/keeper/genesis.go index d6e700640..9a70531cb 100644 --- a/x/finality/keeper/genesis.go +++ b/x/finality/keeper/genesis.go @@ -4,10 +4,11 @@ import ( "context" "fmt" + sdk "github.com/cosmos/cosmos-sdk/types" + btcstk "github.com/babylonchain/babylon/btcstaking" bbn "github.com/babylonchain/babylon/types" "github.com/babylonchain/babylon/x/finality/types" - sdk "github.com/cosmos/cosmos-sdk/types" ) // InitGenesis initializes the keeper state from a provided initial genesis state. @@ -32,6 +33,21 @@ func (k Keeper) InitGenesis(ctx context.Context, gs types.GenesisState) error { k.SetPubRandCommit(ctx, prc.FpBtcPk, prc.PubRandCommit) } + for _, info := range gs.SigningInfos { + err := k.FinalityProviderSigningTracker.Set(ctx, info.FpBtcPk.MustMarshal(), info.FpSigningInfo) + if err != nil { + return err + } + } + + for _, array := range gs.MissedBlocks { + for _, missed := range array.MissedBlocks { + if err := k.SetMissedBlockBitmapValue(ctx, array.FpBtcPk, missed.Index, missed.Missed); err != nil { + return err + } + } + } + return k.SetParams(ctx, gs.Params) } @@ -62,6 +78,11 @@ func (k Keeper) ExportGenesis(ctx context.Context) (*types.GenesisState, error) return nil, err } + signingInfos, missedBlocks, err := k.signingInfosAndMissedBlock(ctx) + if err != nil { + return nil, err + } + return &types.GenesisState{ Params: k.GetParams(ctx), IndexedBlocks: blocks, @@ -69,6 +90,8 @@ func (k Keeper) ExportGenesis(ctx context.Context) (*types.GenesisState, error) VoteSigs: voteSigs, PublicRandomness: pubRandomness, PubRandCommit: prCommit, + SigningInfos: signingInfos, + MissedBlocks: missedBlocks, }, nil } @@ -198,6 +221,39 @@ func (k Keeper) exportPubRandCommit(ctx context.Context) ([]*types.PubRandCommit return commtRandoms, nil } +func (k Keeper) signingInfosAndMissedBlock(ctx context.Context) ([]types.SigningInfo, []types.FinalityProviderMissedBlocks, error) { + signingInfos := make([]types.SigningInfo, 0) + missedBlocks := make([]types.FinalityProviderMissedBlocks, 0) + err := k.FinalityProviderSigningTracker.Walk(ctx, nil, func(fpPkBytes []byte, info types.FinalityProviderSigningInfo) (stop bool, err error) { + fpPk, err := bbn.NewBIP340PubKey(fpPkBytes) + if err != nil { + return true, err + } + + signingInfos = append(signingInfos, types.SigningInfo{ + FpBtcPk: fpPk, + FpSigningInfo: info, + }) + + localMissedBlocks, err := k.GetFinalityProviderMissedBlocks(ctx, fpPk) + if err != nil { + return true, err + } + + missedBlocks = append(missedBlocks, types.FinalityProviderMissedBlocks{ + FpBtcPk: fpPk, + MissedBlocks: localMissedBlocks, + }) + + return false, nil + }) + if err != nil { + return nil, nil, err + } + + return signingInfos, missedBlocks, nil +} + // parsePubKeyAndBlkHeightFromStoreKey expects to receive a key with // BIP340PubKey(fpBTCPK) || BigEndianUint64(blkHeight) func parsePubKeyAndBlkHeightFromStoreKey(key []byte) (fpBTCPK *bbn.BIP340PubKey, blkHeight uint64, err error) { diff --git a/x/finality/keeper/genesis_test.go b/x/finality/keeper/genesis_test.go index ce7e87bc9..bbec05549 100644 --- a/x/finality/keeper/genesis_test.go +++ b/x/finality/keeper/genesis_test.go @@ -4,100 +4,129 @@ import ( "math/rand" "testing" + "github.com/stretchr/testify/require" + "github.com/babylonchain/babylon/testutil/datagen" keepertest "github.com/babylonchain/babylon/testutil/keeper" bbn "github.com/babylonchain/babylon/types" "github.com/babylonchain/babylon/x/finality/types" - "github.com/stretchr/testify/require" ) -func TestExportGenesis(t *testing.T) { - k, ctx := keepertest.FinalityKeeper(t, nil, nil) - - r := rand.New(rand.NewSource(10)) - btcSK, btcPK, err := datagen.GenRandomBTCKeyPair(r) - require.NoError(t, err) - - fpBTCPK := bbn.NewBIP340PubKeyFromBTCPK(btcPK) - blkHeight, startHeight, numPubRand := uint64(1), uint64(0), uint64(5) - - randListInfo, _, err := datagen.GenRandomMsgCommitPubRandList(r, btcSK, startHeight, numPubRand) - require.NoError(t, err) - - blockHash := datagen.GenRandomByteArray(r, 32) - signer := datagen.GenRandomAccount().Address - msgAddFinalitySig, err := datagen.NewMsgAddFinalitySig(signer, btcSK, startHeight, blkHeight, randListInfo, blockHash) - require.NoError(t, err) - - allVotes := make([]*types.VoteSig, numPubRand) - allBlocks := make([]*types.IndexedBlock, numPubRand) - allEvidences := make([]*types.Evidence, numPubRand) - allPublicRandomness := make([]*types.PublicRandomness, numPubRand) - for i := 0; i < int(numPubRand); i++ { - // Votes - vt := &types.VoteSig{ - FpBtcPk: fpBTCPK, - BlockHeight: blkHeight, - FinalitySig: msgAddFinalitySig.FinalitySig, +func FuzzTestExportGenesis(f *testing.F) { + datagen.AddRandomSeedsToFuzzer(f, 10) + f.Fuzz(func(t *testing.T, seed int64) { + r := rand.New(rand.NewSource(seed)) + k, ctx := keepertest.FinalityKeeper(t, nil, nil) + + btcSK, btcPK, err := datagen.GenRandomBTCKeyPair(r) + require.NoError(t, err) + + fpBTCPK := bbn.NewBIP340PubKeyFromBTCPK(btcPK) + blkHeight, startHeight, numPubRand := uint64(1), uint64(0), uint64(5) + + randListInfo, _, err := datagen.GenRandomMsgCommitPubRandList(r, btcSK, startHeight, numPubRand) + require.NoError(t, err) + + blockHash := datagen.GenRandomByteArray(r, 32) + signer := datagen.GenRandomAccount().Address + msgAddFinalitySig, err := datagen.NewMsgAddFinalitySig(signer, btcSK, startHeight, blkHeight, randListInfo, blockHash) + require.NoError(t, err) + + allVotes := make([]*types.VoteSig, numPubRand) + allBlocks := make([]*types.IndexedBlock, numPubRand) + allEvidences := make([]*types.Evidence, numPubRand) + allPublicRandomness := make([]*types.PublicRandomness, numPubRand) + for i := 0; i < int(numPubRand); i++ { + // Votes + vt := &types.VoteSig{ + FpBtcPk: fpBTCPK, + BlockHeight: blkHeight, + FinalitySig: msgAddFinalitySig.FinalitySig, + } + k.SetSig(ctx, vt.BlockHeight, vt.FpBtcPk, vt.FinalitySig) + allVotes[i] = vt + + // Blocks + blk := &types.IndexedBlock{ + Height: blkHeight, + AppHash: blockHash, + Finalized: i%2 == 0, + } + k.SetBlock(ctx, blk) + allBlocks[i] = blk + + // Evidences + evidence := &types.Evidence{ + FpBtcPk: fpBTCPK, + BlockHeight: blkHeight, + PubRand: &randListInfo.PRList[i], + ForkAppHash: msgAddFinalitySig.BlockAppHash, + ForkFinalitySig: msgAddFinalitySig.FinalitySig, + CanonicalAppHash: blockHash, + CanonicalFinalitySig: msgAddFinalitySig.FinalitySig, + } + k.SetEvidence(ctx, evidence) + allEvidences[i] = evidence + + // public randomness + pubRand := randListInfo.PRList[i] + k.SetPubRand(ctx, fpBTCPK, blkHeight, pubRand) + randomness := &types.PublicRandomness{ + BlockHeight: blkHeight, + FpBtcPk: fpBTCPK, + PubRand: &pubRand, + } + allPublicRandomness[i] = randomness + + // updates the block everytime to make sure something is different. + blkHeight++ } - k.SetSig(ctx, vt.BlockHeight, vt.FpBtcPk, vt.FinalitySig) - allVotes[i] = vt - - // Blocks - blk := &types.IndexedBlock{ - Height: blkHeight, - AppHash: blockHash, - Finalized: i%2 == 0, + + prc := &types.PubRandCommit{ + StartHeight: startHeight, + NumPubRand: numPubRand, + Commitment: randListInfo.Commitment, } - k.SetBlock(ctx, blk) - allBlocks[i] = blk - - // Evidences - evidence := &types.Evidence{ - FpBtcPk: fpBTCPK, - BlockHeight: blkHeight, - PubRand: &randListInfo.PRList[i], - ForkAppHash: msgAddFinalitySig.BlockAppHash, - ForkFinalitySig: msgAddFinalitySig.FinalitySig, - CanonicalAppHash: blockHash, - CanonicalFinalitySig: msgAddFinalitySig.FinalitySig, + k.SetPubRandCommit(ctx, fpBTCPK, prc) + + numSigningInfo := datagen.RandomInt(r, 100) + 10 + fpSigningInfos := map[string]*types.FinalityProviderSigningInfo{} + fpPks := make([]string, 0) + for i := uint64(0); i < numSigningInfo; i++ { + // random key pair + fpPk, err := datagen.GenRandomBIP340PubKey(r) + require.NoError(t, err) + fpPks = append(fpPks, fpPk.MarshalHex()) + + // random height and missed block counter + height := int64(datagen.RandomInt(r, 100) + 1) + missedBlockCounter := int64(datagen.RandomInt(r, 100) + 1) + + // create signing info and add it to map and finality keeper + signingInfo := types.NewFinalityProviderSigningInfo(fpPk, height, missedBlockCounter) + err = k.FinalityProviderSigningTracker.Set(ctx, fpPk.MustMarshal(), signingInfo) + require.NoError(t, err) + fpSigningInfos[fpPk.MarshalHex()] = &signingInfo } - k.SetEvidence(ctx, evidence) - allEvidences[i] = evidence - - // public randomness - pubRand := randListInfo.PRList[i] - k.SetPubRand(ctx, fpBTCPK, blkHeight, pubRand) - randomness := &types.PublicRandomness{ - BlockHeight: blkHeight, - FpBtcPk: fpBTCPK, - PubRand: &pubRand, + + require.Equal(t, len(allVotes), int(numPubRand)) + require.Equal(t, len(allBlocks), int(numPubRand)) + require.Equal(t, len(allEvidences), int(numPubRand)) + require.Equal(t, len(allPublicRandomness), int(numPubRand)) + + gs, err := k.ExportGenesis(ctx) + require.NoError(t, err) + require.Equal(t, k.GetParams(ctx), gs.Params) + + require.Equal(t, allVotes, gs.VoteSigs) + require.Equal(t, allBlocks, gs.IndexedBlocks) + require.Equal(t, allEvidences, gs.Evidences) + require.Equal(t, allPublicRandomness, gs.PublicRandomness) + require.Equal(t, prc, gs.PubRandCommit[0].PubRandCommit) + require.Equal(t, len(fpPks), len(gs.SigningInfos)) + for _, info := range gs.SigningInfos { + require.Equal(t, fpSigningInfos[info.FpBtcPk.MarshalHex()].MissedBlocksCounter, info.FpSigningInfo.MissedBlocksCounter) + require.Equal(t, fpSigningInfos[info.FpBtcPk.MarshalHex()].StartHeight, info.FpSigningInfo.StartHeight) } - allPublicRandomness[i] = randomness - - // updates the block everytime to make sure something is different. - blkHeight++ - } - - prc := &types.PubRandCommit{ - StartHeight: startHeight, - NumPubRand: numPubRand, - Commitment: randListInfo.Commitment, - } - k.SetPubRandCommit(ctx, fpBTCPK, prc) - - require.Equal(t, len(allVotes), int(numPubRand)) - require.Equal(t, len(allBlocks), int(numPubRand)) - require.Equal(t, len(allEvidences), int(numPubRand)) - require.Equal(t, len(allPublicRandomness), int(numPubRand)) - - gs, err := k.ExportGenesis(ctx) - require.NoError(t, err) - require.Equal(t, k.GetParams(ctx), gs.Params) - - require.Equal(t, allVotes, gs.VoteSigs) - require.Equal(t, allBlocks, gs.IndexedBlocks) - require.Equal(t, allEvidences, gs.Evidences) - require.Equal(t, allPublicRandomness, gs.PublicRandomness) - require.Equal(t, prc, gs.PubRandCommit[0].PubRandCommit) + }) } diff --git a/x/finality/keeper/signing_info.go b/x/finality/keeper/signing_info.go index 262687a13..80d80cc82 100644 --- a/x/finality/keeper/signing_info.go +++ b/x/finality/keeper/signing_info.go @@ -7,7 +7,6 @@ import ( "cosmossdk.io/collections" errorsmod "cosmossdk.io/errors" "github.com/bits-and-blooms/bitset" - "github.com/cosmos/cosmos-sdk/x/slashing/types" bbntypes "github.com/babylonchain/babylon/types" finalitytypes "github.com/babylonchain/babylon/x/finality/types" @@ -37,22 +36,22 @@ func (k Keeper) GetMissedBlockBitmapValue(ctx context.Context, fpPk *bbntypes.BI // get the bit position in the chunk of the logical bitmap, where Test() // checks if the bit is set. - bitIndex := index % types.MissedBlockBitmapChunkSize + bitIndex := index % finalitytypes.MissedBlockBitmapChunkSize return bs.Test(uint(bitIndex)), nil } -// SetMissedBlockBitmapValue sets, i.e. flips, a bit in the validator's missed +// SetMissedBlockBitmapValue sets, i.e. flips, a bit in the finality provider's missed // block bitmap. When missed=true, the bit is set, otherwise it set to zero. The // index provided is assumed to be the index in the range [0, SignedBlocksWindow), // which represents the bitmap where each bit represents a height, and is -// determined by the validator's IndexOffset modulo SignedBlocksWindow. This +// determined by the finality provider's IndexOffset modulo SignedBlocksWindow. This // index is used to fetch the chunk in the bitmap and the relative bit in that // chunk. func (k Keeper) SetMissedBlockBitmapValue(ctx context.Context, fpPk *bbntypes.BIP340PubKey, index int64, missed bool) error { // get the chunk or "word" in the logical bitmap - chunkIndex := index / types.MissedBlockBitmapChunkSize + chunkIndex := index / finalitytypes.MissedBlockBitmapChunkSize - bs := bitset.New(uint(types.MissedBlockBitmapChunkSize)) + bs := bitset.New(uint(finalitytypes.MissedBlockBitmapChunkSize)) chunk, err := k.getMissedBlockBitmapChunk(ctx, fpPk, chunkIndex) if err != nil { return errorsmod.Wrapf(err, "failed to get bitmap chunk; index: %d", index) @@ -65,7 +64,7 @@ func (k Keeper) SetMissedBlockBitmapValue(ctx context.Context, fpPk *bbntypes.BI } // get the bit position in the chunk of the logical bitmap - bitIndex := uint(index % types.MissedBlockBitmapChunkSize) + bitIndex := uint(index % finalitytypes.MissedBlockBitmapChunkSize) if missed { bs.Set(bitIndex) } else { @@ -80,14 +79,61 @@ func (k Keeper) SetMissedBlockBitmapValue(ctx context.Context, fpPk *bbntypes.BI return k.SetMissedBlockBitmapChunk(ctx, fpPk, chunkIndex, updatedChunk) } -// DeleteMissedBlockBitmap removes a validator's missed block bitmap from state. +// GetFinalityProviderMissedBlocks returns array of missed blocks for given finality provider. +// Adapted from +// https://github.com/cosmos/cosmos-sdk/blob/f499bbf2138b171d6e5396a37df7699952e76bf3/x/slashing/keeper/signing_info.go#L224 +func (k Keeper) GetFinalityProviderMissedBlocks(ctx context.Context, fpPk *bbntypes.BIP340PubKey) ([]finalitytypes.MissedBlock, error) { + signedBlocksWindow := k.GetParams(ctx).SignedBlocksWindow + + missedBlocks := make([]finalitytypes.MissedBlock, 0, signedBlocksWindow) + err := k.IterateMissedBlockBitmap(ctx, fpPk, func(index int64, missed bool) (stop bool) { + if missed { + missedBlocks = append(missedBlocks, finalitytypes.MissedBlock{Index: index, Missed: missed}) + } + + return false + }) + + return missedBlocks, err +} + +// IterateMissedBlockBitmap iterates over a finality provider's signed blocks window +// bitmap and performs a callback function on each index, i.e. block height, in +// the range [0, SignedBlocksWindow). +// Note: A callback will only be executed over all bitmap chunks that exist in +// state. +// Adapted from +// https://github.com/cosmos/cosmos-sdk/blob/f499bbf2138b171d6e5396a37df7699952e76bf3/x/slashing/keeper/signing_info.go#L202 +func (k Keeper) IterateMissedBlockBitmap(ctx context.Context, fpPk *bbntypes.BIP340PubKey, cb func(index int64, missed bool) (stop bool)) error { + var index int64 + rng := collections.NewPrefixedPairRange[[]byte, uint64](fpPk.MustMarshal()) + return k.FinalityProviderMissedBlockBitmap.Walk(ctx, rng, func(key collections.Pair[[]byte, uint64], value []byte) (bool, error) { + bs := bitset.New(uint(finalitytypes.MissedBlockBitmapChunkSize)) + + if err := bs.UnmarshalBinary(value); err != nil { + return true, errorsmod.Wrapf(err, "failed to decode bitmap chunk; index: %v", key) + } + + for i := uint(0); i < finalitytypes.MissedBlockBitmapChunkSize; i++ { + // execute the callback, where Test() returns true if the bit is set + if cb(index, bs.Test(i)) { + break + } + + index++ + } + return false, nil + }) +} + +// DeleteMissedBlockBitmap removes a finality provider's missed block bitmap from state. func (k Keeper) DeleteMissedBlockBitmap(ctx context.Context, fpPk *bbntypes.BIP340PubKey) error { rng := collections.NewPrefixedPairRange[[]byte, uint64](fpPk.MustMarshal()) return k.FinalityProviderMissedBlockBitmap.Clear(ctx, rng) } // SetMissedBlockBitmapChunk sets the bitmap chunk at the given chunk index for -// a validator's missed block signing window. +// a finality provider's missed block signing window. func (k Keeper) SetMissedBlockBitmapChunk(ctx context.Context, fpPk *bbntypes.BIP340PubKey, chunkIndex int64, chunk []byte) error { return k.FinalityProviderMissedBlockBitmap.Set(ctx, collections.Join(fpPk.MustMarshal(), uint64(chunkIndex)), chunk) } diff --git a/x/finality/types/genesis.pb.go b/x/finality/types/genesis.pb.go index 7663e230b..596eaf57b 100644 --- a/x/finality/types/genesis.pb.go +++ b/x/finality/types/genesis.pb.go @@ -38,6 +38,12 @@ type GenesisState struct { PublicRandomness []*PublicRandomness `protobuf:"bytes,5,rep,name=public_randomness,json=publicRandomness,proto3" json:"public_randomness,omitempty"` // pub_rand_commit contains all the public randomness commitment ever commited from the finality providers. PubRandCommit []*PubRandCommitWithPK `protobuf:"bytes,6,rep,name=pub_rand_commit,json=pubRandCommit,proto3" json:"pub_rand_commit,omitempty"` + // signing_infos represents a map between finality provider public key and their + // signing infos. + SigningInfos []SigningInfo `protobuf:"bytes,7,rep,name=signing_infos,json=signingInfos,proto3" json:"signing_infos"` + // missed_blocks represents a map between finality provider public key and their + // missed blocks. + MissedBlocks []FinalityProviderMissedBlocks `protobuf:"bytes,8,rep,name=missed_blocks,json=missedBlocks,proto3" json:"missed_blocks"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -115,6 +121,20 @@ func (m *GenesisState) GetPubRandCommit() []*PubRandCommitWithPK { return nil } +func (m *GenesisState) GetSigningInfos() []SigningInfo { + if m != nil { + return m.SigningInfos + } + return nil +} + +func (m *GenesisState) GetMissedBlocks() []FinalityProviderMissedBlocks { + if m != nil { + return m.MissedBlocks + } + return nil +} + // VoteSig the vote of an finality provider // with the block of the vote, the finality provider btc public key and the vote signature. type VoteSig struct { @@ -265,51 +285,216 @@ func (m *PubRandCommitWithPK) GetPubRandCommit() *PubRandCommit { return nil } +// SigningInfo stores finality provider signing info of corresponding BTC public key. +type SigningInfo struct { + // fp_btc_pk is the BTC PK of the finality provider + FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + // fp_signing_info represents the signing info of this finality provider. + FpSigningInfo FinalityProviderSigningInfo `protobuf:"bytes,2,opt,name=fp_signing_info,json=fpSigningInfo,proto3" json:"fp_signing_info"` +} + +func (m *SigningInfo) Reset() { *m = SigningInfo{} } +func (m *SigningInfo) String() string { return proto.CompactTextString(m) } +func (*SigningInfo) ProtoMessage() {} +func (*SigningInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_52dc577f74d797d1, []int{4} +} +func (m *SigningInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SigningInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SigningInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SigningInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_SigningInfo.Merge(m, src) +} +func (m *SigningInfo) XXX_Size() int { + return m.Size() +} +func (m *SigningInfo) XXX_DiscardUnknown() { + xxx_messageInfo_SigningInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_SigningInfo proto.InternalMessageInfo + +func (m *SigningInfo) GetFpSigningInfo() FinalityProviderSigningInfo { + if m != nil { + return m.FpSigningInfo + } + return FinalityProviderSigningInfo{} +} + +// FinalityProviderMissedBlocks contains array of missed blocks of corresponding +// BTC public key. +type FinalityProviderMissedBlocks struct { + // fp_btc_pk is the BTC PK of the finality provider + FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + // missed_blocks is an array of missed blocks by the finality provider. + MissedBlocks []MissedBlock `protobuf:"bytes,2,rep,name=missed_blocks,json=missedBlocks,proto3" json:"missed_blocks"` +} + +func (m *FinalityProviderMissedBlocks) Reset() { *m = FinalityProviderMissedBlocks{} } +func (m *FinalityProviderMissedBlocks) String() string { return proto.CompactTextString(m) } +func (*FinalityProviderMissedBlocks) ProtoMessage() {} +func (*FinalityProviderMissedBlocks) Descriptor() ([]byte, []int) { + return fileDescriptor_52dc577f74d797d1, []int{5} +} +func (m *FinalityProviderMissedBlocks) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FinalityProviderMissedBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FinalityProviderMissedBlocks.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FinalityProviderMissedBlocks) XXX_Merge(src proto.Message) { + xxx_messageInfo_FinalityProviderMissedBlocks.Merge(m, src) +} +func (m *FinalityProviderMissedBlocks) XXX_Size() int { + return m.Size() +} +func (m *FinalityProviderMissedBlocks) XXX_DiscardUnknown() { + xxx_messageInfo_FinalityProviderMissedBlocks.DiscardUnknown(m) +} + +var xxx_messageInfo_FinalityProviderMissedBlocks proto.InternalMessageInfo + +func (m *FinalityProviderMissedBlocks) GetMissedBlocks() []MissedBlock { + if m != nil { + return m.MissedBlocks + } + return nil +} + +// MissedBlock contains height and missed status as boolean. +type MissedBlock struct { + // index is the height at which the block was missed. + Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + // missed is the missed status. + Missed bool `protobuf:"varint,2,opt,name=missed,proto3" json:"missed,omitempty"` +} + +func (m *MissedBlock) Reset() { *m = MissedBlock{} } +func (m *MissedBlock) String() string { return proto.CompactTextString(m) } +func (*MissedBlock) ProtoMessage() {} +func (*MissedBlock) Descriptor() ([]byte, []int) { + return fileDescriptor_52dc577f74d797d1, []int{6} +} +func (m *MissedBlock) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MissedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MissedBlock.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MissedBlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_MissedBlock.Merge(m, src) +} +func (m *MissedBlock) XXX_Size() int { + return m.Size() +} +func (m *MissedBlock) XXX_DiscardUnknown() { + xxx_messageInfo_MissedBlock.DiscardUnknown(m) +} + +var xxx_messageInfo_MissedBlock proto.InternalMessageInfo + +func (m *MissedBlock) GetIndex() int64 { + if m != nil { + return m.Index + } + return 0 +} + +func (m *MissedBlock) GetMissed() bool { + if m != nil { + return m.Missed + } + return false +} + func init() { proto.RegisterType((*GenesisState)(nil), "babylon.finality.v1.GenesisState") proto.RegisterType((*VoteSig)(nil), "babylon.finality.v1.VoteSig") proto.RegisterType((*PublicRandomness)(nil), "babylon.finality.v1.PublicRandomness") proto.RegisterType((*PubRandCommitWithPK)(nil), "babylon.finality.v1.PubRandCommitWithPK") + proto.RegisterType((*SigningInfo)(nil), "babylon.finality.v1.SigningInfo") + proto.RegisterType((*FinalityProviderMissedBlocks)(nil), "babylon.finality.v1.FinalityProviderMissedBlocks") + proto.RegisterType((*MissedBlock)(nil), "babylon.finality.v1.MissedBlock") } func init() { proto.RegisterFile("babylon/finality/v1/genesis.proto", fileDescriptor_52dc577f74d797d1) } var fileDescriptor_52dc577f74d797d1 = []byte{ - // 544 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x94, 0x4d, 0x6f, 0xd3, 0x30, - 0x18, 0xc7, 0xeb, 0xb5, 0xb4, 0xab, 0xdb, 0xc1, 0xf0, 0x38, 0x44, 0x05, 0xd2, 0x36, 0x12, 0x52, - 0x4f, 0xc9, 0xd6, 0x4d, 0x88, 0x89, 0x5b, 0xd0, 0xc4, 0x5e, 0x0e, 0x44, 0x0e, 0x02, 0x09, 0x0e, - 0x51, 0x92, 0xba, 0x89, 0xd5, 0x36, 0xb6, 0x6a, 0xb7, 0x5a, 0xbf, 0x05, 0x5f, 0x85, 0x03, 0xdf, - 0x61, 0xc7, 0x1d, 0xd1, 0x24, 0x2a, 0xd4, 0x7e, 0x11, 0x54, 0x37, 0xdd, 0x46, 0x09, 0x1a, 0x42, - 0x48, 0xdc, 0xec, 0x27, 0xff, 0xe7, 0xa7, 0xff, 0xf3, 0x12, 0xc3, 0x66, 0xe0, 0x07, 0x93, 0x3e, - 0x4b, 0xac, 0x2e, 0x4d, 0xfc, 0x3e, 0x95, 0x13, 0x6b, 0xbc, 0x67, 0x45, 0x24, 0x21, 0x82, 0x0a, - 0x93, 0x0f, 0x99, 0x64, 0x68, 0x27, 0x95, 0x98, 0x2b, 0x89, 0x39, 0xde, 0xab, 0x3d, 0x8a, 0x58, - 0xc4, 0xd4, 0x77, 0x6b, 0x71, 0x5a, 0x4a, 0x6b, 0x8d, 0x2c, 0x1a, 0xf7, 0x87, 0xfe, 0x20, 0x85, - 0xd5, 0x8c, 0x2c, 0xc5, 0x35, 0x58, 0x69, 0x8c, 0xcf, 0x79, 0x58, 0x7d, 0xbd, 0xb4, 0xe0, 0x4a, - 0x5f, 0x12, 0x74, 0x08, 0x8b, 0x4b, 0x88, 0x06, 0x1a, 0xa0, 0x55, 0x69, 0x3f, 0x36, 0x33, 0x2c, - 0x99, 0x8e, 0x92, 0xd8, 0x85, 0x8b, 0x69, 0x3d, 0x87, 0xd3, 0x04, 0x74, 0x0c, 0xef, 0xd3, 0xa4, - 0x43, 0xce, 0x49, 0xc7, 0x0b, 0xfa, 0x2c, 0xec, 0x09, 0x6d, 0xa3, 0x91, 0x6f, 0x55, 0xda, 0xcd, - 0x4c, 0xc4, 0xc9, 0x52, 0x6a, 0x2f, 0x94, 0x78, 0x8b, 0xde, 0xba, 0x09, 0xf4, 0x12, 0x96, 0xc9, - 0x98, 0x76, 0x48, 0x12, 0x12, 0xa1, 0xe5, 0x15, 0xe4, 0x69, 0x26, 0xe4, 0x28, 0x55, 0xe1, 0x1b, - 0x3d, 0x3a, 0x84, 0xe5, 0x31, 0x93, 0xc4, 0x13, 0x34, 0x12, 0x5a, 0x41, 0x25, 0x3f, 0xc9, 0x4c, - 0x7e, 0xc7, 0x24, 0x71, 0x69, 0x84, 0x37, 0xc7, 0xcb, 0x83, 0x40, 0x18, 0x3e, 0xe4, 0xa3, 0xa0, - 0x4f, 0x43, 0x6f, 0xe8, 0x27, 0x1d, 0x36, 0x48, 0x88, 0x10, 0xda, 0x3d, 0x85, 0x78, 0x96, 0xdd, - 0x07, 0xa5, 0xc6, 0xd7, 0x62, 0xbc, 0xcd, 0xd7, 0x22, 0xc8, 0x81, 0x0f, 0xf8, 0x28, 0x50, 0x40, - 0x2f, 0x64, 0x83, 0x01, 0x95, 0x5a, 0x51, 0x11, 0x5b, 0xbf, 0x23, 0x2e, 0x92, 0x5f, 0x29, 0xe5, - 0x7b, 0x2a, 0x63, 0xe7, 0x0c, 0x6f, 0xf1, 0xdb, 0x41, 0xe3, 0x1b, 0x80, 0xa5, 0xd4, 0x3b, 0x6a, - 0xc2, 0xaa, 0xea, 0xb5, 0x17, 0x13, 0x1a, 0xc5, 0x52, 0x0d, 0xad, 0x80, 0x2b, 0x2a, 0x76, 0xac, - 0x42, 0x08, 0xc3, 0x72, 0x97, 0x7b, 0x81, 0x0c, 0x3d, 0xde, 0xd3, 0x36, 0x1a, 0xa0, 0x55, 0xb5, - 0x9f, 0x5f, 0x4d, 0xeb, 0xed, 0x88, 0xca, 0x78, 0x14, 0x98, 0x21, 0x1b, 0x58, 0xa9, 0x91, 0x30, - 0xf6, 0x69, 0xb2, 0xba, 0x58, 0x72, 0xc2, 0x89, 0x30, 0xed, 0x13, 0x67, 0xff, 0x60, 0xd7, 0x19, - 0x05, 0x67, 0x64, 0x82, 0x4b, 0x5d, 0x6e, 0xcb, 0xd0, 0xe9, 0xa1, 0x8f, 0xb0, 0xba, 0x32, 0xbd, - 0xe8, 0xb3, 0x96, 0x57, 0xd8, 0x17, 0x57, 0xd3, 0xfa, 0xc1, 0x9f, 0x61, 0xdd, 0x30, 0x4e, 0xd8, - 0x70, 0x78, 0xf4, 0xe6, 0xad, 0xbb, 0x18, 0x41, 0x65, 0x45, 0x73, 0x69, 0x64, 0x4c, 0x01, 0xdc, - 0x5e, 0x6f, 0xec, 0xff, 0x2a, 0xd4, 0x85, 0x9b, 0xab, 0xe9, 0xfd, 0x75, 0x91, 0xe9, 0x48, 0x71, - 0x29, 0x1d, 0xa3, 0xf1, 0x05, 0xc0, 0x9d, 0x8c, 0x39, 0xff, 0x5c, 0x00, 0xf8, 0x37, 0x05, 0x9c, - 0xfe, 0xba, 0x7e, 0x1b, 0xea, 0xc7, 0x36, 0xee, 0x5e, 0xbf, 0xb5, 0xc5, 0xb3, 0x4f, 0x2f, 0x66, - 0x3a, 0xb8, 0x9c, 0xe9, 0xe0, 0xfb, 0x4c, 0x07, 0x9f, 0xe6, 0x7a, 0xee, 0x72, 0xae, 0xe7, 0xbe, - 0xce, 0xf5, 0xdc, 0x87, 0xdd, 0xbb, 0x2c, 0x9e, 0xdf, 0x3c, 0x42, 0xca, 0x6d, 0x50, 0x54, 0xef, - 0xcf, 0xfe, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x48, 0xf9, 0xea, 0x15, 0x05, 0x00, 0x00, + // 689 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x95, 0x5f, 0x6b, 0xdb, 0x3c, + 0x14, 0xc6, 0xe3, 0x24, 0x4d, 0x52, 0x25, 0x79, 0xdb, 0x57, 0x2d, 0x2f, 0xa6, 0x6f, 0x97, 0xa6, + 0x86, 0x41, 0xae, 0x9c, 0xfe, 0x63, 0xac, 0xf4, 0x2e, 0xa3, 0x5b, 0xdb, 0x30, 0x66, 0xe4, 0xb1, + 0xc1, 0x36, 0x66, 0x6c,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f, 0xbe, 0x07, 0xd9, 0x1b, 0x1e, 0x97, 0x44, 0x35, + 0xa9, 0xe3, 0xbf, 0x07, 0xca, 0x09, 0x09, 0x5c, 0x06, 0x73, 0xe2, 0x9d, 0x17, 0xb5, 0xe6, 0x50, + 0xb4, 0x81, 0xff, 0x81, 0x42, 0x94, 0x24, 0x4e, 0xaf, 0x84, 0xe2, 0x5d, 0xeb, 0xe8, 0xf4, 0xa2, + 0x26, 0x9d, 0x5d, 0xd4, 0xa4, 0xef, 0x17, 0x35, 0xe9, 0xc3, 0x65, 0x2d, 0x73, 0x76, 0x59, 0xcb, + 0x7c, 0xb9, 0xac, 0x65, 0xde, 0x6c, 0xdc, 0xd6, 0xe0, 0xc9, 0xf4, 0x93, 0x27, 0x7a, 0xb5, 0x0a, + 0xe2, 0x6b, 0xb7, 0xfd, 0x23, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x93, 0x7e, 0xf6, 0x83, 0x07, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -332,6 +517,34 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.MissedBlocks) > 0 { + for iNdEx := len(m.MissedBlocks) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.MissedBlocks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + } + if len(m.SigningInfos) > 0 { + for iNdEx := len(m.SigningInfos) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SigningInfos[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } if len(m.PubRandCommit) > 0 { for iNdEx := len(m.PubRandCommit) - 1; iNdEx >= 0; iNdEx-- { { @@ -566,6 +779,138 @@ func (m *PubRandCommitWithPK) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *SigningInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SigningInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SigningInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.FpSigningInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if m.FpBtcPk != nil { + { + size := m.FpBtcPk.Size() + i -= size + if _, err := m.FpBtcPk.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FinalityProviderMissedBlocks) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FinalityProviderMissedBlocks) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FinalityProviderMissedBlocks) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.MissedBlocks) > 0 { + for iNdEx := len(m.MissedBlocks) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.MissedBlocks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.FpBtcPk != nil { + { + size := m.FpBtcPk.Size() + i -= size + if _, err := m.FpBtcPk.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MissedBlock) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MissedBlock) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MissedBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Missed { + i-- + if m.Missed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Index != 0 { + i = encodeVarintGenesis(dAtA, i, uint64(m.Index)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { offset -= sovGenesis(v) base := offset @@ -615,6 +960,18 @@ func (m *GenesisState) Size() (n int) { n += 1 + l + sovGenesis(uint64(l)) } } + if len(m.SigningInfos) > 0 { + for _, e := range m.SigningInfos { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } + if len(m.MissedBlocks) > 0 { + for _, e := range m.MissedBlocks { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } return n } @@ -675,21 +1032,70 @@ func (m *PubRandCommitWithPK) Size() (n int) { return n } -func sovGenesis(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGenesis(x uint64) (n int) { - return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func (m *SigningInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FpBtcPk != nil { + l = m.FpBtcPk.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + l = m.FpSigningInfo.Size() + n += 1 + l + sovGenesis(uint64(l)) + return n } -func (m *GenesisState) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis + +func (m *FinalityProviderMissedBlocks) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FpBtcPk != nil { + l = m.FpBtcPk.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + if len(m.MissedBlocks) > 0 { + for _, e := range m.MissedBlocks { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } + return n +} + +func (m *MissedBlock) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Index != 0 { + n += 1 + sovGenesis(uint64(m.Index)) + } + if m.Missed { + n += 2 + } + return n +} + +func sovGenesis(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGenesis(x uint64) (n int) { + return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *GenesisState) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -913,6 +1319,74 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SigningInfos", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SigningInfos = append(m.SigningInfos, SigningInfo{}) + if err := m.SigningInfos[len(m.SigningInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MissedBlocks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MissedBlocks = append(m.MissedBlocks, FinalityProviderMissedBlocks{}) + if err := m.MissedBlocks[len(m.MissedBlocks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenesis(dAtA[iNdEx:]) @@ -1333,6 +1807,332 @@ func (m *PubRandCommitWithPK) Unmarshal(dAtA []byte) error { } return nil } +func (m *SigningInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SigningInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SigningInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FpBtcPk", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v github_com_babylonchain_babylon_types.BIP340PubKey + m.FpBtcPk = &v + if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FpSigningInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.FpSigningInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FinalityProviderMissedBlocks) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FinalityProviderMissedBlocks: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FinalityProviderMissedBlocks: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FpBtcPk", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v github_com_babylonchain_babylon_types.BIP340PubKey + m.FpBtcPk = &v + if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MissedBlocks", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MissedBlocks = append(m.MissedBlocks, MissedBlock{}) + if err := m.MissedBlocks[len(m.MissedBlocks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MissedBlock) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MissedBlock: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MissedBlock: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + m.Index = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Index |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Missed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Missed = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipGenesis(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenesis + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipGenesis(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From a33a3344bb44bde2f3374d3cbf919abb942c341a Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 23 Jul 2024 17:17:37 +0800 Subject: [PATCH 15/21] epoching: query CLIs for epoching module (#726) --- x/checkpointing/client/cli/query.go | 4 +- x/epoching/client/cli/query.go | 222 +++++++++++++++++++++++++- x/epoching/client/cli/query_params.go | 34 ---- 3 files changed, 216 insertions(+), 44 deletions(-) delete mode 100644 x/epoching/client/cli/query_params.go diff --git a/x/checkpointing/client/cli/query.go b/x/checkpointing/client/cli/query.go index 5b1184ad6..d26a5bb07 100644 --- a/x/checkpointing/client/cli/query.go +++ b/x/checkpointing/client/cli/query.go @@ -80,12 +80,12 @@ func CmdRawCheckpoint() *cobra.Command { queryClient := types.NewQueryClient(clientCtx) - epoch_num, err := strconv.ParseUint(args[0], 10, 64) + epochNum, err := strconv.ParseUint(args[0], 10, 64) if err != nil { return err } - params := types.NewQueryRawCheckpointRequest(epoch_num) + params := types.NewQueryRawCheckpointRequest(epochNum) res, err := queryClient.RawCheckpoint(context.Background(), params) if err != nil { return err diff --git a/x/epoching/client/cli/query.go b/x/epoching/client/cli/query.go index 3818f48cb..34c439cb6 100644 --- a/x/epoching/client/cli/query.go +++ b/x/epoching/client/cli/query.go @@ -1,16 +1,14 @@ package cli import ( + "context" "fmt" - // "strings" - - "github.com/spf13/cobra" - - "github.com/cosmos/cosmos-sdk/client" - // "github.com/cosmos/cosmos-sdk/client/flags" - // sdk "github.com/cosmos/cosmos-sdk/types" + "strconv" "github.com/babylonchain/babylon/x/epoching/types" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/spf13/cobra" ) // GetQueryCmd returns the cli query commands for this module @@ -24,7 +22,215 @@ func GetQueryCmd(queryRoute string) *cobra.Command { RunE: client.ValidateCmd, } - cmd.AddCommand(CmdQueryParams()) + cmd.AddCommand( + CmdQueryParams(), + CmdQueryEpochInfo(), + CmdQueryEpochsInfo(), + CmdQueryEpochMsgs(), + CmdQueryEpochValidators(), + ) + + return cmd +} + +func CmdQueryParams() *cobra.Command { + cmd := &cobra.Command{ + Use: "params", + Short: "shows the parameters of the module", + Args: cobra.NoArgs, + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx := client.GetClientContextFromCmd(cmd) + + queryClient := types.NewQueryClient(clientCtx) + + res, err := queryClient.Params(context.Background(), &types.QueryParamsRequest{}) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + +func CmdQueryEpochInfo() *cobra.Command { + cmd := &cobra.Command{ + Use: "epoch [epoch_number]", + Short: "shows the information of the current epoch, or the given epoch if specified", + Args: cobra.MaximumNArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx := client.GetClientContextFromCmd(cmd) + + queryClient := types.NewQueryClient(clientCtx) + + epochNum, err := getEpoch(queryClient, args) + if err != nil { + return err + } + + res, err := queryClient.EpochInfo( + context.Background(), + &types.QueryEpochInfoRequest{ + EpochNum: epochNum, + }, + ) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) return cmd } + +func CmdQueryEpochsInfo() *cobra.Command { + cmd := &cobra.Command{ + Use: "epochs", + Short: "shows the information of epochs according to the pagination parameters", + Args: cobra.NoArgs, + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx := client.GetClientContextFromCmd(cmd) + + queryClient := types.NewQueryClient(clientCtx) + + pageReq, err := client.ReadPageRequest(cmd.Flags()) + if err != nil { + return err + } + + res, err := queryClient.EpochsInfo( + context.Background(), + &types.QueryEpochsInfoRequest{ + Pagination: pageReq, + }, + ) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + flags.AddPaginationFlagsToCmd(cmd, "epochs") + + return cmd +} + +func CmdQueryEpochMsgs() *cobra.Command { + cmd := &cobra.Command{ + Use: "epoch-msgs [epoch_number]", + Short: "shows the messages that will be executed at the end of the current epoch, or the given epoch if specified", + Args: cobra.MaximumNArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx := client.GetClientContextFromCmd(cmd) + + queryClient := types.NewQueryClient(clientCtx) + + epochNum, err := getEpoch(queryClient, args) + if err != nil { + return err + } + + pageReq, err := client.ReadPageRequest(cmd.Flags()) + if err != nil { + return err + } + + res, err := queryClient.EpochMsgs( + context.Background(), + &types.QueryEpochMsgsRequest{ + EpochNum: epochNum, + Pagination: pageReq, + }, + ) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + flags.AddPaginationFlagsToCmd(cmd, "epoch-msgs") + + return cmd +} + +func CmdQueryEpochValidators() *cobra.Command { + cmd := &cobra.Command{ + Use: "epoch-validators [epoch_number]", + Short: "shows the validators of the current epoch, or the given epoch if specified", + Args: cobra.MaximumNArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx := client.GetClientContextFromCmd(cmd) + + queryClient := types.NewQueryClient(clientCtx) + + epochNum, err := getEpoch(queryClient, args) + if err != nil { + return err + } + + pageReq, err := client.ReadPageRequest(cmd.Flags()) + if err != nil { + return err + } + + res, err := queryClient.EpochValSet( + context.Background(), + &types.QueryEpochValSetRequest{ + EpochNum: epochNum, + Pagination: pageReq, + }, + ) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + flags.AddPaginationFlagsToCmd(cmd, "epoch-validators") + + return cmd +} + +func getEpoch(queryClient types.QueryClient, args []string) (uint64, error) { + var ( + epochNum uint64 + err error + ) + + if len(args) == 0 { + // get the current epoch number + res, err := queryClient.CurrentEpoch( + context.Background(), + &types.QueryCurrentEpochRequest{}, + ) + if err != nil { + return 0, err + } + epochNum = res.CurrentEpoch + } else { + // get the given epoch number + epochNum, err = strconv.ParseUint(args[0], 10, 64) + if err != nil { + return 0, err + } + } + + return epochNum, nil +} diff --git a/x/epoching/client/cli/query_params.go b/x/epoching/client/cli/query_params.go deleted file mode 100644 index d6446d918..000000000 --- a/x/epoching/client/cli/query_params.go +++ /dev/null @@ -1,34 +0,0 @@ -package cli - -import ( - "context" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/epoching/types" -) - -func CmdQueryParams() *cobra.Command { - cmd := &cobra.Command{ - Use: "params", - Short: "shows the parameters of the module", - Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - - queryClient := types.NewQueryClient(clientCtx) - - res, err := queryClient.Params(context.Background(), &types.QueryParamsRequest{}) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} From d9d78f2d54c923a3b28592c8c7454b22a39a0ec7 Mon Sep 17 00:00:00 2001 From: hiepmai-babylonchain <167088365+hiepmai-babylonchain@users.noreply.github.com> Date: Thu, 25 Jul 2024 08:44:28 +0700 Subject: [PATCH 16/21] feat: Add github actions (#708) --- .circleci/config.yml | 157 ---------------------------------- .github/workflows/ci.yml | 24 ++++++ .github/workflows/publish.yml | 28 ++++++ 3 files changed, 52 insertions(+), 157 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/publish.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 085fe6388..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,157 +0,0 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference -version: 2.1 - -orbs: - aws-ecr: circleci/aws-ecr@8.2.1 - go: circleci/go@1.9.0 - - -jobs: - build-test: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - go/install: - version: "1.21.4" - - checkout - - run: - name: Print Go environment - command: "go env" - - add_ssh_keys - - go/load-cache: - key: go-mod-v6-{{ checksum "go.sum" }} - - go/mod-download - - go/save-cache: - key: go-mod-v6-{{ checksum "go.sum" }} - path: "/home/circleci/.go_workspace/pkg/mod" - - run: - name: Build babylond - command: make build - - run: - name: Run tests - command: | - make test - gosec: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - checkout - - run: - name: Run gosec - command: make gosec - - e2e-test: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - go/install: - version: "1.21.4" - - checkout - - run: - name: Print Go environment - command: "go env" - - add_ssh_keys - - run: - name: Run e2e tests - no_output_timeout: 20m - command: | - sudo ln -s /usr/local/go/bin/go /usr/bin/go - sudo make test-e2e - lint: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - go/install: - version: "1.21.4" - - checkout - - add_ssh_keys - - run: - name: Lint proto files - command: make proto-lint - - run: - name: Lint - command: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.55.2 - ./bin/golangci-lint run - - build_docker: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - checkout - - add_ssh_keys - - aws-ecr/build-image: - push-image: false - dockerfile: Dockerfile - path: ./contrib/images/babylond/ - build-path: ./ - tag: "$CIRCLE_SHA1,$CIRCLE_TAG" - repo: "babylond" - - run: - name: Save Docker image to export it to workspace - command: | - docker save $(docker image ls --format '{{.Repository}}:{{.Tag}}') > /tmp/babylond.tar - - persist_to_workspace: - root: /tmp - paths: - - babylond.tar - - push_docker: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - attach_workspace: - at: /tmp - - run: - name: Load Docker image from workspace - command: | - docker load -i /tmp/babylond.tar - - aws-ecr/ecr-login: - aws-access-key-id: AWS_ACCESS_KEY_ID - aws-secret-access-key: AWS_SECRET_ACCESS_KEY - region: "$AWS_REGION" - - aws-ecr/push-image: - registry-id: AWS_ECR_REGISTRY_ID - region: "$AWS_REGION" - repo: "babylond" - tag: "$CIRCLE_SHA1,$CIRCLE_TAG" - -# Invoke jobs via workflows -# See: https://circleci.com/docs/2.0/configuration-reference/#workflows -workflows: - version: 2 - build-test: - jobs: - - build-test - e2e-test: - jobs: - - e2e-test - lint: - jobs: - - lint - gosec: - jobs: - - gosec - docker: - jobs: - - build_docker: - filters: - tags: - only: /.*/ - - push_docker: - requires: - - build_docker - filters: - tags: - only: /.*/ - branches: - only: - - main - - dev diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..859d3b1cf --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: ci + +on: + push: + branches: + - '**' + +jobs: + lint_test: + uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 + with: + run-unit-tests: true + run-integration-tests: true + run-lint: true + integration-tests-command: | + sudo make test-e2e + + docker_pipeline: + uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 + secrets: inherit + with: + publish: false + dockerfile: ./contrib/images/babylond/Dockerfile + repoName: babylond \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 000000000..38d5df4bf --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +name: docker_publish + +on: + push: + branches: + - 'main' + - 'dev' + tags: + - '*' + +jobs: + lint_test: + uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 + with: + run-unit-tests: true + run-integration-tests: true + run-lint: true + integration-tests-command: | + sudo make test-e2e + + docker_pipeline: + uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 + needs: ["lint_test"] + secrets: inherit + with: + publish: true + dockerfile: ./contrib/images/babylond/Dockerfile + repoName: babylond \ No newline at end of file From 679b49a63171c879da52ce6de90b2ad9019e1239 Mon Sep 17 00:00:00 2001 From: caseylove Date: Thu, 25 Jul 2024 14:43:23 +0800 Subject: [PATCH 17/21] chore: add `help` target to Makefile to display the usage of all targets (#728) --- Makefile | 70 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/Makefile b/Makefile index 72eca733f..f70e4c026 100644 --- a/Makefile +++ b/Makefile @@ -126,7 +126,10 @@ ifneq (,$(UPCOMING_TAG)) upcoming_tag := --upcoming-tag $(UPCOMING_TAG) endif -all: tools build lint test +help: ## Print this help message + @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +all: tools build lint test ## Run build, lint, and test # The below include contains the tools and runsim targets. # TODO: Fix following make file so it will work on linux @@ -140,8 +143,8 @@ BUILD_TARGETS := build install PACKAGES_E2E=$(shell go list ./... | grep '/e2e') -build: BUILD_ARGS=-o $(BUILDDIR)/ -build-linux: +build: BUILD_ARGS=-o $(BUILDDIR)/ ## Build babylond binary +build-linux: ## Build babylond linux version binary GOOS=linux GOARCH=$(if $(findstring aarch64,$(shell uname -m)) || $(findstring arm64,$(shell uname -m)),arm64,amd64) LEDGER_ENABLED=false $(MAKE) build $(BUILD_TARGETS): go.sum $(BUILDDIR)/ @@ -154,7 +157,7 @@ $(BUILDDIR)/: mockgen_cmd=go run github.com/golang/mock/mockgen@v1.6.0 -mocks: $(MOCKS_DIR) +mocks: $(MOCKS_DIR) ## Generate mock objects for testing $(mockgen_cmd) -source=x/checkpointing/types/expected_keepers.go -package mocks -destination testutil/mocks/checkpointing_expected_keepers.go $(mockgen_cmd) -source=x/checkpointing/keeper/bls_signer.go -package mocks -destination testutil/mocks/bls_signer.go $(mockgen_cmd) -source=x/zoneconcierge/types/expected_keepers.go -package types -destination x/zoneconcierge/types/mocked_keepers.go @@ -166,8 +169,8 @@ mocks: $(MOCKS_DIR) $(MOCKS_DIR): mkdir -p $(MOCKS_DIR) -distclean: clean tools-clean -clean: +distclean: clean tools-clean ## Remove all files generated by builds and remove all installed tools +clean: ## Remove all files generated by builds rm -rf \ $(BUILDDIR)/ \ artifacts/ \ @@ -191,7 +194,7 @@ go.sum: go.mod # This builds a docs site for each branch/tag in `./docs/versions` # and copies each site to a version prefixed path. The last entry inside # the `versions` file will be the default root index.html. -build-docs: diagrams +build-docs: diagrams ## Builds a docs site @cd client/docs && \ while read -r branch path_prefix; do \ (git checkout $${branch} && npm install && VUEPRESS_BASE="/$${path_prefix}/" npm run build) ; \ @@ -205,8 +208,8 @@ build-docs: diagrams ### Tests & Simulation ### ############################################################################### -test: test-unit -test-all: test-unit test-ledger-mock test-race test-cover +test: test-unit ## Run unit tests +test-all: test-unit test-ledger-mock test-race test-cover ## Run all tests TEST_PACKAGES=./... TEST_TARGETS := test-unit test-unit-amino test-unit-proto test-ledger-mock test-race test-ledger test-race test-cover @@ -322,10 +325,10 @@ containerMarkdownLintFix=babylon-markdownlint-fix golangci_lint_cmd=go run github.com/golangci/golangci-lint/cmd/golangci-lint -lint: lint-go +lint: lint-go ## Run go linter @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerMarkdownLint}$$"; then docker start -a $(containerMarkdownLint); else docker run --name $(containerMarkdownLint) -i -v "$(CURDIR):/work" $(markdownLintImage); fi -lint-fix: +lint-fix: ## Run go linter and fix reported issues $(golangci_lint_cmd) run --fix --out-format=tab --issues-exit-code=0 @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerMarkdownLintFix}$$"; then docker start -a $(containerMarkdownLintFix); else docker run --name $(containerMarkdownLintFix) -i -v "$(CURDIR):/work" $(markdownLintImage) . --fix; fi @@ -335,7 +338,7 @@ lint-go: .PHONY: lint lint-fix -format: +format: ## Run code formater find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' | xargs gofmt -w -s find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' | xargs misspell -w find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' | xargs goimports -w -local github.com/babylonchain/babylon @@ -345,10 +348,10 @@ format: ### Gosec ### ############################################################################### -gosec: +gosec: ## Run security checks $(DOCKER) run --rm -it -w /$(PROJECT_NAME)/ -v $(CURDIR):/$(PROJECT_NAME) securego/gosec -exclude-generated -exclude-dir=/$(PROJECT_NAME)/testutil -exclude-dir=/$(PROJECT_NAME)/test -conf /$(PROJECT_NAME)/gosec.json /$(PROJECT_NAME)/... -gosec-local: +gosec-local: ## Run local security checkss gosec -exclude-generated -exclude-dir=$(CURDIR)/testutil -exclude-dir=$(CURDIR)/test -conf $(CURDIR)/gosec.json $(CURDIR)/... .PHONY: gosec gosec-local @@ -359,22 +362,22 @@ gosec-local: DEVDOC_SAVE = docker commit `docker ps -a -n 1 -q` devdoc:local -devdoc-init: +devdoc-init: ## Initialize documentation $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/babylonchain/babylon" -w "/go/src/github.com/babylonchain/babylon" tendermint/devdoc echo # TODO make this safer $(call DEVDOC_SAVE) -devdoc: +devdoc: ## Generate documentation $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/babylonchain/babylon" -w "/go/src/github.com/babylonchain/babylon" devdoc:local bash -devdoc-save: +devdoc-save: ## Save documentation changes # TODO make this safer $(call DEVDOC_SAVE) -devdoc-clean: +devdoc-clean: ## Clean up documentation artifacts docker rmi -f $$(docker images -f "dangling=true" -q) -devdoc-update: +devdoc-update: ## Update documentation tools docker pull tendermint/devdoc .PHONY: devdoc devdoc-clean devdoc-init devdoc-save devdoc-update @@ -387,20 +390,20 @@ protoVer=0.14.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) -proto-all: proto-gen proto-swagger-gen +proto-all: proto-gen proto-swagger-gen ## Generate all protobuf related files -proto-gen: +proto-gen: ## Generate protobuf files @echo "Generating Protobuf files" @$(protoImage) sh ./proto/scripts/protocgen.sh -proto-swagger-gen: +proto-swagger-gen: ## Generate Swagger files from protobuf @echo "Generating Protobuf Swagger" @$(protoImage) sh ./proto/scripts/protoc-swagger-gen.sh -proto-format: +proto-format: ## Format protobuf files @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; -proto-lint: +proto-lint: ## Lint protobuf files @$(protoImage) buf lint --error-format=json .PHONY: proto-gen proto-swagger-gen proto-format prot-lint @@ -409,10 +412,10 @@ proto-lint: ### Docker ### ############################################################################### -build-docker: +build-docker: ## Build babylond Docker image $(MAKE) -C contrib/images babylond -build-cosmos-relayer-docker: +build-cosmos-relayer-docker: ## Build Docker image for the Cosmos relayer $(MAKE) -C contrib/images cosmos-relayer .PHONY: build-docker build-cosmos-relayer-docker @@ -421,8 +424,7 @@ build-cosmos-relayer-docker: ### Localnet ### ############################################################################### -# init-testnet-dirs will create a ./.testnets directory containing configuration for 4 Babylon nodes -init-testnet-dirs: +init-testnet-dirs: ## Initialize directories for testnet, creates a ./.testnets directory containing configuration for 4 Babylon nodes # need to create the dir before hand so that the docker container has write access to the `.testnets` dir # regardless of the user it uses mkdir -p $(CURDIR)/.testnets && chmod o+w $(CURDIR)/.testnets @@ -432,19 +434,17 @@ init-testnet-dirs: --chain-id chain-test --btc-confirmation-depth 2 --additional-sender-account true \ --epoch-interval 5 -# localnet-start-nodes will boot the nodes described in the docker-compose.yml file -localnet-start-nodes: init-testnet-dirs +localnet-start-nodes: init-testnet-dirs ## Boot the nodes described in the docker-compose.yml file docker-compose up -d -# localnet-start will run a with 4 nodes with 4 nodes, a bitcoin instance, and a vigilante instance -localnet-start: localnet-stop build-docker localnet-start-nodes +localnet-start: localnet-stop build-docker localnet-start-nodes ## Run with 4 nodes, a bitcoin instance, and a vigilante instance # localnet-stop will clean up and stop all localnets running localnet-stop: rm -rf $(CURDIR)/.testnets docker-compose down -build-test-wasm: +build-test-wasm: ## Build WASM bindings for testing docker run --rm -v "$(WASM_DIR)":/code \ --mount type=volume,source="$(WASM_DIR_BASE_NAME)_cache",target=/code/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ @@ -461,10 +461,10 @@ localnet-start \ localnet-stop .PHONY: diagrams -diagrams: +diagrams: ## Generate diagrams for documentation $(MAKE) -C client/docs/diagrams .PHONY: update-changelog -update-changelog: +update-changelog: ## Update the project changelog @echo ./scripts/update_changelog.sh $(since_tag) $(upcoming_tag) ./scripts/update_changelog.sh $(since_tag) $(upcoming_tag) From 5f8af8ced17d24f3f0c6172293cd37fb3d055807 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Mon, 29 Jul 2024 22:37:13 +0800 Subject: [PATCH 18/21] rename BabylonLabs dependencies (#1) Rename BabylonChain to BabylonLabs --------- Co-authored-by: KonradStaniec --- .github/workflows/publish.yml | 10 +- CHANGELOG.md | 830 +++++++++--------- LICENSE | 6 +- Makefile | 10 +- SECURITY.md | 2 +- app/ante_btc_validation_decorator.go | 8 +- app/app.go | 52 +- app/encoding.go | 4 +- app/keepers/keepers.go | 44 +- app/keepers/utils.go | 2 +- app/test_helpers.go | 12 +- app/upgrades/types.go | 2 +- app/upgrades/vanilla/upgrades.go | 10 +- app/upgrades/vanilla/upgrades_test.go | 6 +- btcstaking/btcstaking_test.go | 4 +- btcstaking/identifiable_staking_test.go | 4 +- btcstaking/staking.go | 2 +- btcstaking/staking_test.go | 4 +- btcstaking/staking_testvectors_test.go | 2 +- btcstaking/staking_utils_test.go | 6 +- btcstaking/types.go | 2 +- client/client/client.go | 6 +- client/client/keys.go | 2 +- client/client/keys_test.go | 8 +- client/client/tx.go | 4 +- client/config/babylon_config.go | 2 +- client/config/babylon_query_config_test.go | 2 +- client/docs/swagger-ui/swagger.yaml | 2 +- client/query/btccheckpoint.go | 2 +- client/query/btclightclient.go | 2 +- client/query/btcstaking.go | 2 +- client/query/checkpointing.go | 2 +- client/query/client.go | 2 +- client/query/epoching.go | 2 +- client/query/finality.go | 2 +- client/query/incentive.go | 2 +- client/query/monitor.go | 2 +- client/query/zoneconcierge.go | 2 +- cmd/babylond/cmd/cmd_test.go | 4 +- cmd/babylond/cmd/create_bls_key.go | 8 +- cmd/babylond/cmd/custom_babylon_config.go | 2 +- cmd/babylond/cmd/flags.go | 8 +- cmd/babylond/cmd/genaccounts_test.go | 4 +- cmd/babylond/cmd/genesis.go | 16 +- cmd/babylond/cmd/genhelpers/bls_add.go | 2 +- cmd/babylond/cmd/genhelpers/bls_add_test.go | 12 +- cmd/babylond/cmd/genhelpers/bls_create.go | 4 +- .../cmd/genhelpers/bls_create_test.go | 8 +- .../cmd/genhelpers/set_btc_delegations.go | 2 +- .../genhelpers/set_btc_delegations_test.go | 12 +- .../cmd/genhelpers/set_btc_headers.go | 2 +- .../cmd/genhelpers/set_btc_headers_test.go | 8 +- .../cmd/genhelpers/set_finality_providers.go | 2 +- .../genhelpers/set_finality_providers_test.go | 8 +- cmd/babylond/cmd/root.go | 8 +- cmd/babylond/cmd/testnet.go | 12 +- cmd/babylond/cmd/testnet_test.go | 2 +- cmd/babylond/cmd/validate_genesis.go | 2 +- cmd/babylond/cmd/validate_genesis_test.go | 6 +- cmd/babylond/main.go | 6 +- contrib/images/Makefile | 10 +- contrib/images/babylond/Dockerfile | 12 +- crypto/bip322/bip322_test.go | 4 +- crypto/ecdsa/ecdsa_test.go | 2 +- crypto/eots/eots_test.go | 4 +- crypto/eots/examples/btc-testnet-txs/main.go | 2 +- crypto/schnorr-adaptor-signature/keys_test.go | 2 +- crypto/schnorr-adaptor-signature/sig_test.go | 2 +- docker-compose.yml | 8 +- docs/architecture.md | 4 +- docs/transaction-impl-spec.md | 2 +- go.mod | 2 +- privval/file.go | 4 +- privval/types.go | 4 +- .../btccheckpoint/v1/btccheckpoint.proto | 8 +- proto/babylon/btccheckpoint/v1/genesis.proto | 2 +- proto/babylon/btccheckpoint/v1/params.proto | 2 +- proto/babylon/btccheckpoint/v1/query.proto | 2 +- proto/babylon/btccheckpoint/v1/tx.proto | 2 +- .../btclightclient/v1/btclightclient.proto | 6 +- proto/babylon/btclightclient/v1/event.proto | 2 +- proto/babylon/btclightclient/v1/genesis.proto | 2 +- proto/babylon/btclightclient/v1/params.proto | 2 +- proto/babylon/btclightclient/v1/query.proto | 8 +- proto/babylon/btclightclient/v1/tx.proto | 4 +- proto/babylon/btcstaking/v1/btcstaking.proto | 24 +- proto/babylon/btcstaking/v1/events.proto | 4 +- proto/babylon/btcstaking/v1/genesis.proto | 8 +- proto/babylon/btcstaking/v1/incentive.proto | 6 +- proto/babylon/btcstaking/v1/params.proto | 4 +- proto/babylon/btcstaking/v1/pop.proto | 2 +- proto/babylon/btcstaking/v1/query.proto | 8 +- proto/babylon/btcstaking/v1/tx.proto | 18 +- proto/babylon/checkpointing/v1/bls_key.proto | 8 +- .../babylon/checkpointing/v1/checkpoint.proto | 8 +- proto/babylon/checkpointing/v1/events.proto | 2 +- proto/babylon/checkpointing/v1/genesis.proto | 2 +- proto/babylon/checkpointing/v1/query.proto | 6 +- proto/babylon/checkpointing/v1/tx.proto | 2 +- proto/babylon/epoching/v1/epoching.proto | 2 +- proto/babylon/epoching/v1/events.proto | 2 +- proto/babylon/epoching/v1/genesis.proto | 2 +- proto/babylon/epoching/v1/params.proto | 2 +- proto/babylon/epoching/v1/query.proto | 2 +- proto/babylon/epoching/v1/tx.proto | 2 +- proto/babylon/finality/v1/events.proto | 2 +- proto/babylon/finality/v1/finality.proto | 12 +- proto/babylon/finality/v1/genesis.proto | 16 +- proto/babylon/finality/v1/params.proto | 2 +- proto/babylon/finality/v1/query.proto | 6 +- proto/babylon/finality/v1/tx.proto | 12 +- proto/babylon/incentive/genesis.proto | 2 +- proto/babylon/incentive/incentive.proto | 2 +- proto/babylon/incentive/params.proto | 2 +- proto/babylon/incentive/query.proto | 2 +- proto/babylon/incentive/tx.proto | 2 +- proto/babylon/monitor/v1/genesis.proto | 2 +- proto/babylon/monitor/v1/query.proto | 2 +- proto/babylon/zoneconcierge/v1/genesis.proto | 2 +- proto/babylon/zoneconcierge/v1/packet.proto | 2 +- proto/babylon/zoneconcierge/v1/params.proto | 2 +- proto/babylon/zoneconcierge/v1/query.proto | 2 +- proto/babylon/zoneconcierge/v1/tx.proto | 2 +- .../zoneconcierge/v1/zoneconcierge.proto | 2 +- proto/scripts/protocgen.sh | 2 +- test/e2e/README.md | 2 +- test/e2e/btc_staking_e2e_test.go | 24 +- test/e2e/btc_timestamping_e2e_test.go | 10 +- .../btc_timestamping_phase2_hermes_test.go | 6 +- test/e2e/btc_timestamping_phase2_rly_test.go | 6 +- test/e2e/bytecode/README.md | 2 +- test/e2e/configurer/base.go | 12 +- test/e2e/configurer/chain/chain.go | 6 +- test/e2e/configurer/chain/commands.go | 18 +- .../configurer/chain/commands_btcstaking.go | 10 +- test/e2e/configurer/chain/node.go | 4 +- test/e2e/configurer/chain/queries.go | 12 +- .../configurer/chain/queries_btcstaking.go | 8 +- test/e2e/configurer/chain/queries_ibc.go | 2 +- .../e2e/configurer/chain/queries_incentive.go | 4 +- test/e2e/configurer/current.go | 6 +- test/e2e/configurer/factory.go | 8 +- test/e2e/containers/config.go | 4 +- test/e2e/ibc_transfer_e2e_test.go | 4 +- test/e2e/initialization/chain/main.go | 2 +- test/e2e/initialization/config.go | 12 +- test/e2e/initialization/init.go | 4 +- test/e2e/initialization/init_test.go | 2 +- test/e2e/initialization/node.go | 12 +- test/e2e/initialization/node/main.go | 2 +- test/e2e/initialization/util.go | 2 +- test/e2e/scripts/download_release.sh | 7 +- test/e2e/util/codec.go | 4 +- testutil/datagen/account_balance.go | 2 +- testutil/datagen/btc_address_test.go | 2 +- testutil/datagen/btc_blockchain.go | 2 +- testutil/datagen/btc_header_chain.go | 4 +- testutil/datagen/btc_header_info.go | 6 +- testutil/datagen/btc_schnorr.go | 2 +- testutil/datagen/btc_transaction.go | 6 +- testutil/datagen/btcstaking.go | 6 +- testutil/datagen/covenant.go | 8 +- testutil/datagen/epoching.go | 2 +- testutil/datagen/finality.go | 6 +- testutil/datagen/genesiskey.go | 10 +- testutil/datagen/incentive.go | 6 +- testutil/datagen/init_val.go | 4 +- testutil/datagen/raw_checkpoint.go | 6 +- testutil/datagen/tendermint.go | 2 +- testutil/datagen/val_set.go | 6 +- testutil/datagen/vote_ext.go | 2 +- testutil/helper/gen_blocks.go | 2 +- testutil/helper/helper.go | 18 +- testutil/keeper/btccheckpoint.go | 4 +- testutil/keeper/btclightclient.go | 8 +- testutil/keeper/btcstaking.go | 4 +- testutil/keeper/checkpointing.go | 4 +- testutil/keeper/epoching.go | 4 +- testutil/keeper/finality.go | 4 +- testutil/keeper/incentive.go | 4 +- testutil/keeper/zoneconcierge.go | 4 +- testutil/mocks/bls_signer.go | 2 +- .../mocks/checkpointing_expected_keepers.go | 4 +- testutil/mocks/proposal_keeper.go | 6 +- types/btc_header_bytes_test.go | 4 +- types/btc_header_hash_bytes_test.go | 4 +- types/btc_schnorr_eots_test.go | 4 +- types/btc_schnorr_pk_test.go | 4 +- types/btc_schnorr_pub_rand.go | 2 +- types/btc_schnorr_pub_rand_test.go | 4 +- types/btc_schnorr_sig_test.go | 4 +- types/btcutils_test.go | 2 +- types/retry/retry.go | 6 +- wasmbinding/bindings/utils.go | 2 +- wasmbinding/test/custom_query_test.go | 6 +- wasmbinding/wasm.go | 10 +- x/btccheckpoint/abci.go | 2 +- x/btccheckpoint/client/cli/query.go | 2 +- x/btccheckpoint/client/cli/query_params.go | 2 +- x/btccheckpoint/client/cli/tx.go | 2 +- x/btccheckpoint/genesis.go | 4 +- x/btccheckpoint/genesis_test.go | 6 +- x/btccheckpoint/keeper/grpc_query.go | 2 +- x/btccheckpoint/keeper/grpc_query_params.go | 2 +- .../keeper/grpc_query_params_test.go | 4 +- x/btccheckpoint/keeper/grpc_query_test.go | 4 +- x/btccheckpoint/keeper/hooks.go | 4 +- x/btccheckpoint/keeper/incentive.go | 2 +- x/btccheckpoint/keeper/keeper.go | 6 +- x/btccheckpoint/keeper/keeper_test.go | 4 +- x/btccheckpoint/keeper/msg_server.go | 2 +- x/btccheckpoint/keeper/msg_server_test.go | 10 +- x/btccheckpoint/keeper/params.go | 2 +- x/btccheckpoint/keeper/params_test.go | 4 +- x/btccheckpoint/keeper/submissions.go | 4 +- x/btccheckpoint/module.go | 6 +- x/btccheckpoint/types/btccheckpoint.pb.go | 120 +-- x/btccheckpoint/types/btcutils.go | 2 +- x/btccheckpoint/types/btcutils_test.go | 6 +- x/btccheckpoint/types/expected_keepers.go | 4 +- x/btccheckpoint/types/genesis.pb.go | 12 +- x/btccheckpoint/types/genesis_test.go | 2 +- x/btccheckpoint/types/mock_keepers.go | 4 +- x/btccheckpoint/types/msgs.go | 2 +- x/btccheckpoint/types/params.go | 2 +- x/btccheckpoint/types/params.pb.go | 12 +- x/btccheckpoint/types/params_test.go | 2 +- x/btccheckpoint/types/query.pb.go | 120 +-- x/btccheckpoint/types/tx.pb.go | 12 +- x/btccheckpoint/types/types.go | 4 +- x/btclightclient/README.md | 6 +- x/btclightclient/client/cli/query.go | 2 +- x/btclightclient/client/cli/tx.go | 2 +- x/btclightclient/genesis.go | 4 +- x/btclightclient/genesis_test.go | 14 +- x/btclightclient/keeper/base_btc_header.go | 2 +- .../keeper/base_btc_header_test.go | 4 +- x/btclightclient/keeper/grpc_query.go | 4 +- x/btclightclient/keeper/grpc_query_test.go | 8 +- x/btclightclient/keeper/hooks.go | 2 +- x/btclightclient/keeper/keeper.go | 4 +- x/btclightclient/keeper/keeper_test.go | 8 +- x/btclightclient/keeper/msg_server.go | 2 +- x/btclightclient/keeper/msg_server_test.go | 8 +- x/btclightclient/keeper/params.go | 2 +- x/btclightclient/keeper/params_test.go | 4 +- x/btclightclient/keeper/state.go | 4 +- x/btclightclient/keeper/state_test.go | 8 +- x/btclightclient/keeper/triggers.go | 2 +- x/btclightclient/keeper/utils.go | 2 +- x/btclightclient/keeper/utils_test.go | 4 +- x/btclightclient/module.go | 6 +- x/btclightclient/types/btc_header_info.go | 2 +- .../types/btc_header_info_test.go | 6 +- x/btclightclient/types/btc_light_client.go | 2 +- x/btclightclient/types/btclightclient.pb.go | 44 +- x/btclightclient/types/event.pb.go | 12 +- x/btclightclient/types/genesis.go | 2 +- x/btclightclient/types/genesis.pb.go | 13 +- x/btclightclient/types/genesis_test.go | 2 +- x/btclightclient/types/keys.go | 2 +- x/btclightclient/types/keys_test.go | 6 +- x/btclightclient/types/msgs.go | 2 +- x/btclightclient/types/msgs_test.go | 6 +- x/btclightclient/types/params.pb.go | 12 +- x/btclightclient/types/querier.go | 2 +- x/btclightclient/types/querier_test.go | 6 +- x/btclightclient/types/query.pb.go | 130 +-- x/btclightclient/types/tx.pb.go | 50 +- x/btclightclient/types/work.go | 2 +- x/btclightclient/types/work_test.go | 4 +- x/btcstaking/README.md | 34 +- x/btcstaking/abci.go | 4 +- x/btcstaking/client/cli/query.go | 2 +- x/btcstaking/client/cli/query_params.go | 2 +- x/btcstaking/client/cli/tx.go | 8 +- x/btcstaking/genesis.go | 4 +- x/btcstaking/genesis_test.go | 8 +- x/btcstaking/keeper/bench_test.go | 8 +- x/btcstaking/keeper/btc_delegations.go | 6 +- x/btcstaking/keeper/btc_delegators.go | 4 +- x/btcstaking/keeper/btc_height_index.go | 2 +- x/btcstaking/keeper/btc_height_index_test.go | 8 +- x/btcstaking/keeper/finality_providers.go | 2 +- x/btcstaking/keeper/genesis.go | 6 +- x/btcstaking/keeper/genesis_test.go | 8 +- x/btcstaking/keeper/grpc_query.go | 4 +- x/btcstaking/keeper/grpc_query_test.go | 12 +- x/btcstaking/keeper/hooks.go | 4 +- x/btcstaking/keeper/incentive.go | 2 +- x/btcstaking/keeper/incentive_test.go | 6 +- x/btcstaking/keeper/keeper.go | 2 +- x/btcstaking/keeper/keeper_test.go | 14 +- x/btcstaking/keeper/msg_server.go | 6 +- x/btcstaking/keeper/msg_server_test.go | 14 +- x/btcstaking/keeper/params.go | 2 +- x/btcstaking/keeper/params_test.go | 6 +- x/btcstaking/keeper/power_dist_change.go | 4 +- x/btcstaking/keeper/power_dist_change_test.go | 6 +- x/btcstaking/keeper/query.go | 2 +- x/btcstaking/keeper/query_params.go | 2 +- x/btcstaking/keeper/query_params_test.go | 4 +- x/btcstaking/keeper/voting_power_table.go | 4 +- .../keeper/voting_power_table_test.go | 6 +- x/btcstaking/module.go | 6 +- x/btcstaking/types/btc_delegation.go | 6 +- x/btcstaking/types/btc_delegation_test.go | 10 +- x/btcstaking/types/btc_slashing_tx.go | 6 +- x/btcstaking/types/btc_slashing_tx_test.go | 10 +- x/btcstaking/types/btc_undelegation.go | 4 +- x/btcstaking/types/btc_undelegation_test.go | 10 +- x/btcstaking/types/btcstaking.go | 6 +- x/btcstaking/types/btcstaking.pb.go | 200 ++--- x/btcstaking/types/events.go | 2 +- x/btcstaking/types/events.pb.go | 67 +- x/btcstaking/types/expected_keepers.go | 8 +- x/btcstaking/types/genesis.pb.go | 102 +-- x/btcstaking/types/genesis_test.go | 2 +- x/btcstaking/types/hooks.go | 2 +- x/btcstaking/types/incentive.pb.go | 72 +- x/btcstaking/types/mocked_keepers.go | 8 +- x/btcstaking/types/msg.go | 4 +- x/btcstaking/types/msg_test.go | 6 +- x/btcstaking/types/params.go | 4 +- x/btcstaking/types/params.pb.go | 74 +- x/btcstaking/types/pop.go | 6 +- x/btcstaking/types/pop.pb.go | 38 +- x/btcstaking/types/pop_test.go | 6 +- x/btcstaking/types/query.pb.go | 249 +++--- x/btcstaking/types/tx.pb.go | 196 ++--- x/checkpointing/README.md | 6 +- x/checkpointing/abci.go | 4 +- x/checkpointing/client/cli/query.go | 2 +- x/checkpointing/client/cli/tx.go | 4 +- x/checkpointing/client/cli/tx_test.go | 10 +- x/checkpointing/client/cli/utils.go | 4 +- x/checkpointing/genesis.go | 4 +- x/checkpointing/genesis_test.go | 10 +- x/checkpointing/keeper/bls_signer.go | 4 +- x/checkpointing/keeper/bls_signer_test.go | 4 +- x/checkpointing/keeper/ckpt_state.go | 2 +- x/checkpointing/keeper/genesis_bls.go | 2 +- x/checkpointing/keeper/grpc_query_bls.go | 2 +- x/checkpointing/keeper/grpc_query_bls_test.go | 10 +- .../keeper/grpc_query_checkpoint.go | 2 +- .../keeper/grpc_query_checkpoint_test.go | 12 +- x/checkpointing/keeper/hooks.go | 2 +- x/checkpointing/keeper/keeper.go | 8 +- x/checkpointing/keeper/keeper_test.go | 12 +- x/checkpointing/keeper/msg_server.go | 4 +- x/checkpointing/keeper/msg_server_test.go | 18 +- x/checkpointing/keeper/registration_state.go | 4 +- x/checkpointing/keeper/val_bls_set.go | 2 +- x/checkpointing/keeper/val_bls_set_test.go | 10 +- x/checkpointing/module.go | 6 +- x/checkpointing/proposal.go | 2 +- x/checkpointing/proposal_expected_keeper.go | 6 +- x/checkpointing/proposal_test.go | 14 +- x/checkpointing/types/bls_key.pb.go | 82 +- x/checkpointing/types/checkpoint.pb.go | 126 +-- x/checkpointing/types/events.pb.go | 40 +- x/checkpointing/types/expected_keepers.go | 2 +- x/checkpointing/types/genesis.go | 2 +- x/checkpointing/types/genesis.pb.go | 44 +- x/checkpointing/types/keys.go | 2 +- x/checkpointing/types/msgs.go | 2 +- x/checkpointing/types/msgs_test.go | 8 +- x/checkpointing/types/pop.go | 2 +- x/checkpointing/types/pop_test.go | 4 +- x/checkpointing/types/query.pb.go | 172 ++-- x/checkpointing/types/tx.pb.go | 48 +- x/checkpointing/types/types.go | 6 +- x/checkpointing/types/types_test.go | 6 +- x/checkpointing/types/utils.go | 4 +- x/checkpointing/types/val_bls_set.go | 2 +- x/checkpointing/vote_ext.go | 4 +- x/checkpointing/vote_ext_test.go | 6 +- x/epoching/abci.go | 4 +- x/epoching/client/cli/query.go | 2 +- x/epoching/client/cli/tx.go | 4 +- x/epoching/genesis.go | 4 +- x/epoching/genesis_test.go | 6 +- .../keeper/drop_validator_msg_decorator.go | 2 +- x/epoching/keeper/epoch_msg_queue.go | 2 +- x/epoching/keeper/epoch_msg_queue_test.go | 8 +- x/epoching/keeper/epoch_slashed_val_set.go | 2 +- .../keeper/epoch_slashed_val_set_test.go | 6 +- x/epoching/keeper/epoch_val_set.go | 2 +- x/epoching/keeper/epoch_val_set_test.go | 4 +- x/epoching/keeper/epochs.go | 2 +- x/epoching/keeper/epochs_test.go | 4 +- x/epoching/keeper/grpc_query.go | 2 +- x/epoching/keeper/grpc_query_test.go | 6 +- x/epoching/keeper/hooks.go | 4 +- x/epoching/keeper/keeper.go | 2 +- x/epoching/keeper/keeper_test.go | 4 +- x/epoching/keeper/lifecycle_delegation.go | 2 +- x/epoching/keeper/lifecycle_validator.go | 2 +- x/epoching/keeper/modified_staking.go | 2 +- x/epoching/keeper/msg_server.go | 2 +- x/epoching/keeper/msg_server_test.go | 4 +- x/epoching/keeper/params.go | 2 +- x/epoching/keeper/params_test.go | 4 +- x/epoching/keeper/staking_functions.go | 2 +- x/epoching/module.go | 6 +- x/epoching/types/epoching.pb.go | 110 +-- x/epoching/types/epoching_test.go | 4 +- x/epoching/types/events.pb.go | 84 +- x/epoching/types/genesis.pb.go | 12 +- x/epoching/types/genesis_test.go | 8 +- x/epoching/types/msg_test.go | 4 +- x/epoching/types/params.pb.go | 12 +- x/epoching/types/params_test.go | 2 +- x/epoching/types/query.pb.go | 176 ++-- x/epoching/types/tx.pb.go | 76 +- x/epoching/types/validator_test.go | 2 +- x/finality/README.md | 12 +- x/finality/abci.go | 4 +- x/finality/client/cli/query.go | 2 +- x/finality/client/cli/query_params.go | 2 +- x/finality/client/cli/tx.go | 4 +- x/finality/genesis.go | 4 +- x/finality/genesis_test.go | 8 +- x/finality/keeper/evidence.go | 4 +- x/finality/keeper/genesis.go | 6 +- x/finality/keeper/genesis_test.go | 8 +- x/finality/keeper/grpc_query.go | 4 +- x/finality/keeper/grpc_query_test.go | 10 +- x/finality/keeper/hooks.go | 4 +- x/finality/keeper/indexed_blocks.go | 2 +- x/finality/keeper/keeper.go | 2 +- x/finality/keeper/liveness.go | 4 +- x/finality/keeper/liveness_test.go | 8 +- x/finality/keeper/msg_server.go | 6 +- x/finality/keeper/msg_server_test.go | 12 +- x/finality/keeper/params.go | 2 +- x/finality/keeper/params_test.go | 4 +- x/finality/keeper/public_randomness.go | 4 +- x/finality/keeper/query.go | 2 +- x/finality/keeper/query_params.go | 2 +- x/finality/keeper/query_params_test.go | 4 +- x/finality/keeper/signing_info.go | 4 +- x/finality/keeper/tallying.go | 2 +- x/finality/keeper/tallying_bench_test.go | 10 +- x/finality/keeper/tallying_test.go | 12 +- x/finality/keeper/votes.go | 4 +- x/finality/keeper/votes_bench_test.go | 10 +- x/finality/module.go | 6 +- x/finality/types/events.go | 2 +- x/finality/types/events.pb.go | 12 +- x/finality/types/expected_keepers.go | 4 +- x/finality/types/finality.go | 2 +- x/finality/types/finality.pb.go | 90 +- x/finality/types/genesis.pb.go | 120 +-- x/finality/types/genesis_test.go | 2 +- x/finality/types/hooks.go | 2 +- x/finality/types/keys.go | 2 +- x/finality/types/mocked_keepers.go | 4 +- x/finality/types/msg.go | 2 +- x/finality/types/msg_test.go | 6 +- x/finality/types/params.pb.go | 48 +- x/finality/types/query.pb.go | 184 ++-- x/finality/types/signing_info.go | 2 +- x/finality/types/tx.pb.go | 114 +-- x/incentive/abci.go | 4 +- x/incentive/client/cli/query.go | 2 +- x/incentive/client/cli/query_params.go | 2 +- x/incentive/client/cli/tx.go | 2 +- x/incentive/genesis.go | 4 +- x/incentive/genesis_test.go | 8 +- x/incentive/keeper/btc_staking_gauge.go | 4 +- x/incentive/keeper/btc_staking_gauge_test.go | 6 +- x/incentive/keeper/btc_timestamping_gauge.go | 4 +- .../keeper/btc_timestamping_gauge_test.go | 6 +- x/incentive/keeper/grpc_query.go | 2 +- x/incentive/keeper/grpc_query_test.go | 6 +- x/incentive/keeper/intercept_fee_collector.go | 2 +- .../keeper/intercept_fee_collector_test.go | 8 +- x/incentive/keeper/keeper.go | 2 +- x/incentive/keeper/msg_server.go | 2 +- x/incentive/keeper/msg_server_test.go | 8 +- x/incentive/keeper/params.go | 2 +- x/incentive/keeper/params_test.go | 4 +- x/incentive/keeper/query_params.go | 2 +- x/incentive/keeper/query_params_test.go | 4 +- x/incentive/keeper/reward_gauge.go | 2 +- x/incentive/keeper/reward_gauge_test.go | 2 +- x/incentive/module.go | 6 +- x/incentive/types/expected_keepers.go | 2 +- x/incentive/types/genesis.pb.go | 12 +- x/incentive/types/genesis_test.go | 2 +- x/incentive/types/incentive.pb.go | 10 +- x/incentive/types/mocked_keepers.go | 2 +- x/incentive/types/params.pb.go | 12 +- x/incentive/types/query.pb.go | 76 +- x/incentive/types/tx.pb.go | 62 +- x/monitor/client/cli/query.go | 2 +- x/monitor/client/cli/tx.go | 2 +- x/monitor/genesis.go | 4 +- x/monitor/genesis_test.go | 6 +- x/monitor/keeper/grpc_query.go | 2 +- x/monitor/keeper/grpc_query_test.go | 14 +- x/monitor/keeper/hooks.go | 4 +- x/monitor/keeper/keeper.go | 4 +- x/monitor/module.go | 6 +- x/monitor/types/expected_keepers.go | 2 +- x/monitor/types/genesis.pb.go | 13 +- x/monitor/types/genesis_test.go | 2 +- x/monitor/types/keys.go | 2 +- x/monitor/types/query.pb.go | 54 +- x/zoneconcierge/README.md | 2 +- x/zoneconcierge/abci.go | 4 +- x/zoneconcierge/client/cli/query.go | 2 +- x/zoneconcierge/client/cli/tx.go | 2 +- x/zoneconcierge/genesis.go | 4 +- x/zoneconcierge/genesis_test.go | 8 +- .../keeper/canonical_chain_indexer.go | 2 +- .../keeper/canonical_chain_indexer_test.go | 4 +- x/zoneconcierge/keeper/chain_info_indexer.go | 2 +- .../keeper/epoch_chain_info_indexer.go | 4 +- .../keeper/epoch_chain_info_indexer_test.go | 4 +- x/zoneconcierge/keeper/epochs.go | 4 +- x/zoneconcierge/keeper/fork_indexer.go | 2 +- x/zoneconcierge/keeper/fork_indexer_test.go | 4 +- x/zoneconcierge/keeper/grpc_query.go | 4 +- x/zoneconcierge/keeper/grpc_query_test.go | 14 +- x/zoneconcierge/keeper/header_handler.go | 2 +- x/zoneconcierge/keeper/hooks.go | 6 +- .../keeper/ibc_header_decorator.go | 2 +- x/zoneconcierge/keeper/ibc_packet.go | 2 +- .../keeper/ibc_packet_btc_timestamp.go | 12 +- .../keeper/ibc_packet_btc_timestamp_test.go | 8 +- x/zoneconcierge/keeper/keeper.go | 2 +- x/zoneconcierge/keeper/keeper_test.go | 4 +- x/zoneconcierge/keeper/msg_server.go | 2 +- x/zoneconcierge/keeper/params.go | 2 +- x/zoneconcierge/keeper/params_test.go | 4 +- x/zoneconcierge/keeper/proof_btc_timestamp.go | 8 +- .../keeper/proof_btc_timestamp_test.go | 14 +- x/zoneconcierge/module.go | 6 +- x/zoneconcierge/module_ibc.go | 4 +- x/zoneconcierge/types/btc_timestamp.go | 14 +- x/zoneconcierge/types/btc_timestamp_test.go | 14 +- x/zoneconcierge/types/expected_keepers.go | 10 +- x/zoneconcierge/types/genesis.pb.go | 12 +- x/zoneconcierge/types/genesis_test.go | 2 +- x/zoneconcierge/types/mocked_keepers.go | 10 +- x/zoneconcierge/types/packet.pb.go | 64 +- x/zoneconcierge/types/params.pb.go | 12 +- x/zoneconcierge/types/params_test.go | 2 +- x/zoneconcierge/types/query.pb.go | 156 ++-- x/zoneconcierge/types/tx.pb.go | 12 +- x/zoneconcierge/types/zoneconcierge.pb.go | 132 +-- 553 files changed, 3529 insertions(+), 3522 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 38d5df4bf..b5c3cdb81 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,22 +7,22 @@ on: - 'dev' tags: - '*' - + jobs: lint_test: - uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 + uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 with: run-unit-tests: true run-integration-tests: true run-lint: true integration-tests-command: | sudo make test-e2e - + docker_pipeline: - uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 + uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 needs: ["lint_test"] secrets: inherit with: publish: true dockerfile: ./contrib/images/babylond/Dockerfile - repoName: babylond \ No newline at end of file + repoName: babylond diff --git a/CHANGELOG.md b/CHANGELOG.md index 1793be5f2..54dbc9709 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,529 +1,529 @@ # Changelog -## [v0.8.0](https://github.com/babylonchain/babylon/tree/v0.8.0) (2024-02-08) +## [v0.8.0](https://github.com/babylonlabs-io/babylon/tree/v0.8.0) (2024-02-08) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.8.0-rc.0...v0.8.0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.8.0-rc.0...v0.8.0) -## [v0.8.0-rc.0](https://github.com/babylonchain/babylon/tree/v0.8.0-rc.0) (2024-01-22) +## [v0.8.0-rc.0](https://github.com/babylonlabs-io/babylon/tree/v0.8.0-rc.0) (2024-01-22) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.7.2...v0.8.0-rc.0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.7.2...v0.8.0-rc.0) **Closed issues:** -- Dead Link in the Git "Joining the testnet" [\#406](https://github.com/babylonchain/babylon/issues/406) -- Broken link for testnet in the main README.md [\#403](https://github.com/babylonchain/babylon/issues/403) -- Random failure when running integration test [\#319](https://github.com/babylonchain/babylon/issues/319) -- Refactor BLS signer to load gas settings during initiation [\#311](https://github.com/babylonchain/babylon/issues/311) -- Random CI failure on QueryFinalizedChainInfo [\#288](https://github.com/babylonchain/babylon/issues/288) +- Dead Link in the Git "Joining the testnet" [\#406](https://github.com/babylonlabs-io/babylon/issues/406) +- Broken link for testnet in the main README.md [\#403](https://github.com/babylonlabs-io/babylon/issues/403) +- Random failure when running integration test [\#319](https://github.com/babylonlabs-io/babylon/issues/319) +- Refactor BLS signer to load gas settings during initiation [\#311](https://github.com/babylonlabs-io/babylon/issues/311) +- Random CI failure on QueryFinalizedChainInfo [\#288](https://github.com/babylonlabs-io/babylon/issues/288) **Merged pull requests:** -- chore: add parameter sections for module docs [\#418](https://github.com/babylonchain/babylon/pull/418) ([SebastianElvis](https://github.com/SebastianElvis)) -- doc: documentation for the epoching module [\#416](https://github.com/babylonchain/babylon/pull/416) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: making zoneconcierge resilient against long BTC reorg \(again\) [\#413](https://github.com/babylonchain/babylon/pull/413) ([SebastianElvis](https://github.com/SebastianElvis)) -- BTC Staking [\#409](https://github.com/babylonchain/babylon/pull/409) ([vitsalis](https://github.com/vitsalis)) -- Fix typos [\#405](https://github.com/babylonchain/babylon/pull/405) ([AtomicInnovation321](https://github.com/AtomicInnovation321)) -- Updated testnet link [\#404](https://github.com/babylonchain/babylon/pull/404) ([kunallimaye](https://github.com/kunallimaye)) -- README: updating discord link [\#402](https://github.com/babylonchain/babylon/pull/402) ([GakiBash](https://github.com/GakiBash)) -- README: Add medium link [\#400](https://github.com/babylonchain/babylon/pull/400) ([EdwardFanfan](https://github.com/EdwardFanfan)) -- Bump comet bft [\#399](https://github.com/babylonchain/babylon/pull/399) ([KonradStaniec](https://github.com/KonradStaniec)) -- hotfix: Barberry upgrade [\#398](https://github.com/babylonchain/babylon/pull/398) ([vitsalis](https://github.com/vitsalis)) -- Bump wasmd to stable [\#396](https://github.com/babylonchain/babylon/pull/396) ([KonradStaniec](https://github.com/KonradStaniec)) -- hotfix: fixing marshaling of MsgWrappedCreateValidator [\#394](https://github.com/babylonchain/babylon/pull/394) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: adding a flag for retrieving proofs of a FinalizedChainInfo [\#391](https://github.com/babylonchain/babylon/pull/391) ([SebastianElvis](https://github.com/SebastianElvis)) -- e2e: merge integration tests with e2e tests [\#390](https://github.com/babylonchain/babylon/pull/390) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: add parameter sections for module docs [\#418](https://github.com/babylonlabs-io/babylon/pull/418) ([SebastianElvis](https://github.com/SebastianElvis)) +- doc: documentation for the epoching module [\#416](https://github.com/babylonlabs-io/babylon/pull/416) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: making zoneconcierge resilient against long BTC reorg \(again\) [\#413](https://github.com/babylonlabs-io/babylon/pull/413) ([SebastianElvis](https://github.com/SebastianElvis)) +- BTC Staking [\#409](https://github.com/babylonlabs-io/babylon/pull/409) ([vitsalis](https://github.com/vitsalis)) +- Fix typos [\#405](https://github.com/babylonlabs-io/babylon/pull/405) ([AtomicInnovation321](https://github.com/AtomicInnovation321)) +- Updated testnet link [\#404](https://github.com/babylonlabs-io/babylon/pull/404) ([kunallimaye](https://github.com/kunallimaye)) +- README: updating discord link [\#402](https://github.com/babylonlabs-io/babylon/pull/402) ([GakiBash](https://github.com/GakiBash)) +- README: Add medium link [\#400](https://github.com/babylonlabs-io/babylon/pull/400) ([EdwardFanfan](https://github.com/EdwardFanfan)) +- Bump comet bft [\#399](https://github.com/babylonlabs-io/babylon/pull/399) ([KonradStaniec](https://github.com/KonradStaniec)) +- hotfix: Barberry upgrade [\#398](https://github.com/babylonlabs-io/babylon/pull/398) ([vitsalis](https://github.com/vitsalis)) +- Bump wasmd to stable [\#396](https://github.com/babylonlabs-io/babylon/pull/396) ([KonradStaniec](https://github.com/KonradStaniec)) +- hotfix: fixing marshaling of MsgWrappedCreateValidator [\#394](https://github.com/babylonlabs-io/babylon/pull/394) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: adding a flag for retrieving proofs of a FinalizedChainInfo [\#391](https://github.com/babylonlabs-io/babylon/pull/391) ([SebastianElvis](https://github.com/SebastianElvis)) +- e2e: merge integration tests with e2e tests [\#390](https://github.com/babylonlabs-io/babylon/pull/390) ([SebastianElvis](https://github.com/SebastianElvis)) -## [v0.7.2](https://github.com/babylonchain/babylon/tree/v0.7.2) (2023-06-10) +## [v0.7.2](https://github.com/babylonlabs-io/babylon/tree/v0.7.2) (2023-06-10) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.7.1...v0.7.2) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.7.1...v0.7.2) -## [v0.7.1](https://github.com/babylonchain/babylon/tree/v0.7.1) (2023-05-30) +## [v0.7.1](https://github.com/babylonlabs-io/babylon/tree/v0.7.1) (2023-05-30) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.7.0...v0.7.1) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.7.0...v0.7.1) **Closed issues:** -- zoneconcierge: parameterise timeout for IBC packets [\#207](https://github.com/babylonchain/babylon/issues/207) +- zoneconcierge: parameterise timeout for IBC packets [\#207](https://github.com/babylonlabs-io/babylon/issues/207) **Merged pull requests:** -- hotfix: fixing marshaling of `MsgWrappedCreateValidator` [\#393](https://github.com/babylonchain/babylon/pull/393) ([SebastianElvis](https://github.com/SebastianElvis)) +- hotfix: fixing marshaling of `MsgWrappedCreateValidator` [\#393](https://github.com/babylonlabs-io/babylon/pull/393) ([SebastianElvis](https://github.com/SebastianElvis)) -## [v0.7.0](https://github.com/babylonchain/babylon/tree/v0.7.0) (2023-05-26) +## [v0.7.0](https://github.com/babylonlabs-io/babylon/tree/v0.7.0) (2023-05-26) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.6.0...v0.7.0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.6.0...v0.7.0) **Closed issues:** -- Nil hooks [\#214](https://github.com/babylonchain/babylon/issues/214) +- Nil hooks [\#214](https://github.com/babylonlabs-io/babylon/issues/214) **Merged pull requests:** -- Release v0.7.0 [\#388](https://github.com/babylonchain/babylon/pull/388) ([vitsalis](https://github.com/vitsalis)) -- zoneconcierge: adding header timestamp to IndexedHeader [\#387](https://github.com/babylonchain/babylon/pull/387) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: parameterise timeout for IBC packets [\#386](https://github.com/babylonchain/babylon/pull/386) ([SebastianElvis](https://github.com/SebastianElvis)) -- CI: Push images for dev branch commits [\#385](https://github.com/babylonchain/babylon/pull/385) ([filippos47](https://github.com/filippos47)) -- dockerfile: opt out version when building [\#384](https://github.com/babylonchain/babylon/pull/384) ([SebastianElvis](https://github.com/SebastianElvis)) -- Use fee module [\#383](https://github.com/babylonchain/babylon/pull/383) ([KonradStaniec](https://github.com/KonradStaniec)) -- Bump vulnerable docker/distribution [\#382](https://github.com/babylonchain/babylon/pull/382) ([vitsalis](https://github.com/vitsalis)) -- Bump wasmd to rc2 [\#381](https://github.com/babylonchain/babylon/pull/381) ([KonradStaniec](https://github.com/KonradStaniec)) -- Add wasm e2e test [\#380](https://github.com/babylonchain/babylon/pull/380) ([KonradStaniec](https://github.com/KonradStaniec)) -- phase2: IBC packet and logic [\#368](https://github.com/babylonchain/babylon/pull/368) ([SebastianElvis](https://github.com/SebastianElvis)) +- Release v0.7.0 [\#388](https://github.com/babylonlabs-io/babylon/pull/388) ([vitsalis](https://github.com/vitsalis)) +- zoneconcierge: adding header timestamp to IndexedHeader [\#387](https://github.com/babylonlabs-io/babylon/pull/387) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: parameterise timeout for IBC packets [\#386](https://github.com/babylonlabs-io/babylon/pull/386) ([SebastianElvis](https://github.com/SebastianElvis)) +- CI: Push images for dev branch commits [\#385](https://github.com/babylonlabs-io/babylon/pull/385) ([filippos47](https://github.com/filippos47)) +- dockerfile: opt out version when building [\#384](https://github.com/babylonlabs-io/babylon/pull/384) ([SebastianElvis](https://github.com/SebastianElvis)) +- Use fee module [\#383](https://github.com/babylonlabs-io/babylon/pull/383) ([KonradStaniec](https://github.com/KonradStaniec)) +- Bump vulnerable docker/distribution [\#382](https://github.com/babylonlabs-io/babylon/pull/382) ([vitsalis](https://github.com/vitsalis)) +- Bump wasmd to rc2 [\#381](https://github.com/babylonlabs-io/babylon/pull/381) ([KonradStaniec](https://github.com/KonradStaniec)) +- Add wasm e2e test [\#380](https://github.com/babylonlabs-io/babylon/pull/380) ([KonradStaniec](https://github.com/KonradStaniec)) +- phase2: IBC packet and logic [\#368](https://github.com/babylonlabs-io/babylon/pull/368) ([SebastianElvis](https://github.com/SebastianElvis)) -## [v0.6.0](https://github.com/babylonchain/babylon/tree/v0.6.0) (2023-05-10) +## [v0.6.0](https://github.com/babylonlabs-io/babylon/tree/v0.6.0) (2023-05-10) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.6.0rc0...v0.6.0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.6.0rc0...v0.6.0) **Merged pull requests:** -- Release v0.6.0 [\#379](https://github.com/babylonchain/babylon/pull/379) ([vitsalis](https://github.com/vitsalis)) -- Fix non-determinism in integration test [\#377](https://github.com/babylonchain/babylon/pull/377) ([KonradStaniec](https://github.com/KonradStaniec)) -- Fix consensus version in our custom modules [\#376](https://github.com/babylonchain/babylon/pull/376) ([KonradStaniec](https://github.com/KonradStaniec)) -- Add fuzz test for epoch finalization/confirmation [\#375](https://github.com/babylonchain/babylon/pull/375) ([KonradStaniec](https://github.com/KonradStaniec)) +- Release v0.6.0 [\#379](https://github.com/babylonlabs-io/babylon/pull/379) ([vitsalis](https://github.com/vitsalis)) +- Fix non-determinism in integration test [\#377](https://github.com/babylonlabs-io/babylon/pull/377) ([KonradStaniec](https://github.com/KonradStaniec)) +- Fix consensus version in our custom modules [\#376](https://github.com/babylonlabs-io/babylon/pull/376) ([KonradStaniec](https://github.com/KonradStaniec)) +- Add fuzz test for epoch finalization/confirmation [\#375](https://github.com/babylonlabs-io/babylon/pull/375) ([KonradStaniec](https://github.com/KonradStaniec)) -## [v0.6.0rc0](https://github.com/babylonchain/babylon/tree/v0.6.0rc0) (2023-05-04) +## [v0.6.0rc0](https://github.com/babylonlabs-io/babylon/tree/v0.6.0rc0) (2023-05-04) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.6.0-rc0...v0.6.0rc0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.6.0-rc0...v0.6.0rc0) -## [v0.6.0-rc0](https://github.com/babylonchain/babylon/tree/v0.6.0-rc0) (2023-05-04) +## [v0.6.0-rc0](https://github.com/babylonlabs-io/babylon/tree/v0.6.0-rc0) (2023-05-04) -[Full Changelog](https://github.com/babylonchain/babylon/compare/devnet...v0.6.0-rc0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/devnet...v0.6.0-rc0) **Merged pull requests:** -- use tagged branch in test contract [\#374](https://github.com/babylonchain/babylon/pull/374) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Reduce default number of tests from 100 to 10 [\#373](https://github.com/babylonchain/babylon/pull/373) ([vitsalis](https://github.com/vitsalis)) -- feat: new rpc RawCheckpoints [\#372](https://github.com/babylonchain/babylon/pull/372) ([gusin13](https://github.com/gusin13)) -- chore: circleci: Use image with go 1.20.3 installed [\#371](https://github.com/babylonchain/babylon/pull/371) ([vitsalis](https://github.com/vitsalis)) -- Improve btccheckpointinfo rpc [\#370](https://github.com/babylonchain/babylon/pull/370) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Add support for multiple chain ids in EpochChainsInfo API [\#369](https://github.com/babylonchain/babylon/pull/369) ([gusin13](https://github.com/gusin13)) -- Fix bug in submission btc info [\#367](https://github.com/babylonchain/babylon/pull/367) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Bump Cosmos SDK to v0.47.2 and minor bug fix [\#366](https://github.com/babylonchain/babylon/pull/366) ([vitsalis](https://github.com/vitsalis)) -- feat: support multiple chain ids in FinalizedChainsInfo [\#365](https://github.com/babylonchain/babylon/pull/365) ([gusin13](https://github.com/gusin13)) -- chore: Update runc and docker dependencies due to security alerts [\#364](https://github.com/babylonchain/babylon/pull/364) ([vitsalis](https://github.com/vitsalis)) -- chore: Replace deprecated `rand.Seed` with dedicated datagen random generators [\#363](https://github.com/babylonchain/babylon/pull/363) ([vitsalis](https://github.com/vitsalis)) -- feat: support multiple chain ids in zoneconcierge chains info api [\#362](https://github.com/babylonchain/babylon/pull/362) ([gusin13](https://github.com/gusin13)) -- Add last block height to finalized epoch info [\#361](https://github.com/babylonchain/babylon/pull/361) ([KonradStaniec](https://github.com/KonradStaniec)) -- Version bumps [\#358](https://github.com/babylonchain/babylon/pull/358) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix: Make testnet command produce addresses bound to the host IP [\#357](https://github.com/babylonchain/babylon/pull/357) ([vitsalis](https://github.com/vitsalis)) -- Move checkpoint tag to params [\#356](https://github.com/babylonchain/babylon/pull/356) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Use more descriptive error message for using wrapped transactions [\#355](https://github.com/babylonchain/babylon/pull/355) ([vitsalis](https://github.com/vitsalis)) -- chore: Enable building docker image with unpushed changes [\#354](https://github.com/babylonchain/babylon/pull/354) ([vitsalis](https://github.com/vitsalis)) -- Handle btc related wasm queries [\#353](https://github.com/babylonchain/babylon/pull/353) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix: fix query height in `ProveEpochSealed` [\#352](https://github.com/babylonchain/babylon/pull/352) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: fixing the bug in generating proof of sealed epoch [\#351](https://github.com/babylonchain/babylon/pull/351) ([SebastianElvis](https://github.com/SebastianElvis)) -- testnet: Add flag for time between blocks [\#134](https://github.com/babylonchain/babylon/pull/134) ([vitsalis](https://github.com/vitsalis)) - -## [devnet](https://github.com/babylonchain/babylon/tree/devnet) (2023-04-17) - -[Full Changelog](https://github.com/babylonchain/babylon/compare/test...devnet) +- use tagged branch in test contract [\#374](https://github.com/babylonlabs-io/babylon/pull/374) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Reduce default number of tests from 100 to 10 [\#373](https://github.com/babylonlabs-io/babylon/pull/373) ([vitsalis](https://github.com/vitsalis)) +- feat: new rpc RawCheckpoints [\#372](https://github.com/babylonlabs-io/babylon/pull/372) ([gusin13](https://github.com/gusin13)) +- chore: circleci: Use image with go 1.20.3 installed [\#371](https://github.com/babylonlabs-io/babylon/pull/371) ([vitsalis](https://github.com/vitsalis)) +- Improve btccheckpointinfo rpc [\#370](https://github.com/babylonlabs-io/babylon/pull/370) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Add support for multiple chain ids in EpochChainsInfo API [\#369](https://github.com/babylonlabs-io/babylon/pull/369) ([gusin13](https://github.com/gusin13)) +- Fix bug in submission btc info [\#367](https://github.com/babylonlabs-io/babylon/pull/367) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Bump Cosmos SDK to v0.47.2 and minor bug fix [\#366](https://github.com/babylonlabs-io/babylon/pull/366) ([vitsalis](https://github.com/vitsalis)) +- feat: support multiple chain ids in FinalizedChainsInfo [\#365](https://github.com/babylonlabs-io/babylon/pull/365) ([gusin13](https://github.com/gusin13)) +- chore: Update runc and docker dependencies due to security alerts [\#364](https://github.com/babylonlabs-io/babylon/pull/364) ([vitsalis](https://github.com/vitsalis)) +- chore: Replace deprecated `rand.Seed` with dedicated datagen random generators [\#363](https://github.com/babylonlabs-io/babylon/pull/363) ([vitsalis](https://github.com/vitsalis)) +- feat: support multiple chain ids in zoneconcierge chains info api [\#362](https://github.com/babylonlabs-io/babylon/pull/362) ([gusin13](https://github.com/gusin13)) +- Add last block height to finalized epoch info [\#361](https://github.com/babylonlabs-io/babylon/pull/361) ([KonradStaniec](https://github.com/KonradStaniec)) +- Version bumps [\#358](https://github.com/babylonlabs-io/babylon/pull/358) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix: Make testnet command produce addresses bound to the host IP [\#357](https://github.com/babylonlabs-io/babylon/pull/357) ([vitsalis](https://github.com/vitsalis)) +- Move checkpoint tag to params [\#356](https://github.com/babylonlabs-io/babylon/pull/356) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Use more descriptive error message for using wrapped transactions [\#355](https://github.com/babylonlabs-io/babylon/pull/355) ([vitsalis](https://github.com/vitsalis)) +- chore: Enable building docker image with unpushed changes [\#354](https://github.com/babylonlabs-io/babylon/pull/354) ([vitsalis](https://github.com/vitsalis)) +- Handle btc related wasm queries [\#353](https://github.com/babylonlabs-io/babylon/pull/353) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix: fix query height in `ProveEpochSealed` [\#352](https://github.com/babylonlabs-io/babylon/pull/352) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: fixing the bug in generating proof of sealed epoch [\#351](https://github.com/babylonlabs-io/babylon/pull/351) ([SebastianElvis](https://github.com/SebastianElvis)) +- testnet: Add flag for time between blocks [\#134](https://github.com/babylonlabs-io/babylon/pull/134) ([vitsalis](https://github.com/vitsalis)) + +## [devnet](https://github.com/babylonlabs-io/babylon/tree/devnet) (2023-04-17) + +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/test...devnet) **Breaking changes:** -- fix gas cost of insert header [\#309](https://github.com/babylonchain/babylon/pull/309) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix gas cost of insert header [\#309](https://github.com/babylonlabs-io/babylon/pull/309) ([KonradStaniec](https://github.com/KonradStaniec)) **Closed issues:** -- Remove `handler.go` from modules [\#336](https://github.com/babylonchain/babylon/issues/336) +- Remove `handler.go` from modules [\#336](https://github.com/babylonlabs-io/babylon/issues/336) **Merged pull requests:** -- Add support for querying for latest finalized epoch [\#350](https://github.com/babylonchain/babylon/pull/350) ([KonradStaniec](https://github.com/KonradStaniec)) -- Use block gas limit when defining genesis [\#349](https://github.com/babylonchain/babylon/pull/349) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix: Use the account specified in app.toml to sign BLS transactions [\#348](https://github.com/babylonchain/babylon/pull/348) ([vitsalis](https://github.com/vitsalis)) -- Custom bindings for smart contracts [\#347](https://github.com/babylonchain/babylon/pull/347) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix: Make e2e tests work with new docker image [\#345](https://github.com/babylonchain/babylon/pull/345) ([vitsalis](https://github.com/vitsalis)) -- Migrate epoching and btccheckpointing module to new way of handling params [\#344](https://github.com/babylonchain/babylon/pull/344) ([KonradStaniec](https://github.com/KonradStaniec)) -- Feature/lint proto ci [\#343](https://github.com/babylonchain/babylon/pull/343) ([KonradStaniec](https://github.com/KonradStaniec)) -- Re-enable e2e tests [\#342](https://github.com/babylonchain/babylon/pull/342) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Parallelize CircleCI lint build [\#341](https://github.com/babylonchain/babylon/pull/341) ([vitsalis](https://github.com/vitsalis)) -- docker: Refactor to a lightweight unified image [\#340](https://github.com/babylonchain/babylon/pull/340) ([danbryan](https://github.com/danbryan)) -- chore: set up OpenAPI [\#339](https://github.com/babylonchain/babylon/pull/339) ([fadeev](https://github.com/fadeev)) -- refactor: remove `handler.go` files from modules [\#337](https://github.com/babylonchain/babylon/pull/337) ([fadeev](https://github.com/fadeev)) -- Cleanup params in Babylon custom modules. [\#334](https://github.com/babylonchain/babylon/pull/334) ([KonradStaniec](https://github.com/KonradStaniec)) -- zoneconcierge: moving extended client keeper to Babylon repo [\#333](https://github.com/babylonchain/babylon/pull/333) ([SebastianElvis](https://github.com/SebastianElvis)) -- Use new version for our fork of ibc go [\#332](https://github.com/babylonchain/babylon/pull/332) ([KonradStaniec](https://github.com/KonradStaniec)) -- proto: fix proto-linter comments for epoching/zoneconcierge [\#331](https://github.com/babylonchain/babylon/pull/331) ([SebastianElvis](https://github.com/SebastianElvis)) -- Fix proto linter comments in btccheckpoint and monitor [\#330](https://github.com/babylonchain/babylon/pull/330) ([KonradStaniec](https://github.com/KonradStaniec)) -- proto-lint: Add comments to btclightclient and checkpointing proto files [\#329](https://github.com/babylonchain/babylon/pull/329) ([vitsalis](https://github.com/vitsalis)) -- CI: Build and push Docker image to ECR [\#328](https://github.com/babylonchain/babylon/pull/328) ([filippos47](https://github.com/filippos47)) -- Bump cosmos-sdk to stable version [\#327](https://github.com/babylonchain/babylon/pull/327) ([KonradStaniec](https://github.com/KonradStaniec)) -- Integrate wasmd [\#324](https://github.com/babylonchain/babylon/pull/324) ([KonradStaniec](https://github.com/KonradStaniec)) -- Migrate to comet bft [\#323](https://github.com/babylonchain/babylon/pull/323) ([KonradStaniec](https://github.com/KonradStaniec)) -- Update protobuf generation [\#322](https://github.com/babylonchain/babylon/pull/322) ([KonradStaniec](https://github.com/KonradStaniec)) -- Use cosmos v47 [\#320](https://github.com/babylonchain/babylon/pull/320) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Add balance check before inserting MsgWrappedCreateValidator into the epoch message queue [\#318](https://github.com/babylonchain/babylon/pull/318) ([gitferry](https://github.com/gitferry)) -- checkpointing: stateless checks on `MsgCreateValidator` [\#316](https://github.com/babylonchain/babylon/pull/316) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Add fuzz test of addBlsSig [\#313](https://github.com/babylonchain/babylon/pull/313) ([gitferry](https://github.com/gitferry)) -- btccheckpoint: Add information about transactions to BTCCheckpointInfo [\#312](https://github.com/babylonchain/babylon/pull/312) ([vitsalis](https://github.com/vitsalis)) -- chore: Keep a single encoding config in the application [\#308](https://github.com/babylonchain/babylon/pull/308) ([gitferry](https://github.com/gitferry)) -- feat: Checkpointing/Add fee estimation in sending BLS-sig tx [\#307](https://github.com/babylonchain/babylon/pull/307) ([gitferry](https://github.com/gitferry)) -- prepare-genesis cmd: Add flags related to inflation [\#306](https://github.com/babylonchain/babylon/pull/306) ([vitsalis](https://github.com/vitsalis)) -- fix: remove `start_epoch` and `end_epoch` parameters in APIs [\#305](https://github.com/babylonchain/babylon/pull/305) ([SebastianElvis](https://github.com/SebastianElvis)) -- Fix whitespace for Make 4.3 [\#303](https://github.com/babylonchain/babylon/pull/303) ([freshe4qa](https://github.com/freshe4qa)) - -## [test](https://github.com/babylonchain/babylon/tree/test) (2023-03-17) - -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.5.0...test) +- Add support for querying for latest finalized epoch [\#350](https://github.com/babylonlabs-io/babylon/pull/350) ([KonradStaniec](https://github.com/KonradStaniec)) +- Use block gas limit when defining genesis [\#349](https://github.com/babylonlabs-io/babylon/pull/349) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix: Use the account specified in app.toml to sign BLS transactions [\#348](https://github.com/babylonlabs-io/babylon/pull/348) ([vitsalis](https://github.com/vitsalis)) +- Custom bindings for smart contracts [\#347](https://github.com/babylonlabs-io/babylon/pull/347) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix: Make e2e tests work with new docker image [\#345](https://github.com/babylonlabs-io/babylon/pull/345) ([vitsalis](https://github.com/vitsalis)) +- Migrate epoching and btccheckpointing module to new way of handling params [\#344](https://github.com/babylonlabs-io/babylon/pull/344) ([KonradStaniec](https://github.com/KonradStaniec)) +- Feature/lint proto ci [\#343](https://github.com/babylonlabs-io/babylon/pull/343) ([KonradStaniec](https://github.com/KonradStaniec)) +- Re-enable e2e tests [\#342](https://github.com/babylonlabs-io/babylon/pull/342) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Parallelize CircleCI lint build [\#341](https://github.com/babylonlabs-io/babylon/pull/341) ([vitsalis](https://github.com/vitsalis)) +- docker: Refactor to a lightweight unified image [\#340](https://github.com/babylonlabs-io/babylon/pull/340) ([danbryan](https://github.com/danbryan)) +- chore: set up OpenAPI [\#339](https://github.com/babylonlabs-io/babylon/pull/339) ([fadeev](https://github.com/fadeev)) +- refactor: remove `handler.go` files from modules [\#337](https://github.com/babylonlabs-io/babylon/pull/337) ([fadeev](https://github.com/fadeev)) +- Cleanup params in Babylon custom modules. [\#334](https://github.com/babylonlabs-io/babylon/pull/334) ([KonradStaniec](https://github.com/KonradStaniec)) +- zoneconcierge: moving extended client keeper to Babylon repo [\#333](https://github.com/babylonlabs-io/babylon/pull/333) ([SebastianElvis](https://github.com/SebastianElvis)) +- Use new version for our fork of ibc go [\#332](https://github.com/babylonlabs-io/babylon/pull/332) ([KonradStaniec](https://github.com/KonradStaniec)) +- proto: fix proto-linter comments for epoching/zoneconcierge [\#331](https://github.com/babylonlabs-io/babylon/pull/331) ([SebastianElvis](https://github.com/SebastianElvis)) +- Fix proto linter comments in btccheckpoint and monitor [\#330](https://github.com/babylonlabs-io/babylon/pull/330) ([KonradStaniec](https://github.com/KonradStaniec)) +- proto-lint: Add comments to btclightclient and checkpointing proto files [\#329](https://github.com/babylonlabs-io/babylon/pull/329) ([vitsalis](https://github.com/vitsalis)) +- CI: Build and push Docker image to ECR [\#328](https://github.com/babylonlabs-io/babylon/pull/328) ([filippos47](https://github.com/filippos47)) +- Bump cosmos-sdk to stable version [\#327](https://github.com/babylonlabs-io/babylon/pull/327) ([KonradStaniec](https://github.com/KonradStaniec)) +- Integrate wasmd [\#324](https://github.com/babylonlabs-io/babylon/pull/324) ([KonradStaniec](https://github.com/KonradStaniec)) +- Migrate to comet bft [\#323](https://github.com/babylonlabs-io/babylon/pull/323) ([KonradStaniec](https://github.com/KonradStaniec)) +- Update protobuf generation [\#322](https://github.com/babylonlabs-io/babylon/pull/322) ([KonradStaniec](https://github.com/KonradStaniec)) +- Use cosmos v47 [\#320](https://github.com/babylonlabs-io/babylon/pull/320) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Add balance check before inserting MsgWrappedCreateValidator into the epoch message queue [\#318](https://github.com/babylonlabs-io/babylon/pull/318) ([gitferry](https://github.com/gitferry)) +- checkpointing: stateless checks on `MsgCreateValidator` [\#316](https://github.com/babylonlabs-io/babylon/pull/316) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Add fuzz test of addBlsSig [\#313](https://github.com/babylonlabs-io/babylon/pull/313) ([gitferry](https://github.com/gitferry)) +- btccheckpoint: Add information about transactions to BTCCheckpointInfo [\#312](https://github.com/babylonlabs-io/babylon/pull/312) ([vitsalis](https://github.com/vitsalis)) +- chore: Keep a single encoding config in the application [\#308](https://github.com/babylonlabs-io/babylon/pull/308) ([gitferry](https://github.com/gitferry)) +- feat: Checkpointing/Add fee estimation in sending BLS-sig tx [\#307](https://github.com/babylonlabs-io/babylon/pull/307) ([gitferry](https://github.com/gitferry)) +- prepare-genesis cmd: Add flags related to inflation [\#306](https://github.com/babylonlabs-io/babylon/pull/306) ([vitsalis](https://github.com/vitsalis)) +- fix: remove `start_epoch` and `end_epoch` parameters in APIs [\#305](https://github.com/babylonlabs-io/babylon/pull/305) ([SebastianElvis](https://github.com/SebastianElvis)) +- Fix whitespace for Make 4.3 [\#303](https://github.com/babylonlabs-io/babylon/pull/303) ([freshe4qa](https://github.com/freshe4qa)) + +## [test](https://github.com/babylonlabs-io/babylon/tree/test) (2023-03-17) + +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.5.0...test) **Implemented enhancements:** -- Fees as a parameter for the BlsSig transaction [\#168](https://github.com/babylonchain/babylon/issues/168) +- Fees as a parameter for the BlsSig transaction [\#168](https://github.com/babylonlabs-io/babylon/issues/168) **Fixed bugs:** -- flaky Test: `TestRawCheckpointWithMeta_Accumulate4` [\#124](https://github.com/babylonchain/babylon/issues/124) +- flaky Test: `TestRawCheckpointWithMeta_Accumulate4` [\#124](https://github.com/babylonlabs-io/babylon/issues/124) **Closed issues:** -- Use proto linter and formatter [\#321](https://github.com/babylonchain/babylon/issues/321) -- Lack of balance check before inserting MsgWrappedCreateValidator into the message queue [\#317](https://github.com/babylonchain/babylon/issues/317) -- Duplicate txs queued in the same epoch show inconsistent execution result [\#314](https://github.com/babylonchain/babylon/issues/314) -- Redundant pagination parameters in API [\#304](https://github.com/babylonchain/babylon/issues/304) -- Chain died on block 621 [\#302](https://github.com/babylonchain/babylon/issues/302) -- Add test for adding a BLS-sig transaction [\#279](https://github.com/babylonchain/babylon/issues/279) -- Add logs to show the submitter of each BLS-sig transaction [\#278](https://github.com/babylonchain/babylon/issues/278) -- zoneconcierge: API for querying submitted/confirmed chain info [\#212](https://github.com/babylonchain/babylon/issues/212) -- Validators should stop submitting BLS-sigs when they are syncing [\#182](https://github.com/babylonchain/babylon/issues/182) -- Accept encoding config in `InitPrivSigner` function instead of creating it. [\#174](https://github.com/babylonchain/babylon/issues/174) -- Improving Undelegating Requests and Lifecycle [\#159](https://github.com/babylonchain/babylon/issues/159) +- Use proto linter and formatter [\#321](https://github.com/babylonlabs-io/babylon/issues/321) +- Lack of balance check before inserting MsgWrappedCreateValidator into the message queue [\#317](https://github.com/babylonlabs-io/babylon/issues/317) +- Duplicate txs queued in the same epoch show inconsistent execution result [\#314](https://github.com/babylonlabs-io/babylon/issues/314) +- Redundant pagination parameters in API [\#304](https://github.com/babylonlabs-io/babylon/issues/304) +- Chain died on block 621 [\#302](https://github.com/babylonlabs-io/babylon/issues/302) +- Add test for adding a BLS-sig transaction [\#279](https://github.com/babylonlabs-io/babylon/issues/279) +- Add logs to show the submitter of each BLS-sig transaction [\#278](https://github.com/babylonlabs-io/babylon/issues/278) +- zoneconcierge: API for querying submitted/confirmed chain info [\#212](https://github.com/babylonlabs-io/babylon/issues/212) +- Validators should stop submitting BLS-sigs when they are syncing [\#182](https://github.com/babylonlabs-io/babylon/issues/182) +- Accept encoding config in `InitPrivSigner` function instead of creating it. [\#174](https://github.com/babylonlabs-io/babylon/issues/174) +- Improving Undelegating Requests and Lifecycle [\#159](https://github.com/babylonlabs-io/babylon/issues/159) -## [v0.5.0](https://github.com/babylonchain/babylon/tree/v0.5.0) (2023-02-03) +## [v0.5.0](https://github.com/babylonlabs-io/babylon/tree/v0.5.0) (2023-02-03) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.4.0...v0.5.0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.4.0...v0.5.0) **Breaking changes:** -- Improve btc checkpoint data model [\#284](https://github.com/babylonchain/babylon/pull/284) ([KonradStaniec](https://github.com/KonradStaniec)) +- Improve btc checkpoint data model [\#284](https://github.com/babylonlabs-io/babylon/pull/284) ([KonradStaniec](https://github.com/KonradStaniec)) **Fixed bugs:** -- Fix vulnerability when processing bls sig transactions [\#287](https://github.com/babylonchain/babylon/pull/287) ([KonradStaniec](https://github.com/KonradStaniec)) +- Fix vulnerability when processing bls sig transactions [\#287](https://github.com/babylonlabs-io/babylon/pull/287) ([KonradStaniec](https://github.com/KonradStaniec)) **Closed issues:** -- Error results in RawCheckpointList [\#280](https://github.com/babylonchain/babylon/issues/280) -- Creating a validator after the chain has been running for a while leads to the validator never becoming bonded. [\#275](https://github.com/babylonchain/babylon/issues/275) -- Flaky zoneconcierge test [\#251](https://github.com/babylonchain/babylon/issues/251) -- go 1.19 [\#227](https://github.com/babylonchain/babylon/issues/227) +- Error results in RawCheckpointList [\#280](https://github.com/babylonlabs-io/babylon/issues/280) +- Creating a validator after the chain has been running for a while leads to the validator never becoming bonded. [\#275](https://github.com/babylonlabs-io/babylon/issues/275) +- Flaky zoneconcierge test [\#251](https://github.com/babylonlabs-io/babylon/issues/251) +- go 1.19 [\#227](https://github.com/babylonlabs-io/babylon/issues/227) **Merged pull requests:** -- Release v0.5.0 [\#301](https://github.com/babylonchain/babylon/pull/301) ([vitsalis](https://github.com/vitsalis)) -- zoneconcierge API: pagtinating chain IDs API [\#300](https://github.com/babylonchain/babylon/pull/300) ([SebastianElvis](https://github.com/SebastianElvis)) -- Fix: Monitor/fix reported checkpoint BTC height query bugs [\#299](https://github.com/babylonchain/babylon/pull/299) ([gitferry](https://github.com/gitferry)) -- Add Apache 2.0 licence [\#298](https://github.com/babylonchain/babylon/pull/298) ([vitsalis](https://github.com/vitsalis)) -- Clean and split up README [\#297](https://github.com/babylonchain/babylon/pull/297) ([vitsalis](https://github.com/vitsalis)) -- fix: add BLST\_PORTABLE flag before build instruction [\#295](https://github.com/babylonchain/babylon/pull/295) ([vitsalis](https://github.com/vitsalis)) -- btccheckpoint API: enriching existing APIs with `BTCCheckpointInfo` [\#294](https://github.com/babylonchain/babylon/pull/294) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Remove checkpointing spec [\#293](https://github.com/babylonchain/babylon/pull/293) ([gitferry](https://github.com/gitferry)) -- API: add parameters to range queries and improve outputs [\#292](https://github.com/babylonchain/babylon/pull/292) ([SebastianElvis](https://github.com/SebastianElvis)) -- btccheckpoint API: range query for BTC checkpoints [\#291](https://github.com/babylonchain/babylon/pull/291) ([SebastianElvis](https://github.com/SebastianElvis)) -- btccheckpoint API: add hash to `BtcCheckpointHeightAndHash` API [\#290](https://github.com/babylonchain/babylon/pull/290) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: range query for epochs [\#289](https://github.com/babylonchain/babylon/pull/289) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Monitor/Add new KV and query for checkpoint reported btc height [\#286](https://github.com/babylonchain/babylon/pull/286) ([gitferry](https://github.com/gitferry)) -- zoneconcierge: proper initialisation for chain info [\#285](https://github.com/babylonchain/babylon/pull/285) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: API/Fix checkpoint list total error [\#283](https://github.com/babylonchain/babylon/pull/283) ([gitferry](https://github.com/gitferry)) -- fix: Fix pagination error of RawCheckpointList [\#282](https://github.com/babylonchain/babylon/pull/282) ([gitferry](https://github.com/gitferry)) -- Bump btcd versions to fix 2 consensus issues [\#281](https://github.com/babylonchain/babylon/pull/281) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix: add HTTP URL for LastCheckpointWithStatusRequest [\#277](https://github.com/babylonchain/babylon/pull/277) ([gitferry](https://github.com/gitferry)) -- epoching/checkpointing: fuzz test for validators with zero voting power [\#276](https://github.com/babylonchain/babylon/pull/276) ([SebastianElvis](https://github.com/SebastianElvis)) -- Add simple monitor module [\#274](https://github.com/babylonchain/babylon/pull/274) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix: checkpointing: Do not make the `home` flag a required one and unmarshall PubKey \(\#271\) [\#271](https://github.com/babylonchain/babylon/pull/271) ([vitsalis](https://github.com/vitsalis)) -- Fix: Increase gas in e2e test [\#270](https://github.com/babylonchain/babylon/pull/270) ([KonradStaniec](https://github.com/KonradStaniec)) -- Add integration test for zoneconcierge checkpointing [\#269](https://github.com/babylonchain/babylon/pull/269) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: refactor `FinalizedChainInfo` API [\#268](https://github.com/babylonchain/babylon/pull/268) ([SebastianElvis](https://github.com/SebastianElvis)) -- checkpointing API: add checkpoint lifecycle in `RawCheckpointWithMeta` [\#267](https://github.com/babylonchain/babylon/pull/267) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge API: find header and fork headers at a given height [\#266](https://github.com/babylonchain/babylon/pull/266) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge API: find the BTC-finalised chain info before specific CZ height [\#264](https://github.com/babylonchain/babylon/pull/264) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge API: adding total number of timestamped headers to chainInfo [\#263](https://github.com/babylonchain/babylon/pull/263) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: API for querying headers in a given epoch [\#261](https://github.com/babylonchain/babylon/pull/261) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: API for querying the chain info of a given epoch [\#260](https://github.com/babylonchain/babylon/pull/260) ([SebastianElvis](https://github.com/SebastianElvis)) -- add e2e test to CI [\#259](https://github.com/babylonchain/babylon/pull/259) ([KonradStaniec](https://github.com/KonradStaniec)) -- Bump golang to 1.19 [\#257](https://github.com/babylonchain/babylon/pull/257) ([KonradStaniec](https://github.com/KonradStaniec)) -- zoneconcierge: fix flaky test `FuzzProofEpochSealed_BLSSig` [\#256](https://github.com/babylonchain/babylon/pull/256) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: ignore out-of-order headers in ZoneConcierge [\#255](https://github.com/babylonchain/babylon/pull/255) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: API for listing the last checkpointed headers [\#254](https://github.com/babylonchain/babylon/pull/254) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Add new query for the last checkpoint with a given status [\#253](https://github.com/babylonchain/babylon/pull/253) ([gitferry](https://github.com/gitferry)) - -## [v0.4.0](https://github.com/babylonchain/babylon/tree/v0.4.0) (2022-12-20) - -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.3.0...v0.4.0) +- Release v0.5.0 [\#301](https://github.com/babylonlabs-io/babylon/pull/301) ([vitsalis](https://github.com/vitsalis)) +- zoneconcierge API: pagtinating chain IDs API [\#300](https://github.com/babylonlabs-io/babylon/pull/300) ([SebastianElvis](https://github.com/SebastianElvis)) +- Fix: Monitor/fix reported checkpoint BTC height query bugs [\#299](https://github.com/babylonlabs-io/babylon/pull/299) ([gitferry](https://github.com/gitferry)) +- Add Apache 2.0 licence [\#298](https://github.com/babylonlabs-io/babylon/pull/298) ([vitsalis](https://github.com/vitsalis)) +- Clean and split up README [\#297](https://github.com/babylonlabs-io/babylon/pull/297) ([vitsalis](https://github.com/vitsalis)) +- fix: add BLST\_PORTABLE flag before build instruction [\#295](https://github.com/babylonlabs-io/babylon/pull/295) ([vitsalis](https://github.com/vitsalis)) +- btccheckpoint API: enriching existing APIs with `BTCCheckpointInfo` [\#294](https://github.com/babylonlabs-io/babylon/pull/294) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Remove checkpointing spec [\#293](https://github.com/babylonlabs-io/babylon/pull/293) ([gitferry](https://github.com/gitferry)) +- API: add parameters to range queries and improve outputs [\#292](https://github.com/babylonlabs-io/babylon/pull/292) ([SebastianElvis](https://github.com/SebastianElvis)) +- btccheckpoint API: range query for BTC checkpoints [\#291](https://github.com/babylonlabs-io/babylon/pull/291) ([SebastianElvis](https://github.com/SebastianElvis)) +- btccheckpoint API: add hash to `BtcCheckpointHeightAndHash` API [\#290](https://github.com/babylonlabs-io/babylon/pull/290) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: range query for epochs [\#289](https://github.com/babylonlabs-io/babylon/pull/289) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Monitor/Add new KV and query for checkpoint reported btc height [\#286](https://github.com/babylonlabs-io/babylon/pull/286) ([gitferry](https://github.com/gitferry)) +- zoneconcierge: proper initialisation for chain info [\#285](https://github.com/babylonlabs-io/babylon/pull/285) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: API/Fix checkpoint list total error [\#283](https://github.com/babylonlabs-io/babylon/pull/283) ([gitferry](https://github.com/gitferry)) +- fix: Fix pagination error of RawCheckpointList [\#282](https://github.com/babylonlabs-io/babylon/pull/282) ([gitferry](https://github.com/gitferry)) +- Bump btcd versions to fix 2 consensus issues [\#281](https://github.com/babylonlabs-io/babylon/pull/281) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix: add HTTP URL for LastCheckpointWithStatusRequest [\#277](https://github.com/babylonlabs-io/babylon/pull/277) ([gitferry](https://github.com/gitferry)) +- epoching/checkpointing: fuzz test for validators with zero voting power [\#276](https://github.com/babylonlabs-io/babylon/pull/276) ([SebastianElvis](https://github.com/SebastianElvis)) +- Add simple monitor module [\#274](https://github.com/babylonlabs-io/babylon/pull/274) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix: checkpointing: Do not make the `home` flag a required one and unmarshall PubKey \(\#271\) [\#271](https://github.com/babylonlabs-io/babylon/pull/271) ([vitsalis](https://github.com/vitsalis)) +- Fix: Increase gas in e2e test [\#270](https://github.com/babylonlabs-io/babylon/pull/270) ([KonradStaniec](https://github.com/KonradStaniec)) +- Add integration test for zoneconcierge checkpointing [\#269](https://github.com/babylonlabs-io/babylon/pull/269) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: refactor `FinalizedChainInfo` API [\#268](https://github.com/babylonlabs-io/babylon/pull/268) ([SebastianElvis](https://github.com/SebastianElvis)) +- checkpointing API: add checkpoint lifecycle in `RawCheckpointWithMeta` [\#267](https://github.com/babylonlabs-io/babylon/pull/267) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge API: find header and fork headers at a given height [\#266](https://github.com/babylonlabs-io/babylon/pull/266) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge API: find the BTC-finalised chain info before specific CZ height [\#264](https://github.com/babylonlabs-io/babylon/pull/264) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge API: adding total number of timestamped headers to chainInfo [\#263](https://github.com/babylonlabs-io/babylon/pull/263) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: API for querying headers in a given epoch [\#261](https://github.com/babylonlabs-io/babylon/pull/261) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: API for querying the chain info of a given epoch [\#260](https://github.com/babylonlabs-io/babylon/pull/260) ([SebastianElvis](https://github.com/SebastianElvis)) +- add e2e test to CI [\#259](https://github.com/babylonlabs-io/babylon/pull/259) ([KonradStaniec](https://github.com/KonradStaniec)) +- Bump golang to 1.19 [\#257](https://github.com/babylonlabs-io/babylon/pull/257) ([KonradStaniec](https://github.com/KonradStaniec)) +- zoneconcierge: fix flaky test `FuzzProofEpochSealed_BLSSig` [\#256](https://github.com/babylonlabs-io/babylon/pull/256) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: ignore out-of-order headers in ZoneConcierge [\#255](https://github.com/babylonlabs-io/babylon/pull/255) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: API for listing the last checkpointed headers [\#254](https://github.com/babylonlabs-io/babylon/pull/254) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Add new query for the last checkpoint with a given status [\#253](https://github.com/babylonlabs-io/babylon/pull/253) ([gitferry](https://github.com/gitferry)) + +## [v0.4.0](https://github.com/babylonlabs-io/babylon/tree/v0.4.0) (2022-12-20) + +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.3.0...v0.4.0) **Closed issues:** -- epoching: excessive `absent validator` logs during simulation [\#75](https://github.com/babylonchain/babylon/issues/75) +- epoching: excessive `absent validator` logs during simulation [\#75](https://github.com/babylonlabs-io/babylon/issues/75) **Merged pull requests:** -- Release v0.4.0 [\#252](https://github.com/babylonchain/babylon/pull/252) ([vitsalis](https://github.com/vitsalis)) -- zoneconcierge: typos and rename filenames [\#250](https://github.com/babylonchain/babylon/pull/250) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Introduce more control over home directory name for localnet [\#249](https://github.com/babylonchain/babylon/pull/249) ([vitsalis](https://github.com/vitsalis)) -- zoneconcierge/epoching: proof that a header is in an epoch [\#248](https://github.com/babylonchain/babylon/pull/248) ([SebastianElvis](https://github.com/SebastianElvis)) -- Add e2e testing framework based on Osmosis [\#247](https://github.com/babylonchain/babylon/pull/247) ([KonradStaniec](https://github.com/KonradStaniec)) -- zoneconcierge: verifier for `ProofEpochSubmitted` [\#246](https://github.com/babylonchain/babylon/pull/246) ([SebastianElvis](https://github.com/SebastianElvis)) -- Add versioning based on Git names for the executable [\#245](https://github.com/babylonchain/babylon/pull/245) ([vitsalis](https://github.com/vitsalis)) -- Fix: Resolve linting errors [\#244](https://github.com/babylonchain/babylon/pull/244) ([vitsalis](https://github.com/vitsalis)) -- zoneconcierge: query inclusion proofs and add them to `ProofEpochSealed` [\#243](https://github.com/babylonchain/babylon/pull/243) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Add kv for validator BLS key set [\#242](https://github.com/babylonchain/babylon/pull/242) ([gitferry](https://github.com/gitferry)) -- zoneconcierge: verifying BLS multisig in `ProofEpochSealed` [\#241](https://github.com/babylonchain/babylon/pull/241) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Unify bitmap length [\#240](https://github.com/babylonchain/babylon/pull/240) ([gitferry](https://github.com/gitferry)) -- zoneconcierge: enriching `SubmissionData` to store BTCSpvProof [\#239](https://github.com/babylonchain/babylon/pull/239) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Move functionalities from the verifier [\#238](https://github.com/babylonchain/babylon/pull/238) ([gitferry](https://github.com/gitferry)) -- zoneconcierge: proof of a sealed epoch and make proof generation optional [\#237](https://github.com/babylonchain/babylon/pull/237) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: API for querying the validator set of a given epoch [\#236](https://github.com/babylonchain/babylon/pull/236) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Add voting power to BLS key set API [\#235](https://github.com/babylonchain/babylon/pull/235) ([gitferry](https://github.com/gitferry)) -- zoneconcierge: proof that a tx is in a block [\#234](https://github.com/babylonchain/babylon/pull/234) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: repurpose heartbeat mechanism to a generic function [\#233](https://github.com/babylonchain/babylon/pull/233) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Add bls pubkey set api [\#232](https://github.com/babylonchain/babylon/pull/232) ([gitferry](https://github.com/gitferry)) -- golangci-lint [\#222](https://github.com/babylonchain/babylon/pull/222) ([faddat](https://github.com/faddat)) - -## [v0.3.0](https://github.com/babylonchain/babylon/tree/v0.3.0) (2022-11-30) - -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.2.0...v0.3.0) +- Release v0.4.0 [\#252](https://github.com/babylonlabs-io/babylon/pull/252) ([vitsalis](https://github.com/vitsalis)) +- zoneconcierge: typos and rename filenames [\#250](https://github.com/babylonlabs-io/babylon/pull/250) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Introduce more control over home directory name for localnet [\#249](https://github.com/babylonlabs-io/babylon/pull/249) ([vitsalis](https://github.com/vitsalis)) +- zoneconcierge/epoching: proof that a header is in an epoch [\#248](https://github.com/babylonlabs-io/babylon/pull/248) ([SebastianElvis](https://github.com/SebastianElvis)) +- Add e2e testing framework based on Osmosis [\#247](https://github.com/babylonlabs-io/babylon/pull/247) ([KonradStaniec](https://github.com/KonradStaniec)) +- zoneconcierge: verifier for `ProofEpochSubmitted` [\#246](https://github.com/babylonlabs-io/babylon/pull/246) ([SebastianElvis](https://github.com/SebastianElvis)) +- Add versioning based on Git names for the executable [\#245](https://github.com/babylonlabs-io/babylon/pull/245) ([vitsalis](https://github.com/vitsalis)) +- Fix: Resolve linting errors [\#244](https://github.com/babylonlabs-io/babylon/pull/244) ([vitsalis](https://github.com/vitsalis)) +- zoneconcierge: query inclusion proofs and add them to `ProofEpochSealed` [\#243](https://github.com/babylonlabs-io/babylon/pull/243) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Add kv for validator BLS key set [\#242](https://github.com/babylonlabs-io/babylon/pull/242) ([gitferry](https://github.com/gitferry)) +- zoneconcierge: verifying BLS multisig in `ProofEpochSealed` [\#241](https://github.com/babylonlabs-io/babylon/pull/241) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Unify bitmap length [\#240](https://github.com/babylonlabs-io/babylon/pull/240) ([gitferry](https://github.com/gitferry)) +- zoneconcierge: enriching `SubmissionData` to store BTCSpvProof [\#239](https://github.com/babylonlabs-io/babylon/pull/239) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Move functionalities from the verifier [\#238](https://github.com/babylonlabs-io/babylon/pull/238) ([gitferry](https://github.com/gitferry)) +- zoneconcierge: proof of a sealed epoch and make proof generation optional [\#237](https://github.com/babylonlabs-io/babylon/pull/237) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: API for querying the validator set of a given epoch [\#236](https://github.com/babylonlabs-io/babylon/pull/236) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Add voting power to BLS key set API [\#235](https://github.com/babylonlabs-io/babylon/pull/235) ([gitferry](https://github.com/gitferry)) +- zoneconcierge: proof that a tx is in a block [\#234](https://github.com/babylonlabs-io/babylon/pull/234) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: repurpose heartbeat mechanism to a generic function [\#233](https://github.com/babylonlabs-io/babylon/pull/233) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Add bls pubkey set api [\#232](https://github.com/babylonlabs-io/babylon/pull/232) ([gitferry](https://github.com/gitferry)) +- golangci-lint [\#222](https://github.com/babylonlabs-io/babylon/pull/222) ([faddat](https://github.com/faddat)) + +## [v0.3.0](https://github.com/babylonlabs-io/babylon/tree/v0.3.0) (2022-11-30) + +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.2.0...v0.3.0) **Breaking changes:** -- Submission pruning improvements [\#204](https://github.com/babylonchain/babylon/pull/204) ([KonradStaniec](https://github.com/KonradStaniec)) +- Submission pruning improvements [\#204](https://github.com/babylonlabs-io/babylon/pull/204) ([KonradStaniec](https://github.com/KonradStaniec)) **Closed issues:** -- zoneconcierge: Chain info indexer snapshots the latest chain info for each epoch even without any relayer [\#220](https://github.com/babylonchain/babylon/issues/220) +- zoneconcierge: Chain info indexer snapshots the latest chain info for each epoch even without any relayer [\#220](https://github.com/babylonlabs-io/babylon/issues/220) **Merged pull requests:** -- Release v0.3.0 [\#231](https://github.com/babylonchain/babylon/pull/231) ([vitsalis](https://github.com/vitsalis)) -- doc: update swagger yml file [\#230](https://github.com/babylonchain/babylon/pull/230) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: Update verification rule for btc raw checkpoints [\#229](https://github.com/babylonchain/babylon/pull/229) ([gitferry](https://github.com/gitferry)) -- zoneconcierge: API route [\#228](https://github.com/babylonchain/babylon/pull/228) ([SebastianElvis](https://github.com/SebastianElvis)) -- Bump protogen cosmos [\#226](https://github.com/babylonchain/babylon/pull/226) ([vitsalis](https://github.com/vitsalis)) -- chore: Remove starport references [\#225](https://github.com/babylonchain/babylon/pull/225) ([faddat](https://github.com/faddat)) -- bump ledger and cosmos-proto [\#223](https://github.com/babylonchain/babylon/pull/223) ([faddat](https://github.com/faddat)) -- zoneconcierge: find the earliest epoch that finalised a chain info for the API [\#221](https://github.com/babylonchain/babylon/pull/221) ([SebastianElvis](https://github.com/SebastianElvis)) -- bump deps [\#218](https://github.com/babylonchain/babylon/pull/218) ([faddat](https://github.com/faddat)) -- fix: fixed marshaling issue when enqueueing CreateValidator message and added tests [\#215](https://github.com/babylonchain/babylon/pull/215) ([gitferry](https://github.com/gitferry)) +- Release v0.3.0 [\#231](https://github.com/babylonlabs-io/babylon/pull/231) ([vitsalis](https://github.com/vitsalis)) +- doc: update swagger yml file [\#230](https://github.com/babylonlabs-io/babylon/pull/230) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: Update verification rule for btc raw checkpoints [\#229](https://github.com/babylonlabs-io/babylon/pull/229) ([gitferry](https://github.com/gitferry)) +- zoneconcierge: API route [\#228](https://github.com/babylonlabs-io/babylon/pull/228) ([SebastianElvis](https://github.com/SebastianElvis)) +- Bump protogen cosmos [\#226](https://github.com/babylonlabs-io/babylon/pull/226) ([vitsalis](https://github.com/vitsalis)) +- chore: Remove starport references [\#225](https://github.com/babylonlabs-io/babylon/pull/225) ([faddat](https://github.com/faddat)) +- bump ledger and cosmos-proto [\#223](https://github.com/babylonlabs-io/babylon/pull/223) ([faddat](https://github.com/faddat)) +- zoneconcierge: find the earliest epoch that finalised a chain info for the API [\#221](https://github.com/babylonlabs-io/babylon/pull/221) ([SebastianElvis](https://github.com/SebastianElvis)) +- bump deps [\#218](https://github.com/babylonlabs-io/babylon/pull/218) ([faddat](https://github.com/faddat)) +- fix: fixed marshaling issue when enqueueing CreateValidator message and added tests [\#215](https://github.com/babylonlabs-io/babylon/pull/215) ([gitferry](https://github.com/gitferry)) -## [v0.2.0](https://github.com/babylonchain/babylon/tree/v0.2.0) (2022-11-23) +## [v0.2.0](https://github.com/babylonlabs-io/babylon/tree/v0.2.0) (2022-11-23) -[Full Changelog](https://github.com/babylonchain/babylon/compare/v0.1.0...v0.2.0) +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/v0.1.0...v0.2.0) **Fixed bugs:** -- Concurrent issue when sending BLS-sig tx in a gorouting [\#197](https://github.com/babylonchain/babylon/issues/197) +- Concurrent issue when sending BLS-sig tx in a gorouting [\#197](https://github.com/babylonlabs-io/babylon/issues/197) **Closed issues:** -- Make FromName an attribute in app.toml [\#188](https://github.com/babylonchain/babylon/issues/188) -- Add correspondence check for genesis BLS keys and genesis txs [\#180](https://github.com/babylonchain/babylon/issues/180) +- Make FromName an attribute in app.toml [\#188](https://github.com/babylonlabs-io/babylon/issues/188) +- Add correspondence check for genesis BLS keys and genesis txs [\#180](https://github.com/babylonlabs-io/babylon/issues/180) **Merged pull requests:** -- Release v0.2.0 [\#217](https://github.com/babylonchain/babylon/pull/217) ([vitsalis](https://github.com/vitsalis)) -- hotfix: fixing the hook issue in `app.go` [\#213](https://github.com/babylonchain/babylon/pull/213) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: debugging API `ChainInfo` [\#211](https://github.com/babylonchain/babylon/pull/211) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: add checkpoint info and epoch info to `FinalizedChainInfo` API [\#210](https://github.com/babylonchain/babylon/pull/210) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: restrict the used port for IBC [\#209](https://github.com/babylonchain/babylon/pull/209) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: Use better short description for the babylond executable [\#208](https://github.com/babylonchain/babylon/pull/208) ([vitsalis](https://github.com/vitsalis)) -- IBC: bug fixes for creating IBC channels [\#206](https://github.com/babylonchain/babylon/pull/206) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: API for listing all chain IDs [\#205](https://github.com/babylonchain/babylon/pull/205) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: fuzz tests for various indexers [\#203](https://github.com/babylonchain/babylon/pull/203) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: Resolved concurrency issue when sending BLS-sig txs [\#202](https://github.com/babylonchain/babylon/pull/202) ([gitferry](https://github.com/gitferry)) -- zoneconcierge: track latest BTC-finalised header and add the query [\#201](https://github.com/babylonchain/babylon/pull/201) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: subscribe to checkpointing/epoching's hooks, and add a new hooks [\#200](https://github.com/babylonchain/babylon/pull/200) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Add signer key name into app custom config [\#199](https://github.com/babylonchain/babylon/pull/199) ([gitferry](https://github.com/gitferry)) -- feat: Introduce swagger docs for RPC queries [\#198](https://github.com/babylonchain/babylon/pull/198) ([vitsalis](https://github.com/vitsalis)) -- feat: Add genesis time on genesis parameters [\#196](https://github.com/babylonchain/babylon/pull/196) ([vitsalis](https://github.com/vitsalis)) -- zoneconcierge: heartbeat IBC packet to keep relayer awake [\#195](https://github.com/babylonchain/babylon/pull/195) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: test infra for IBC and vanilla tests [\#193](https://github.com/babylonchain/babylon/pull/193) ([SebastianElvis](https://github.com/SebastianElvis)) -- Add changelog [\#192](https://github.com/babylonchain/babylon/pull/192) ([KonradStaniec](https://github.com/KonradStaniec)) -- datagen: add datagen functions for testing reporter [\#190](https://github.com/babylonchain/babylon/pull/190) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: hook onto the light client and index headers/forks [\#189](https://github.com/babylonchain/babylon/pull/189) ([SebastianElvis](https://github.com/SebastianElvis)) -- zoneconcierge: replace IBC-Go with Babylon's fork, and implement DB schemas [\#184](https://github.com/babylonchain/babylon/pull/184) ([SebastianElvis](https://github.com/SebastianElvis)) - -## [v0.1.0](https://github.com/babylonchain/babylon/tree/v0.1.0) (2022-11-05) - -[Full Changelog](https://github.com/babylonchain/babylon/compare/b1645c9eea6511069c0b2ad0328d794018450eac...v0.1.0) +- Release v0.2.0 [\#217](https://github.com/babylonlabs-io/babylon/pull/217) ([vitsalis](https://github.com/vitsalis)) +- hotfix: fixing the hook issue in `app.go` [\#213](https://github.com/babylonlabs-io/babylon/pull/213) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: debugging API `ChainInfo` [\#211](https://github.com/babylonlabs-io/babylon/pull/211) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: add checkpoint info and epoch info to `FinalizedChainInfo` API [\#210](https://github.com/babylonlabs-io/babylon/pull/210) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: restrict the used port for IBC [\#209](https://github.com/babylonlabs-io/babylon/pull/209) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: Use better short description for the babylond executable [\#208](https://github.com/babylonlabs-io/babylon/pull/208) ([vitsalis](https://github.com/vitsalis)) +- IBC: bug fixes for creating IBC channels [\#206](https://github.com/babylonlabs-io/babylon/pull/206) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: API for listing all chain IDs [\#205](https://github.com/babylonlabs-io/babylon/pull/205) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: fuzz tests for various indexers [\#203](https://github.com/babylonlabs-io/babylon/pull/203) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: Resolved concurrency issue when sending BLS-sig txs [\#202](https://github.com/babylonlabs-io/babylon/pull/202) ([gitferry](https://github.com/gitferry)) +- zoneconcierge: track latest BTC-finalised header and add the query [\#201](https://github.com/babylonlabs-io/babylon/pull/201) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: subscribe to checkpointing/epoching's hooks, and add a new hooks [\#200](https://github.com/babylonlabs-io/babylon/pull/200) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Add signer key name into app custom config [\#199](https://github.com/babylonlabs-io/babylon/pull/199) ([gitferry](https://github.com/gitferry)) +- feat: Introduce swagger docs for RPC queries [\#198](https://github.com/babylonlabs-io/babylon/pull/198) ([vitsalis](https://github.com/vitsalis)) +- feat: Add genesis time on genesis parameters [\#196](https://github.com/babylonlabs-io/babylon/pull/196) ([vitsalis](https://github.com/vitsalis)) +- zoneconcierge: heartbeat IBC packet to keep relayer awake [\#195](https://github.com/babylonlabs-io/babylon/pull/195) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: test infra for IBC and vanilla tests [\#193](https://github.com/babylonlabs-io/babylon/pull/193) ([SebastianElvis](https://github.com/SebastianElvis)) +- Add changelog [\#192](https://github.com/babylonlabs-io/babylon/pull/192) ([KonradStaniec](https://github.com/KonradStaniec)) +- datagen: add datagen functions for testing reporter [\#190](https://github.com/babylonlabs-io/babylon/pull/190) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: hook onto the light client and index headers/forks [\#189](https://github.com/babylonlabs-io/babylon/pull/189) ([SebastianElvis](https://github.com/SebastianElvis)) +- zoneconcierge: replace IBC-Go with Babylon's fork, and implement DB schemas [\#184](https://github.com/babylonlabs-io/babylon/pull/184) ([SebastianElvis](https://github.com/SebastianElvis)) + +## [v0.1.0](https://github.com/babylonlabs-io/babylon/tree/v0.1.0) (2022-11-05) + +[Full Changelog](https://github.com/babylonlabs-io/babylon/compare/b1645c9eea6511069c0b2ad0328d794018450eac...v0.1.0) **Implemented enhancements:** -- Checkpointing: remove hardcoded FlagFee [\#160](https://github.com/babylonchain/babylon/issues/160) -- Proper coin denomination for testnet [\#139](https://github.com/babylonchain/babylon/issues/139) -- chore: bump Cosmos SDK dependency to `v0.46.0` [\#93](https://github.com/babylonchain/babylon/issues/93) -- btclightclient: Store BTCHeaderInfo objects instead of BTCHeaderBytes objects [\#57](https://github.com/babylonchain/babylon/issues/57) +- Checkpointing: remove hardcoded FlagFee [\#160](https://github.com/babylonlabs-io/babylon/issues/160) +- Proper coin denomination for testnet [\#139](https://github.com/babylonlabs-io/babylon/issues/139) +- chore: bump Cosmos SDK dependency to `v0.46.0` [\#93](https://github.com/babylonlabs-io/babylon/issues/93) +- btclightclient: Store BTCHeaderInfo objects instead of BTCHeaderBytes objects [\#57](https://github.com/babylonlabs-io/babylon/issues/57) **Fixed bugs:** -- bug: Transaction submission panics due to unavailability of BTC config [\#117](https://github.com/babylonchain/babylon/issues/117) -- epoching: simulation panicked with error message `panic: no delegation distribution info` [\#74](https://github.com/babylonchain/babylon/issues/74) -- Epoching AnteHandler rejects genesis staking transactions [\#36](https://github.com/babylonchain/babylon/issues/36) -- Fix handling duplicated submissions [\#163](https://github.com/babylonchain/babylon/pull/163) ([KonradStaniec](https://github.com/KonradStaniec)) +- bug: Transaction submission panics due to unavailability of BTC config [\#117](https://github.com/babylonlabs-io/babylon/issues/117) +- epoching: simulation panicked with error message `panic: no delegation distribution info` [\#74](https://github.com/babylonlabs-io/babylon/issues/74) +- Epoching AnteHandler rejects genesis staking transactions [\#36](https://github.com/babylonlabs-io/babylon/issues/36) +- Fix handling duplicated submissions [\#163](https://github.com/babylonlabs-io/babylon/pull/163) ([KonradStaniec](https://github.com/KonradStaniec)) **Closed issues:** -- Improve sending of bls transaction by checkpointing module. [\#155](https://github.com/babylonchain/babylon/issues/155) -- Checkpointing: random BLS-sig transactions are not executed successfully [\#141](https://github.com/babylonchain/babylon/issues/141) -- Fix integration test and blssigner denominations [\#137](https://github.com/babylonchain/babylon/issues/137) -- Errors prompted by the static analyser in `x/btclightclient` [\#9](https://github.com/babylonchain/babylon/issues/9) +- Improve sending of bls transaction by checkpointing module. [\#155](https://github.com/babylonlabs-io/babylon/issues/155) +- Checkpointing: random BLS-sig transactions are not executed successfully [\#141](https://github.com/babylonlabs-io/babylon/issues/141) +- Fix integration test and blssigner denominations [\#137](https://github.com/babylonlabs-io/babylon/issues/137) +- Errors prompted by the static analyser in `x/btclightclient` [\#9](https://github.com/babylonlabs-io/babylon/issues/9) **Merged pull requests:** -- Release v0.1.0 [\#191](https://github.com/babylonchain/babylon/pull/191) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: add validate-genesis cmd [\#187](https://github.com/babylonchain/babylon/pull/187) ([gitferry](https://github.com/gitferry)) -- chore: add correspondence check against gentx when adding genesis BLS keys [\#186](https://github.com/babylonchain/babylon/pull/186) ([gitferry](https://github.com/gitferry)) -- chore: regtest support [\#185](https://github.com/babylonchain/babylon/pull/185) ([SebastianElvis](https://github.com/SebastianElvis)) -- Implement ADR-01 [\#183](https://github.com/babylonchain/babylon/pull/183) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Upgrade proto generation Docker image and script [\#181](https://github.com/babylonchain/babylon/pull/181) ([vitsalis](https://github.com/vitsalis)) -- Fix accepting submission [\#179](https://github.com/babylonchain/babylon/pull/179) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: add add-genesis-bls cmd [\#178](https://github.com/babylonchain/babylon/pull/178) ([gitferry](https://github.com/gitferry)) -- fix: CI failed after merging \#175 [\#177](https://github.com/babylonchain/babylon/pull/177) ([gitferry](https://github.com/gitferry)) -- ibc: vanilla IBC module [\#176](https://github.com/babylonchain/babylon/pull/176) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: add create-genesis-bls cmd [\#175](https://github.com/babylonchain/babylon/pull/175) ([gitferry](https://github.com/gitferry)) -- Bump cosmos sdk [\#173](https://github.com/babylonchain/babylon/pull/173) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Add prepare-genesis command [\#172](https://github.com/babylonchain/babylon/pull/172) ([vitsalis](https://github.com/vitsalis)) -- Refactor submission bitcoin status [\#170](https://github.com/babylonchain/babylon/pull/170) ([KonradStaniec](https://github.com/KonradStaniec)) -- Validate btc objects in ante-handler [\#169](https://github.com/babylonchain/babylon/pull/169) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Use \(u\)bbn bond denominations [\#167](https://github.com/babylonchain/babylon/pull/167) ([vitsalis](https://github.com/vitsalis)) -- feat: checkpointing/improve the sending of BLS-sig tx [\#166](https://github.com/babylonchain/babylon/pull/166) ([gitferry](https://github.com/gitferry)) -- feat: checkpointing/implement WrappedCreateValidator cli [\#165](https://github.com/babylonchain/babylon/pull/165) ([gitferry](https://github.com/gitferry)) -- Move retry module from Vigilante to BBN [\#164](https://github.com/babylonchain/babylon/pull/164) ([gusin13](https://github.com/gusin13)) -- feat: checkpointing/add create-bls-key cli [\#162](https://github.com/babylonchain/babylon/pull/162) ([gitferry](https://github.com/gitferry)) -- chore: checkpointing/refactor validate basic [\#161](https://github.com/babylonchain/babylon/pull/161) ([gitferry](https://github.com/gitferry)) -- Query to get submissions for given epoch [\#158](https://github.com/babylonchain/babylon/pull/158) ([KonradStaniec](https://github.com/KonradStaniec)) -- Functionality for building custom mainnet tags [\#157](https://github.com/babylonchain/babylon/pull/157) ([vitsalis](https://github.com/vitsalis)) -- Improve integration tests [\#156](https://github.com/babylonchain/babylon/pull/156) ([KonradStaniec](https://github.com/KonradStaniec)) -- epoching: fix error of `unexpected validator in unbonding queue` [\#154](https://github.com/babylonchain/babylon/pull/154) ([SebastianElvis](https://github.com/SebastianElvis)) -- Fix ancestry error [\#153](https://github.com/babylonchain/babylon/pull/153) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: fix error msg typo of btccheckpoint [\#151](https://github.com/babylonchain/babylon/pull/151) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching/checkpointing: checkpoint-assisted unbonding [\#150](https://github.com/babylonchain/babylon/pull/150) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: Allow minimum work headers for a testnet/simnet [\#148](https://github.com/babylonchain/babylon/pull/148) ([vitsalis](https://github.com/vitsalis)) -- Add test for checkpoint submissions and state change [\#147](https://github.com/babylonchain/babylon/pull/147) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix: fixed decoder for checkpoint [\#146](https://github.com/babylonchain/babylon/pull/146) ([gitferry](https://github.com/gitferry)) -- epoching: add delegator address to events [\#145](https://github.com/babylonchain/babylon/pull/145) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: checkpointing/add logs for checkpoint status change [\#144](https://github.com/babylonchain/babylon/pull/144) ([gitferry](https://github.com/gitferry)) -- epoching: delegation lifecycle [\#143](https://github.com/babylonchain/babylon/pull/143) ([SebastianElvis](https://github.com/SebastianElvis)) -- Relax tx formatter rules [\#142](https://github.com/babylonchain/babylon/pull/142) ([KonradStaniec](https://github.com/KonradStaniec)) -- epoching: bugfix of `LatestEpochMsgs` API [\#140](https://github.com/babylonchain/babylon/pull/140) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: CLI for delegating/undelegating/redelegating requests [\#138](https://github.com/babylonchain/babylon/pull/138) ([SebastianElvis](https://github.com/SebastianElvis)) -- Revert: testnet: denom of gas price \#133 [\#136](https://github.com/babylonchain/babylon/pull/136) ([vitsalis](https://github.com/vitsalis)) -- bitcoinsim: Remove it from the repository [\#135](https://github.com/babylonchain/babylon/pull/135) ([vitsalis](https://github.com/vitsalis)) -- testnet: denom of gas price [\#133](https://github.com/babylonchain/babylon/pull/133) ([SebastianElvis](https://github.com/SebastianElvis)) -- btclightclient: create temporary method for Contains request with bytes parameter [\#132](https://github.com/babylonchain/babylon/pull/132) ([SebastianElvis](https://github.com/SebastianElvis)) -- btclightclient: Add BaseHeader query [\#130](https://github.com/babylonchain/babylon/pull/130) ([vitsalis](https://github.com/vitsalis)) -- Remove full stack deployment and irrelevant files [\#129](https://github.com/babylonchain/babylon/pull/129) ([vitsalis](https://github.com/vitsalis)) -- testnet: Add CLI args for specifying btccheckpoint and staking genesis params [\#128](https://github.com/babylonchain/babylon/pull/128) ([vitsalis](https://github.com/vitsalis)) -- Add extending btc light client chain in tests [\#127](https://github.com/babylonchain/babylon/pull/127) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: checkpointing/refactor bls-signer [\#126](https://github.com/babylonchain/babylon/pull/126) ([gitferry](https://github.com/gitferry)) -- fix: Re-introduce localnet start to enable integration tests [\#125](https://github.com/babylonchain/babylon/pull/125) ([vitsalis](https://github.com/vitsalis)) -- docker: Include vigilantes and explorer in the localnet deployment [\#123](https://github.com/babylonchain/babylon/pull/123) ([vitsalis](https://github.com/vitsalis)) -- fix: checkpointing/query epoch status count bug [\#122](https://github.com/babylonchain/babylon/pull/122) ([gitferry](https://github.com/gitferry)) -- Fixes initialisation bug [\#121](https://github.com/babylonchain/babylon/pull/121) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: checkpointing/integrate bls-sig tx into the message flow [\#120](https://github.com/babylonchain/babylon/pull/120) ([gitferry](https://github.com/gitferry)) -- epoching API: add epoch msg range queries and add timestamp to validator lifecycle [\#119](https://github.com/babylonchain/babylon/pull/119) ([SebastianElvis](https://github.com/SebastianElvis)) -- fix: bls-sig accumulating bug and added tests [\#118](https://github.com/babylonchain/babylon/pull/118) ([gitferry](https://github.com/gitferry)) -- epoching API: add timestamp to queued messages [\#116](https://github.com/babylonchain/babylon/pull/116) ([SebastianElvis](https://github.com/SebastianElvis)) -- Parameterize genesis and config through testnet command flags [\#115](https://github.com/babylonchain/babylon/pull/115) ([vitsalis](https://github.com/vitsalis)) -- Add custom query [\#114](https://github.com/babylonchain/babylon/pull/114) ([KonradStaniec](https://github.com/KonradStaniec)) -- btccheckpoint: make kDeep/wDeep as system parameters [\#113](https://github.com/babylonchain/babylon/pull/113) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: checkpointing/add typed events [\#112](https://github.com/babylonchain/babylon/pull/112) ([gitferry](https://github.com/gitferry)) -- feat: checkpointing/ add queries about epoch status [\#111](https://github.com/babylonchain/babylon/pull/111) ([gitferry](https://github.com/gitferry)) -- chore: BLS signer refactor [\#110](https://github.com/babylonchain/babylon/pull/110) ([gitferry](https://github.com/gitferry)) -- epoching API: validator lifecycle [\#109](https://github.com/babylonchain/babylon/pull/109) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: API: epoch\_msgs/{epoch\_num} -\> all events during this epoch [\#108](https://github.com/babylonchain/babylon/pull/108) ([SebastianElvis](https://github.com/SebastianElvis)) -- btcutils: refactor for vigilante [\#107](https://github.com/babylonchain/babylon/pull/107) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Replace all instances of bbl with bbn [\#106](https://github.com/babylonchain/babylon/pull/106) ([vitsalis](https://github.com/vitsalis)) -- Add babylon app config [\#105](https://github.com/babylonchain/babylon/pull/105) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: checkpointing/implement BLS signer [\#104](https://github.com/babylonchain/babylon/pull/104) ([gitferry](https://github.com/gitferry)) -- Add parsing correct format in btccheckpoint [\#102](https://github.com/babylonchain/babylon/pull/102) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: add genesis state for checkpointing [\#101](https://github.com/babylonchain/babylon/pull/101) ([gitferry](https://github.com/gitferry)) -- Add fuzz tests to formatter [\#100](https://github.com/babylonchain/babylon/pull/100) ([KonradStaniec](https://github.com/KonradStaniec)) -- Fix: checkpointing/epoch growth bug [\#99](https://github.com/babylonchain/babylon/pull/99) ([gitferry](https://github.com/gitferry)) -- chore: replace bbl with bbn and gitignore [\#98](https://github.com/babylonchain/babylon/pull/98) ([SebastianElvis](https://github.com/SebastianElvis)) -- FIX: checkpointing/changed PoP by signing BLS public key [\#97](https://github.com/babylonchain/babylon/pull/97) ([gitferry](https://github.com/gitferry)) -- Add initial implementation of tx formatter [\#96](https://github.com/babylonchain/babylon/pull/96) ([KonradStaniec](https://github.com/KonradStaniec)) -- BM-102: Single BTC node in docker producing blocks [\#95](https://github.com/babylonchain/babylon/pull/95) ([aakoshh](https://github.com/aakoshh)) -- Add initial test checking progress [\#94](https://github.com/babylonchain/babylon/pull/94) ([KonradStaniec](https://github.com/KonradStaniec)) -- Add tests to ci [\#90](https://github.com/babylonchain/babylon/pull/90) ([KonradStaniec](https://github.com/KonradStaniec)) -- FIX: Add checkpoint query with status [\#89](https://github.com/babylonchain/babylon/pull/89) ([gitferry](https://github.com/gitferry)) -- enable gRPC gateway routes for rest queries [\#88](https://github.com/babylonchain/babylon/pull/88) ([toliujiayi](https://github.com/toliujiayi)) -- Wire app without mocks [\#87](https://github.com/babylonchain/babylon/pull/87) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: implement bls key generation [\#86](https://github.com/babylonchain/babylon/pull/86) ([gitferry](https://github.com/gitferry)) -- Add integration tests [\#85](https://github.com/babylonchain/babylon/pull/85) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: checkpointing/implement checkpoint verification and keeper tests [\#84](https://github.com/babylonchain/babylon/pull/84) ([gitferry](https://github.com/gitferry)) -- Add btccheckpoit unit tests [\#83](https://github.com/babylonchain/babylon/pull/83) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: btclightclient: Add BTCHeaderInserted event [\#82](https://github.com/babylonchain/babylon/pull/82) ([vitsalis](https://github.com/vitsalis)) -- fix: Remove WASM config from application configuration [\#81](https://github.com/babylonchain/babylon/pull/81) ([vitsalis](https://github.com/vitsalis)) -- epoching: smaller epoch interval in simulation [\#80](https://github.com/babylonchain/babylon/pull/80) ([SebastianElvis](https://github.com/SebastianElvis)) -- FIX: Use a caching multistore in delayed staking message handler [\#79](https://github.com/babylonchain/babylon/pull/79) ([aakoshh](https://github.com/aakoshh)) -- feat: checkpointing/implement cli [\#78](https://github.com/babylonchain/babylon/pull/78) ([gitferry](https://github.com/gitferry)) -- fix: Add installation instructions and executable reference [\#77](https://github.com/babylonchain/babylon/pull/77) ([vitsalis](https://github.com/vitsalis)) -- chore: issue templates [\#76](https://github.com/babylonchain/babylon/pull/76) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Register msg server for all modules & instructions for tx submission [\#73](https://github.com/babylonchain/babylon/pull/73) ([vitsalis](https://github.com/vitsalis)) -- feat: btclightclient: Refactor keepers based on needs of btcheckpoint module [\#72](https://github.com/babylonchain/babylon/pull/72) ([vitsalis](https://github.com/vitsalis)) -- simulation: vanilla simulation tests [\#71](https://github.com/babylonchain/babylon/pull/71) ([SebastianElvis](https://github.com/SebastianElvis)) -- Implement core btc handling logic [\#70](https://github.com/babylonchain/babylon/pull/70) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: btclightclient: gRPC query fuzz tests [\#69](https://github.com/babylonchain/babylon/pull/69) ([vitsalis](https://github.com/vitsalis)) -- epoching: simulation infra for integration testing [\#68](https://github.com/babylonchain/babylon/pull/68) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: btclightclient: Add keeper fuzz tests [\#67](https://github.com/babylonchain/babylon/pull/67) ([vitsalis](https://github.com/vitsalis)) -- epoching: fuzz tests on epoched undelegations and redelegations [\#66](https://github.com/babylonchain/babylon/pull/66) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: refactor test infra, mock messages and sample fuzz tests [\#65](https://github.com/babylonchain/babylon/pull/65) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: fuzz tests for slashed validator set [\#64](https://github.com/babylonchain/babylon/pull/64) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: replace deprecated `EmitEvent` APIs with `EmitTypedEvent` ones [\#63](https://github.com/babylonchain/babylon/pull/63) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: btclightclient HeadersState keeper fuzz tests [\#61](https://github.com/babylonchain/babylon/pull/61) ([vitsalis](https://github.com/vitsalis)) -- epoching: more test infra and some fuzz tests on keeper functionalities [\#60](https://github.com/babylonchain/babylon/pull/60) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: checkpointing/aggregate BLS signatures [\#59](https://github.com/babylonchain/babylon/pull/59) ([gitferry](https://github.com/gitferry)) -- feat: btclightclient: Abstract the usage of btcd types and store BTCHeaderInfo objects [\#58](https://github.com/babylonchain/babylon/pull/58) ([vitsalis](https://github.com/vitsalis)) -- feat: Replace BTC types unit tests with fuzz tests [\#56](https://github.com/babylonchain/babylon/pull/56) ([vitsalis](https://github.com/vitsalis)) -- feat: Create datagen testutil for common random generation functions [\#55](https://github.com/babylonchain/babylon/pull/55) ([vitsalis](https://github.com/vitsalis)) -- epoching: wrapper type `Epoch` and simplify code using this type [\#54](https://github.com/babylonchain/babylon/pull/54) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Add btclightclient events and hooks [\#53](https://github.com/babylonchain/babylon/pull/53) ([vitsalis](https://github.com/vitsalis)) -- feat: add raw checkpoint creation [\#52](https://github.com/babylonchain/babylon/pull/52) ([gitferry](https://github.com/gitferry)) -- feat: Add accumulattive PoW functionality to btclightclient [\#51](https://github.com/babylonchain/babylon/pull/51) ([vitsalis](https://github.com/vitsalis)) -- btclightclient: Cleanup codebase and add descriptive comments [\#50](https://github.com/babylonchain/babylon/pull/50) ([vitsalis](https://github.com/vitsalis)) -- Update go to 1.18 in README [\#49](https://github.com/babylonchain/babylon/pull/49) ([vitsalis](https://github.com/vitsalis)) -- Upgrade to go 1.18 [\#48](https://github.com/babylonchain/babylon/pull/48) ([vitsalis](https://github.com/vitsalis)) -- feat: define checkpointing registration proto and state [\#46](https://github.com/babylonchain/babylon/pull/46) ([gitferry](https://github.com/gitferry)) -- BM-60: Database schema ER diagram [\#45](https://github.com/babylonchain/babylon/pull/45) ([aakoshh](https://github.com/aakoshh)) -- Revert "feat: CI: Generate a single block in build check " [\#44](https://github.com/babylonchain/babylon/pull/44) ([vitsalis](https://github.com/vitsalis)) -- Btccheckpoint oracle schema and processing [\#43](https://github.com/babylonchain/babylon/pull/43) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Fuzz and unit tests for btclightclient types [\#42](https://github.com/babylonchain/babylon/pull/42) ([vitsalis](https://github.com/vitsalis)) -- epoching: fix genesis, param and bootstrapping [\#41](https://github.com/babylonchain/babylon/pull/41) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Add unit tests for ValidateHeader of btcutils [\#40](https://github.com/babylonchain/babylon/pull/40) ([vitsalis](https://github.com/vitsalis)) -- feat: Add unit tests for BTCHeaderHashBytes and BTCHeaderBytes types [\#39](https://github.com/babylonchain/babylon/pull/39) ([vitsalis](https://github.com/vitsalis)) -- Add building, testing, and testnet instructions on README [\#38](https://github.com/babylonchain/babylon/pull/38) ([vitsalis](https://github.com/vitsalis)) -- feat: CI: Generate a single block in build check [\#37](https://github.com/babylonchain/babylon/pull/37) ([vitsalis](https://github.com/vitsalis)) -- epoching: event and hook upon a certain threshold amount of slashed voting power [\#35](https://github.com/babylonchain/babylon/pull/35) ([SebastianElvis](https://github.com/SebastianElvis)) -- doc: add BLS key registration spec [\#34](https://github.com/babylonchain/babylon/pull/34) ([gitferry](https://github.com/gitferry)) -- feat: add hooks, events, and error types to the checkpointing module [\#33](https://github.com/babylonchain/babylon/pull/33) ([gitferry](https://github.com/gitferry)) -- epoching: state transition upon `BeginBlock` and `EndBlock` [\#32](https://github.com/babylonchain/babylon/pull/32) ([SebastianElvis](https://github.com/SebastianElvis)) -- Handle insert checkpoint [\#31](https://github.com/babylonchain/babylon/pull/31) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Add btclightclient chain query [\#30](https://github.com/babylonchain/babylon/pull/30) ([vitsalis](https://github.com/vitsalis)) -- feat: Implement BTCHeaderBytes and BTCHeaderHashBytes types [\#29](https://github.com/babylonchain/babylon/pull/29) ([vitsalis](https://github.com/vitsalis)) -- epoching: copy/paste necessary code from staking/evidence/slashing and make modifications [\#28](https://github.com/babylonchain/babylon/pull/28) ([SebastianElvis](https://github.com/SebastianElvis)) -- checkpointing: add keeper and core state [\#27](https://github.com/babylonchain/babylon/pull/27) ([gitferry](https://github.com/gitferry)) -- FIX: btclightclient: Properly convert the input of contains to bytes [\#26](https://github.com/babylonchain/babylon/pull/26) ([vitsalis](https://github.com/vitsalis)) -- BM-32: Update diagrams for out-of-sequence checkpoint handling [\#25](https://github.com/babylonchain/babylon/pull/25) ([aakoshh](https://github.com/aakoshh)) -- FIX\(localnet\): Redirect babylond stderr to stdout [\#24](https://github.com/babylonchain/babylon/pull/24) ([vitsalis](https://github.com/vitsalis)) -- BM-31: Add CircleCI pipeline for building and testing [\#23](https://github.com/babylonchain/babylon/pull/23) ([vitsalis](https://github.com/vitsalis)) -- FIX: Failing btclightclient tests, remove unneeded ones, clean up [\#22](https://github.com/babylonchain/babylon/pull/22) ([vitsalis](https://github.com/vitsalis)) -- FIX: Replace 'unimplemented' AnteHandler panic with comment [\#21](https://github.com/babylonchain/babylon/pull/21) ([vitsalis](https://github.com/vitsalis)) -- FIX: Implement Msg interface for MsgInsertBTCSpvProof [\#20](https://github.com/babylonchain/babylon/pull/20) ([vitsalis](https://github.com/vitsalis)) -- epoching: keeper functions, queries, and testing infra [\#19](https://github.com/babylonchain/babylon/pull/19) ([SebastianElvis](https://github.com/SebastianElvis)) -- epoching: Wrapped messages and AnteHandler implementation [\#18](https://github.com/babylonchain/babylon/pull/18) ([SebastianElvis](https://github.com/SebastianElvis)) -- FIX: Stringer in RawCheckpoint and correct checkpointing module ModuleName [\#17](https://github.com/babylonchain/babylon/pull/17) ([vitsalis](https://github.com/vitsalis)) -- BM-16: feat\(epoching\): add AnteHandler `DropValidatorMsgDecorator` [\#15](https://github.com/babylonchain/babylon/pull/15) ([SebastianElvis](https://github.com/SebastianElvis)) -- BM-13: feat\(epoching\): add hooks, events and keeper functions [\#14](https://github.com/babylonchain/babylon/pull/14) ([SebastianElvis](https://github.com/SebastianElvis)) -- BM-10: Basic btcheaderoracle module [\#13](https://github.com/babylonchain/babylon/pull/13) ([vitsalis](https://github.com/vitsalis)) -- BM-17: Add basic functianalities of bls crypto [\#12](https://github.com/babylonchain/babylon/pull/12) ([gitferry](https://github.com/gitferry)) -- FIX: Resolve inconsistent BTCLightClientKeeper name [\#11](https://github.com/babylonchain/babylon/pull/11) ([vitsalis](https://github.com/vitsalis)) -- BM-15: feat\(epoching\): add protobuf messages [\#10](https://github.com/babylonchain/babylon/pull/10) ([SebastianElvis](https://github.com/SebastianElvis)) -- BM-6: Initial proposal for btc checkpoint message [\#8](https://github.com/babylonchain/babylon/pull/8) ([KonradStaniec](https://github.com/KonradStaniec)) -- FIX: Do not modify go.mod when generating proto files [\#7](https://github.com/babylonchain/babylon/pull/7) ([vitsalis](https://github.com/vitsalis)) -- BM-5: feat\(btc light client\): BTC Light Client module setup [\#6](https://github.com/babylonchain/babylon/pull/6) ([vitsalis](https://github.com/vitsalis)) -- BM-2: feat\(checkpointing\): init checkpointing module and define proto types [\#5](https://github.com/babylonchain/babylon/pull/5) ([gitferry](https://github.com/gitferry)) -- BM-6: Add initial scaffold for rawcheckpoint module [\#4](https://github.com/babylonchain/babylon/pull/4) ([KonradStaniec](https://github.com/KonradStaniec)) -- FIX: Add script that downloads third party proto dependencies [\#3](https://github.com/babylonchain/babylon/pull/3) ([vitsalis](https://github.com/vitsalis)) -- BM-3: feat\(epoching\): Epoching module setup [\#2](https://github.com/babylonchain/babylon/pull/2) ([SebastianElvis](https://github.com/SebastianElvis)) -- BM-4: Add docs/diagrams with a Makefile and a test. [\#1](https://github.com/babylonchain/babylon/pull/1) ([aakoshh](https://github.com/aakoshh)) +- Release v0.1.0 [\#191](https://github.com/babylonlabs-io/babylon/pull/191) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: add validate-genesis cmd [\#187](https://github.com/babylonlabs-io/babylon/pull/187) ([gitferry](https://github.com/gitferry)) +- chore: add correspondence check against gentx when adding genesis BLS keys [\#186](https://github.com/babylonlabs-io/babylon/pull/186) ([gitferry](https://github.com/gitferry)) +- chore: regtest support [\#185](https://github.com/babylonlabs-io/babylon/pull/185) ([SebastianElvis](https://github.com/SebastianElvis)) +- Implement ADR-01 [\#183](https://github.com/babylonlabs-io/babylon/pull/183) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Upgrade proto generation Docker image and script [\#181](https://github.com/babylonlabs-io/babylon/pull/181) ([vitsalis](https://github.com/vitsalis)) +- Fix accepting submission [\#179](https://github.com/babylonlabs-io/babylon/pull/179) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: add add-genesis-bls cmd [\#178](https://github.com/babylonlabs-io/babylon/pull/178) ([gitferry](https://github.com/gitferry)) +- fix: CI failed after merging \#175 [\#177](https://github.com/babylonlabs-io/babylon/pull/177) ([gitferry](https://github.com/gitferry)) +- ibc: vanilla IBC module [\#176](https://github.com/babylonlabs-io/babylon/pull/176) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: add create-genesis-bls cmd [\#175](https://github.com/babylonlabs-io/babylon/pull/175) ([gitferry](https://github.com/gitferry)) +- Bump cosmos sdk [\#173](https://github.com/babylonlabs-io/babylon/pull/173) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Add prepare-genesis command [\#172](https://github.com/babylonlabs-io/babylon/pull/172) ([vitsalis](https://github.com/vitsalis)) +- Refactor submission bitcoin status [\#170](https://github.com/babylonlabs-io/babylon/pull/170) ([KonradStaniec](https://github.com/KonradStaniec)) +- Validate btc objects in ante-handler [\#169](https://github.com/babylonlabs-io/babylon/pull/169) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Use \(u\)bbn bond denominations [\#167](https://github.com/babylonlabs-io/babylon/pull/167) ([vitsalis](https://github.com/vitsalis)) +- feat: checkpointing/improve the sending of BLS-sig tx [\#166](https://github.com/babylonlabs-io/babylon/pull/166) ([gitferry](https://github.com/gitferry)) +- feat: checkpointing/implement WrappedCreateValidator cli [\#165](https://github.com/babylonlabs-io/babylon/pull/165) ([gitferry](https://github.com/gitferry)) +- Move retry module from Vigilante to BBN [\#164](https://github.com/babylonlabs-io/babylon/pull/164) ([gusin13](https://github.com/gusin13)) +- feat: checkpointing/add create-bls-key cli [\#162](https://github.com/babylonlabs-io/babylon/pull/162) ([gitferry](https://github.com/gitferry)) +- chore: checkpointing/refactor validate basic [\#161](https://github.com/babylonlabs-io/babylon/pull/161) ([gitferry](https://github.com/gitferry)) +- Query to get submissions for given epoch [\#158](https://github.com/babylonlabs-io/babylon/pull/158) ([KonradStaniec](https://github.com/KonradStaniec)) +- Functionality for building custom mainnet tags [\#157](https://github.com/babylonlabs-io/babylon/pull/157) ([vitsalis](https://github.com/vitsalis)) +- Improve integration tests [\#156](https://github.com/babylonlabs-io/babylon/pull/156) ([KonradStaniec](https://github.com/KonradStaniec)) +- epoching: fix error of `unexpected validator in unbonding queue` [\#154](https://github.com/babylonlabs-io/babylon/pull/154) ([SebastianElvis](https://github.com/SebastianElvis)) +- Fix ancestry error [\#153](https://github.com/babylonlabs-io/babylon/pull/153) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: fix error msg typo of btccheckpoint [\#151](https://github.com/babylonlabs-io/babylon/pull/151) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching/checkpointing: checkpoint-assisted unbonding [\#150](https://github.com/babylonlabs-io/babylon/pull/150) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: Allow minimum work headers for a testnet/simnet [\#148](https://github.com/babylonlabs-io/babylon/pull/148) ([vitsalis](https://github.com/vitsalis)) +- Add test for checkpoint submissions and state change [\#147](https://github.com/babylonlabs-io/babylon/pull/147) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix: fixed decoder for checkpoint [\#146](https://github.com/babylonlabs-io/babylon/pull/146) ([gitferry](https://github.com/gitferry)) +- epoching: add delegator address to events [\#145](https://github.com/babylonlabs-io/babylon/pull/145) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: checkpointing/add logs for checkpoint status change [\#144](https://github.com/babylonlabs-io/babylon/pull/144) ([gitferry](https://github.com/gitferry)) +- epoching: delegation lifecycle [\#143](https://github.com/babylonlabs-io/babylon/pull/143) ([SebastianElvis](https://github.com/SebastianElvis)) +- Relax tx formatter rules [\#142](https://github.com/babylonlabs-io/babylon/pull/142) ([KonradStaniec](https://github.com/KonradStaniec)) +- epoching: bugfix of `LatestEpochMsgs` API [\#140](https://github.com/babylonlabs-io/babylon/pull/140) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: CLI for delegating/undelegating/redelegating requests [\#138](https://github.com/babylonlabs-io/babylon/pull/138) ([SebastianElvis](https://github.com/SebastianElvis)) +- Revert: testnet: denom of gas price \#133 [\#136](https://github.com/babylonlabs-io/babylon/pull/136) ([vitsalis](https://github.com/vitsalis)) +- bitcoinsim: Remove it from the repository [\#135](https://github.com/babylonlabs-io/babylon/pull/135) ([vitsalis](https://github.com/vitsalis)) +- testnet: denom of gas price [\#133](https://github.com/babylonlabs-io/babylon/pull/133) ([SebastianElvis](https://github.com/SebastianElvis)) +- btclightclient: create temporary method for Contains request with bytes parameter [\#132](https://github.com/babylonlabs-io/babylon/pull/132) ([SebastianElvis](https://github.com/SebastianElvis)) +- btclightclient: Add BaseHeader query [\#130](https://github.com/babylonlabs-io/babylon/pull/130) ([vitsalis](https://github.com/vitsalis)) +- Remove full stack deployment and irrelevant files [\#129](https://github.com/babylonlabs-io/babylon/pull/129) ([vitsalis](https://github.com/vitsalis)) +- testnet: Add CLI args for specifying btccheckpoint and staking genesis params [\#128](https://github.com/babylonlabs-io/babylon/pull/128) ([vitsalis](https://github.com/vitsalis)) +- Add extending btc light client chain in tests [\#127](https://github.com/babylonlabs-io/babylon/pull/127) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: checkpointing/refactor bls-signer [\#126](https://github.com/babylonlabs-io/babylon/pull/126) ([gitferry](https://github.com/gitferry)) +- fix: Re-introduce localnet start to enable integration tests [\#125](https://github.com/babylonlabs-io/babylon/pull/125) ([vitsalis](https://github.com/vitsalis)) +- docker: Include vigilantes and explorer in the localnet deployment [\#123](https://github.com/babylonlabs-io/babylon/pull/123) ([vitsalis](https://github.com/vitsalis)) +- fix: checkpointing/query epoch status count bug [\#122](https://github.com/babylonlabs-io/babylon/pull/122) ([gitferry](https://github.com/gitferry)) +- Fixes initialisation bug [\#121](https://github.com/babylonlabs-io/babylon/pull/121) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: checkpointing/integrate bls-sig tx into the message flow [\#120](https://github.com/babylonlabs-io/babylon/pull/120) ([gitferry](https://github.com/gitferry)) +- epoching API: add epoch msg range queries and add timestamp to validator lifecycle [\#119](https://github.com/babylonlabs-io/babylon/pull/119) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: bls-sig accumulating bug and added tests [\#118](https://github.com/babylonlabs-io/babylon/pull/118) ([gitferry](https://github.com/gitferry)) +- epoching API: add timestamp to queued messages [\#116](https://github.com/babylonlabs-io/babylon/pull/116) ([SebastianElvis](https://github.com/SebastianElvis)) +- Parameterize genesis and config through testnet command flags [\#115](https://github.com/babylonlabs-io/babylon/pull/115) ([vitsalis](https://github.com/vitsalis)) +- Add custom query [\#114](https://github.com/babylonlabs-io/babylon/pull/114) ([KonradStaniec](https://github.com/KonradStaniec)) +- btccheckpoint: make kDeep/wDeep as system parameters [\#113](https://github.com/babylonlabs-io/babylon/pull/113) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: checkpointing/add typed events [\#112](https://github.com/babylonlabs-io/babylon/pull/112) ([gitferry](https://github.com/gitferry)) +- feat: checkpointing/ add queries about epoch status [\#111](https://github.com/babylonlabs-io/babylon/pull/111) ([gitferry](https://github.com/gitferry)) +- chore: BLS signer refactor [\#110](https://github.com/babylonlabs-io/babylon/pull/110) ([gitferry](https://github.com/gitferry)) +- epoching API: validator lifecycle [\#109](https://github.com/babylonlabs-io/babylon/pull/109) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: API: epoch\_msgs/{epoch\_num} -\> all events during this epoch [\#108](https://github.com/babylonlabs-io/babylon/pull/108) ([SebastianElvis](https://github.com/SebastianElvis)) +- btcutils: refactor for vigilante [\#107](https://github.com/babylonlabs-io/babylon/pull/107) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Replace all instances of bbl with bbn [\#106](https://github.com/babylonlabs-io/babylon/pull/106) ([vitsalis](https://github.com/vitsalis)) +- Add babylon app config [\#105](https://github.com/babylonlabs-io/babylon/pull/105) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: checkpointing/implement BLS signer [\#104](https://github.com/babylonlabs-io/babylon/pull/104) ([gitferry](https://github.com/gitferry)) +- Add parsing correct format in btccheckpoint [\#102](https://github.com/babylonlabs-io/babylon/pull/102) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: add genesis state for checkpointing [\#101](https://github.com/babylonlabs-io/babylon/pull/101) ([gitferry](https://github.com/gitferry)) +- Add fuzz tests to formatter [\#100](https://github.com/babylonlabs-io/babylon/pull/100) ([KonradStaniec](https://github.com/KonradStaniec)) +- Fix: checkpointing/epoch growth bug [\#99](https://github.com/babylonlabs-io/babylon/pull/99) ([gitferry](https://github.com/gitferry)) +- chore: replace bbl with bbn and gitignore [\#98](https://github.com/babylonlabs-io/babylon/pull/98) ([SebastianElvis](https://github.com/SebastianElvis)) +- FIX: checkpointing/changed PoP by signing BLS public key [\#97](https://github.com/babylonlabs-io/babylon/pull/97) ([gitferry](https://github.com/gitferry)) +- Add initial implementation of tx formatter [\#96](https://github.com/babylonlabs-io/babylon/pull/96) ([KonradStaniec](https://github.com/KonradStaniec)) +- BM-102: Single BTC node in docker producing blocks [\#95](https://github.com/babylonlabs-io/babylon/pull/95) ([aakoshh](https://github.com/aakoshh)) +- Add initial test checking progress [\#94](https://github.com/babylonlabs-io/babylon/pull/94) ([KonradStaniec](https://github.com/KonradStaniec)) +- Add tests to ci [\#90](https://github.com/babylonlabs-io/babylon/pull/90) ([KonradStaniec](https://github.com/KonradStaniec)) +- FIX: Add checkpoint query with status [\#89](https://github.com/babylonlabs-io/babylon/pull/89) ([gitferry](https://github.com/gitferry)) +- enable gRPC gateway routes for rest queries [\#88](https://github.com/babylonlabs-io/babylon/pull/88) ([toliujiayi](https://github.com/toliujiayi)) +- Wire app without mocks [\#87](https://github.com/babylonlabs-io/babylon/pull/87) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: implement bls key generation [\#86](https://github.com/babylonlabs-io/babylon/pull/86) ([gitferry](https://github.com/gitferry)) +- Add integration tests [\#85](https://github.com/babylonlabs-io/babylon/pull/85) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: checkpointing/implement checkpoint verification and keeper tests [\#84](https://github.com/babylonlabs-io/babylon/pull/84) ([gitferry](https://github.com/gitferry)) +- Add btccheckpoit unit tests [\#83](https://github.com/babylonlabs-io/babylon/pull/83) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: btclightclient: Add BTCHeaderInserted event [\#82](https://github.com/babylonlabs-io/babylon/pull/82) ([vitsalis](https://github.com/vitsalis)) +- fix: Remove WASM config from application configuration [\#81](https://github.com/babylonlabs-io/babylon/pull/81) ([vitsalis](https://github.com/vitsalis)) +- epoching: smaller epoch interval in simulation [\#80](https://github.com/babylonlabs-io/babylon/pull/80) ([SebastianElvis](https://github.com/SebastianElvis)) +- FIX: Use a caching multistore in delayed staking message handler [\#79](https://github.com/babylonlabs-io/babylon/pull/79) ([aakoshh](https://github.com/aakoshh)) +- feat: checkpointing/implement cli [\#78](https://github.com/babylonlabs-io/babylon/pull/78) ([gitferry](https://github.com/gitferry)) +- fix: Add installation instructions and executable reference [\#77](https://github.com/babylonlabs-io/babylon/pull/77) ([vitsalis](https://github.com/vitsalis)) +- chore: issue templates [\#76](https://github.com/babylonlabs-io/babylon/pull/76) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Register msg server for all modules & instructions for tx submission [\#73](https://github.com/babylonlabs-io/babylon/pull/73) ([vitsalis](https://github.com/vitsalis)) +- feat: btclightclient: Refactor keepers based on needs of btcheckpoint module [\#72](https://github.com/babylonlabs-io/babylon/pull/72) ([vitsalis](https://github.com/vitsalis)) +- simulation: vanilla simulation tests [\#71](https://github.com/babylonlabs-io/babylon/pull/71) ([SebastianElvis](https://github.com/SebastianElvis)) +- Implement core btc handling logic [\#70](https://github.com/babylonlabs-io/babylon/pull/70) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: btclightclient: gRPC query fuzz tests [\#69](https://github.com/babylonlabs-io/babylon/pull/69) ([vitsalis](https://github.com/vitsalis)) +- epoching: simulation infra for integration testing [\#68](https://github.com/babylonlabs-io/babylon/pull/68) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: btclightclient: Add keeper fuzz tests [\#67](https://github.com/babylonlabs-io/babylon/pull/67) ([vitsalis](https://github.com/vitsalis)) +- epoching: fuzz tests on epoched undelegations and redelegations [\#66](https://github.com/babylonlabs-io/babylon/pull/66) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: refactor test infra, mock messages and sample fuzz tests [\#65](https://github.com/babylonlabs-io/babylon/pull/65) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: fuzz tests for slashed validator set [\#64](https://github.com/babylonlabs-io/babylon/pull/64) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: replace deprecated `EmitEvent` APIs with `EmitTypedEvent` ones [\#63](https://github.com/babylonlabs-io/babylon/pull/63) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: btclightclient HeadersState keeper fuzz tests [\#61](https://github.com/babylonlabs-io/babylon/pull/61) ([vitsalis](https://github.com/vitsalis)) +- epoching: more test infra and some fuzz tests on keeper functionalities [\#60](https://github.com/babylonlabs-io/babylon/pull/60) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: checkpointing/aggregate BLS signatures [\#59](https://github.com/babylonlabs-io/babylon/pull/59) ([gitferry](https://github.com/gitferry)) +- feat: btclightclient: Abstract the usage of btcd types and store BTCHeaderInfo objects [\#58](https://github.com/babylonlabs-io/babylon/pull/58) ([vitsalis](https://github.com/vitsalis)) +- feat: Replace BTC types unit tests with fuzz tests [\#56](https://github.com/babylonlabs-io/babylon/pull/56) ([vitsalis](https://github.com/vitsalis)) +- feat: Create datagen testutil for common random generation functions [\#55](https://github.com/babylonlabs-io/babylon/pull/55) ([vitsalis](https://github.com/vitsalis)) +- epoching: wrapper type `Epoch` and simplify code using this type [\#54](https://github.com/babylonlabs-io/babylon/pull/54) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Add btclightclient events and hooks [\#53](https://github.com/babylonlabs-io/babylon/pull/53) ([vitsalis](https://github.com/vitsalis)) +- feat: add raw checkpoint creation [\#52](https://github.com/babylonlabs-io/babylon/pull/52) ([gitferry](https://github.com/gitferry)) +- feat: Add accumulattive PoW functionality to btclightclient [\#51](https://github.com/babylonlabs-io/babylon/pull/51) ([vitsalis](https://github.com/vitsalis)) +- btclightclient: Cleanup codebase and add descriptive comments [\#50](https://github.com/babylonlabs-io/babylon/pull/50) ([vitsalis](https://github.com/vitsalis)) +- Update go to 1.18 in README [\#49](https://github.com/babylonlabs-io/babylon/pull/49) ([vitsalis](https://github.com/vitsalis)) +- Upgrade to go 1.18 [\#48](https://github.com/babylonlabs-io/babylon/pull/48) ([vitsalis](https://github.com/vitsalis)) +- feat: define checkpointing registration proto and state [\#46](https://github.com/babylonlabs-io/babylon/pull/46) ([gitferry](https://github.com/gitferry)) +- BM-60: Database schema ER diagram [\#45](https://github.com/babylonlabs-io/babylon/pull/45) ([aakoshh](https://github.com/aakoshh)) +- Revert "feat: CI: Generate a single block in build check " [\#44](https://github.com/babylonlabs-io/babylon/pull/44) ([vitsalis](https://github.com/vitsalis)) +- Btccheckpoint oracle schema and processing [\#43](https://github.com/babylonlabs-io/babylon/pull/43) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Fuzz and unit tests for btclightclient types [\#42](https://github.com/babylonlabs-io/babylon/pull/42) ([vitsalis](https://github.com/vitsalis)) +- epoching: fix genesis, param and bootstrapping [\#41](https://github.com/babylonlabs-io/babylon/pull/41) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Add unit tests for ValidateHeader of btcutils [\#40](https://github.com/babylonlabs-io/babylon/pull/40) ([vitsalis](https://github.com/vitsalis)) +- feat: Add unit tests for BTCHeaderHashBytes and BTCHeaderBytes types [\#39](https://github.com/babylonlabs-io/babylon/pull/39) ([vitsalis](https://github.com/vitsalis)) +- Add building, testing, and testnet instructions on README [\#38](https://github.com/babylonlabs-io/babylon/pull/38) ([vitsalis](https://github.com/vitsalis)) +- feat: CI: Generate a single block in build check [\#37](https://github.com/babylonlabs-io/babylon/pull/37) ([vitsalis](https://github.com/vitsalis)) +- epoching: event and hook upon a certain threshold amount of slashed voting power [\#35](https://github.com/babylonlabs-io/babylon/pull/35) ([SebastianElvis](https://github.com/SebastianElvis)) +- doc: add BLS key registration spec [\#34](https://github.com/babylonlabs-io/babylon/pull/34) ([gitferry](https://github.com/gitferry)) +- feat: add hooks, events, and error types to the checkpointing module [\#33](https://github.com/babylonlabs-io/babylon/pull/33) ([gitferry](https://github.com/gitferry)) +- epoching: state transition upon `BeginBlock` and `EndBlock` [\#32](https://github.com/babylonlabs-io/babylon/pull/32) ([SebastianElvis](https://github.com/SebastianElvis)) +- Handle insert checkpoint [\#31](https://github.com/babylonlabs-io/babylon/pull/31) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Add btclightclient chain query [\#30](https://github.com/babylonlabs-io/babylon/pull/30) ([vitsalis](https://github.com/vitsalis)) +- feat: Implement BTCHeaderBytes and BTCHeaderHashBytes types [\#29](https://github.com/babylonlabs-io/babylon/pull/29) ([vitsalis](https://github.com/vitsalis)) +- epoching: copy/paste necessary code from staking/evidence/slashing and make modifications [\#28](https://github.com/babylonlabs-io/babylon/pull/28) ([SebastianElvis](https://github.com/SebastianElvis)) +- checkpointing: add keeper and core state [\#27](https://github.com/babylonlabs-io/babylon/pull/27) ([gitferry](https://github.com/gitferry)) +- FIX: btclightclient: Properly convert the input of contains to bytes [\#26](https://github.com/babylonlabs-io/babylon/pull/26) ([vitsalis](https://github.com/vitsalis)) +- BM-32: Update diagrams for out-of-sequence checkpoint handling [\#25](https://github.com/babylonlabs-io/babylon/pull/25) ([aakoshh](https://github.com/aakoshh)) +- FIX\(localnet\): Redirect babylond stderr to stdout [\#24](https://github.com/babylonlabs-io/babylon/pull/24) ([vitsalis](https://github.com/vitsalis)) +- BM-31: Add CircleCI pipeline for building and testing [\#23](https://github.com/babylonlabs-io/babylon/pull/23) ([vitsalis](https://github.com/vitsalis)) +- FIX: Failing btclightclient tests, remove unneeded ones, clean up [\#22](https://github.com/babylonlabs-io/babylon/pull/22) ([vitsalis](https://github.com/vitsalis)) +- FIX: Replace 'unimplemented' AnteHandler panic with comment [\#21](https://github.com/babylonlabs-io/babylon/pull/21) ([vitsalis](https://github.com/vitsalis)) +- FIX: Implement Msg interface for MsgInsertBTCSpvProof [\#20](https://github.com/babylonlabs-io/babylon/pull/20) ([vitsalis](https://github.com/vitsalis)) +- epoching: keeper functions, queries, and testing infra [\#19](https://github.com/babylonlabs-io/babylon/pull/19) ([SebastianElvis](https://github.com/SebastianElvis)) +- epoching: Wrapped messages and AnteHandler implementation [\#18](https://github.com/babylonlabs-io/babylon/pull/18) ([SebastianElvis](https://github.com/SebastianElvis)) +- FIX: Stringer in RawCheckpoint and correct checkpointing module ModuleName [\#17](https://github.com/babylonlabs-io/babylon/pull/17) ([vitsalis](https://github.com/vitsalis)) +- BM-16: feat\(epoching\): add AnteHandler `DropValidatorMsgDecorator` [\#15](https://github.com/babylonlabs-io/babylon/pull/15) ([SebastianElvis](https://github.com/SebastianElvis)) +- BM-13: feat\(epoching\): add hooks, events and keeper functions [\#14](https://github.com/babylonlabs-io/babylon/pull/14) ([SebastianElvis](https://github.com/SebastianElvis)) +- BM-10: Basic btcheaderoracle module [\#13](https://github.com/babylonlabs-io/babylon/pull/13) ([vitsalis](https://github.com/vitsalis)) +- BM-17: Add basic functianalities of bls crypto [\#12](https://github.com/babylonlabs-io/babylon/pull/12) ([gitferry](https://github.com/gitferry)) +- FIX: Resolve inconsistent BTCLightClientKeeper name [\#11](https://github.com/babylonlabs-io/babylon/pull/11) ([vitsalis](https://github.com/vitsalis)) +- BM-15: feat\(epoching\): add protobuf messages [\#10](https://github.com/babylonlabs-io/babylon/pull/10) ([SebastianElvis](https://github.com/SebastianElvis)) +- BM-6: Initial proposal for btc checkpoint message [\#8](https://github.com/babylonlabs-io/babylon/pull/8) ([KonradStaniec](https://github.com/KonradStaniec)) +- FIX: Do not modify go.mod when generating proto files [\#7](https://github.com/babylonlabs-io/babylon/pull/7) ([vitsalis](https://github.com/vitsalis)) +- BM-5: feat\(btc light client\): BTC Light Client module setup [\#6](https://github.com/babylonlabs-io/babylon/pull/6) ([vitsalis](https://github.com/vitsalis)) +- BM-2: feat\(checkpointing\): init checkpointing module and define proto types [\#5](https://github.com/babylonlabs-io/babylon/pull/5) ([gitferry](https://github.com/gitferry)) +- BM-6: Add initial scaffold for rawcheckpoint module [\#4](https://github.com/babylonlabs-io/babylon/pull/4) ([KonradStaniec](https://github.com/KonradStaniec)) +- FIX: Add script that downloads third party proto dependencies [\#3](https://github.com/babylonlabs-io/babylon/pull/3) ([vitsalis](https://github.com/vitsalis)) +- BM-3: feat\(epoching\): Epoching module setup [\#2](https://github.com/babylonlabs-io/babylon/pull/2) ([SebastianElvis](https://github.com/SebastianElvis)) +- BM-4: Add docs/diagrams with a Makefile and a test. [\#1](https://github.com/babylonlabs-io/babylon/pull/1) ([aakoshh](https://github.com/aakoshh)) diff --git a/LICENSE b/LICENSE index 45ff37b20..d08b6069f 100644 --- a/LICENSE +++ b/LICENSE @@ -8,14 +8,14 @@ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. Parameters -Licensor: Babylonchain, Inc. +Licensor: BabylonLabs, Ltd. Licensed Work: Babylon - The Licensed Work is (c) 2023 Babylonchain, Inc. + The Licensed Work is (c) 2023 BabylonLabs, Ltd. Additional Use Grant: None. -Change Date: 2027-01-20 (January 20th, 2027] +Change Date: 2027-01-20 (January 20th, 2027) Change License: Apache 2.0 diff --git a/Makefile b/Makefile index f70e4c026..4c8db9052 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ LEDGER_ENABLED ?= true BINDIR ?= $(GOPATH)/bin PROJECT_NAME ?= babylon BUILDDIR ?= $(CURDIR)/build -HTTPS_GIT := https://github.com/babylonchain/babylon.git +HTTPS_GIT := https://github.com/babylonlabs-io/babylon.git DOCKER := $(shell which docker) SIMAPP = ./simapp @@ -341,7 +341,7 @@ lint-go: format: ## Run code formater find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' | xargs gofmt -w -s find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' | xargs misspell -w - find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' | xargs goimports -w -local github.com/babylonchain/babylon + find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' | xargs goimports -w -local github.com/babylonlabs-io/babylon .PHONY: format ############################################################################### @@ -363,12 +363,12 @@ gosec-local: ## Run local security checkss DEVDOC_SAVE = docker commit `docker ps -a -n 1 -q` devdoc:local devdoc-init: ## Initialize documentation - $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/babylonchain/babylon" -w "/go/src/github.com/babylonchain/babylon" tendermint/devdoc echo + $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/babylonlabs-io/babylon" -w "/go/src/github.com/babylonlabs-io/babylon" tendermint/devdoc echo # TODO make this safer $(call DEVDOC_SAVE) devdoc: ## Generate documentation - $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/babylonchain/babylon" -w "/go/src/github.com/babylonchain/babylon" devdoc:local bash + $(DOCKER) run -it -v "$(CURDIR):/go/src/github.com/babylonlabs-io/babylon" -w "/go/src/github.com/babylonlabs-io/babylon" devdoc:local bash devdoc-save: ## Save documentation changes # TODO make this safer @@ -428,7 +428,7 @@ init-testnet-dirs: ## Initialize directories for testnet, creates a ./.testnets # need to create the dir before hand so that the docker container has write access to the `.testnets` dir # regardless of the user it uses mkdir -p $(CURDIR)/.testnets && chmod o+w $(CURDIR)/.testnets - $(DOCKER) run --rm -v $(CURDIR)/.testnets:/home/babylon/.testnets:Z babylonchain/babylond \ + $(DOCKER) run --rm -v $(CURDIR)/.testnets:/home/babylon/.testnets:Z babylonlabs-io/babylond \ babylond testnet init-files --v 4 -o /home/babylon/.testnets \ --starting-ip-address 192.168.10.2 --keyring-backend=test \ --chain-id chain-test --btc-confirmation-depth 2 --additional-sender-account true \ diff --git a/SECURITY.md b/SECURITY.md index e30d358d5..ee8c3febf 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -25,7 +25,7 @@ Send your detailed vulnerability report to `security@babylonchain.io`. ### 2. GitHub Private Vulnerability Reporting -Utilize [GitHub's Private Vulnerability Reporting](https://github.com/babylonchain/babylon/security/advisories/new) +Utilize [GitHub's Private Vulnerability Reporting](https://github.com/babylonlabs-io/babylon/security/advisories/new) for confidential disclosure. ## Submit Vulnerability Report diff --git a/app/ante_btc_validation_decorator.go b/app/ante_btc_validation_decorator.go index 46a003bb1..8e5febfb8 100644 --- a/app/ante_btc_validation_decorator.go +++ b/app/ante_btc_validation_decorator.go @@ -1,10 +1,10 @@ package app import ( - bbn "github.com/babylonchain/babylon/types" - btccheckpointkeeper "github.com/babylonchain/babylon/x/btccheckpoint/keeper" - btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclightclient "github.com/babylonchain/babylon/x/btclightclient/types" + bbn "github.com/babylonlabs-io/babylon/types" + btccheckpointkeeper "github.com/babylonlabs-io/babylon/x/btccheckpoint/keeper" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclightclient "github.com/babylonlabs-io/babylon/x/btclightclient/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/app/app.go b/app/app.go index 67b0b7800..541bcd8d3 100644 --- a/app/app.go +++ b/app/app.go @@ -93,32 +93,32 @@ import ( ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" "github.com/spf13/cast" - "github.com/babylonchain/babylon/app/upgrades" - bbn "github.com/babylonchain/babylon/types" - - appkeepers "github.com/babylonchain/babylon/app/keepers" - appparams "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/client/docs" - "github.com/babylonchain/babylon/x/btccheckpoint" - btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - "github.com/babylonchain/babylon/x/btclightclient" - btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/checkpointing" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - "github.com/babylonchain/babylon/x/epoching" - epochingkeeper "github.com/babylonchain/babylon/x/epoching/keeper" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/finality" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" - "github.com/babylonchain/babylon/x/incentive" - incentivetypes "github.com/babylonchain/babylon/x/incentive/types" - "github.com/babylonchain/babylon/x/monitor" - monitortypes "github.com/babylonchain/babylon/x/monitor/types" - "github.com/babylonchain/babylon/x/zoneconcierge" - zckeeper "github.com/babylonchain/babylon/x/zoneconcierge/keeper" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/app/upgrades" + bbn "github.com/babylonlabs-io/babylon/types" + + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" + appparams "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/client/docs" + "github.com/babylonlabs-io/babylon/x/btccheckpoint" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btclightclient" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/checkpointing" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/epoching" + epochingkeeper "github.com/babylonlabs-io/babylon/x/epoching/keeper" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/finality" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/incentive" + incentivetypes "github.com/babylonlabs-io/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/monitor" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge" + zckeeper "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) const ( diff --git a/app/encoding.go b/app/encoding.go index 0ae2e5a9f..57a5b6cf5 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -9,8 +9,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" simsutils "github.com/cosmos/cosmos-sdk/testutil/sims" - appparams "github.com/babylonchain/babylon/app/params" - bbn "github.com/babylonchain/babylon/types" + appparams "github.com/babylonlabs-io/babylon/app/params" + bbn "github.com/babylonlabs-io/babylon/types" ) // TmpAppOptions returns an app option with tmp dir and btc network diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 64c0baa14..74174a608 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -61,28 +61,28 @@ import ( ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" - appparams "github.com/babylonchain/babylon/app/params" - bbn "github.com/babylonchain/babylon/types" - owasm "github.com/babylonchain/babylon/wasmbinding" - btccheckpointkeeper "github.com/babylonchain/babylon/x/btccheckpoint/keeper" - btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclightclientkeeper "github.com/babylonchain/babylon/x/btclightclient/keeper" - btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" - btcstakingkeeper "github.com/babylonchain/babylon/x/btcstaking/keeper" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - checkpointingkeeper "github.com/babylonchain/babylon/x/checkpointing/keeper" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingkeeper "github.com/babylonchain/babylon/x/epoching/keeper" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - finalitykeeper "github.com/babylonchain/babylon/x/finality/keeper" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" - incentivekeeper "github.com/babylonchain/babylon/x/incentive/keeper" - incentivetypes "github.com/babylonchain/babylon/x/incentive/types" - monitorkeeper "github.com/babylonchain/babylon/x/monitor/keeper" - monitortypes "github.com/babylonchain/babylon/x/monitor/types" - "github.com/babylonchain/babylon/x/zoneconcierge" - zckeeper "github.com/babylonchain/babylon/x/zoneconcierge/keeper" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + appparams "github.com/babylonlabs-io/babylon/app/params" + bbn "github.com/babylonlabs-io/babylon/types" + owasm "github.com/babylonlabs-io/babylon/wasmbinding" + btccheckpointkeeper "github.com/babylonlabs-io/babylon/x/btccheckpoint/keeper" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclightclientkeeper "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + btcstakingkeeper "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + checkpointingkeeper "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingkeeper "github.com/babylonlabs-io/babylon/x/epoching/keeper" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + finalitykeeper "github.com/babylonlabs-io/babylon/x/finality/keeper" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" + incentivekeeper "github.com/babylonlabs-io/babylon/x/incentive/keeper" + incentivetypes "github.com/babylonlabs-io/babylon/x/incentive/types" + monitorkeeper "github.com/babylonlabs-io/babylon/x/monitor/keeper" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge" + zckeeper "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // Capabilities of the IBC wasm contracts diff --git a/app/keepers/utils.go b/app/keepers/utils.go index 121f3531f..7efe4b78a 100644 --- a/app/keepers/utils.go +++ b/app/keepers/utils.go @@ -11,7 +11,7 @@ import ( cmtos "github.com/cometbft/cometbft/libs/os" "github.com/cosmos/cosmos-sdk/client/config" - "github.com/babylonchain/babylon/privval" + "github.com/babylonlabs-io/babylon/privval" ) const defaultConfigTemplate = `# This is a TOML config file. diff --git a/app/test_helpers.go b/app/test_helpers.go index d8dfea5ef..08ff94d76 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -30,12 +30,12 @@ import ( "github.com/docker/docker/pkg/ioutils" "github.com/stretchr/testify/require" - appkeepers "github.com/babylonchain/babylon/app/keepers" - appparams "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" - bbn "github.com/babylonchain/babylon/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" + appparams "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" + bbn "github.com/babylonlabs-io/babylon/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // SetupOptions defines arguments that are passed into `Simapp` constructor. diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 8f143c8e1..15fa8ae05 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/babylonchain/babylon/app/keepers" + "github.com/babylonlabs-io/babylon/app/keepers" ) // BaseAppParamManager defines an interrace that BaseApp is expected to fulfill diff --git a/app/upgrades/vanilla/upgrades.go b/app/upgrades/vanilla/upgrades.go index 1cc0c9060..35d546958 100644 --- a/app/upgrades/vanilla/upgrades.go +++ b/app/upgrades/vanilla/upgrades.go @@ -8,11 +8,11 @@ import ( store "cosmossdk.io/store/types" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/babylonchain/babylon/app/keepers" - "github.com/babylonchain/babylon/app/upgrades" - bbn "github.com/babylonchain/babylon/types" - btcstakingkeeper "github.com/babylonchain/babylon/x/btcstaking/keeper" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/app/keepers" + "github.com/babylonlabs-io/babylon/app/upgrades" + bbn "github.com/babylonlabs-io/babylon/types" + btcstakingkeeper "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" diff --git a/app/upgrades/vanilla/upgrades_test.go b/app/upgrades/vanilla/upgrades_test.go index fba069c7f..19511629f 100644 --- a/app/upgrades/vanilla/upgrades_test.go +++ b/app/upgrades/vanilla/upgrades_test.go @@ -9,9 +9,9 @@ import ( "cosmossdk.io/core/header" "cosmossdk.io/x/upgrade" upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/babylonchain/babylon/app" - v1 "github.com/babylonchain/babylon/app/upgrades/vanilla" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/app" + v1 "github.com/babylonlabs-io/babylon/app/upgrades/vanilla" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" tmproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" diff --git a/btcstaking/btcstaking_test.go b/btcstaking/btcstaking_test.go index fc41142aa..940a4aace 100644 --- a/btcstaking/btcstaking_test.go +++ b/btcstaking/btcstaking_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/btcstaking" - btctest "github.com/babylonchain/babylon/testutil/bitcoin" + "github.com/babylonlabs-io/babylon/btcstaking" + btctest "github.com/babylonlabs-io/babylon/testutil/bitcoin" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcutil" diff --git a/btcstaking/identifiable_staking_test.go b/btcstaking/identifiable_staking_test.go index 6f790f8d8..96692735b 100644 --- a/btcstaking/identifiable_staking_test.go +++ b/btcstaking/identifiable_staking_test.go @@ -5,7 +5,7 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/btcstaking" + "github.com/babylonlabs-io/babylon/btcstaking" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcutil" @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" ) func generateTxFromOutputs(r *rand.Rand, info *btcstaking.IdentifiableStakingInfo) (*wire.MsgTx, int, int) { diff --git a/btcstaking/staking.go b/btcstaking/staking.go index d0c412f4a..d82cb0f2a 100644 --- a/btcstaking/staking.go +++ b/btcstaking/staking.go @@ -15,7 +15,7 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" ) // buildSlashingTxFromOutpoint builds a valid slashing transaction by creating a new Bitcoin transaction that slashes a portion diff --git a/btcstaking/staking_test.go b/btcstaking/staking_test.go index 8a02803f7..b54c97c95 100644 --- a/btcstaking/staking_test.go +++ b/btcstaking/staking_test.go @@ -9,8 +9,8 @@ import ( "time" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/btcstaking" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/btcstaking" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" diff --git a/btcstaking/staking_testvectors_test.go b/btcstaking/staking_testvectors_test.go index 2a60273f5..b8e3613b7 100644 --- a/btcstaking/staking_testvectors_test.go +++ b/btcstaking/staking_testvectors_test.go @@ -15,7 +15,7 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/btcstaking" + "github.com/babylonlabs-io/babylon/btcstaking" ) func getBtcNetworkParams(network string) (*chaincfg.Params, error) { diff --git a/btcstaking/staking_utils_test.go b/btcstaking/staking_utils_test.go index e286ad05e..7cb2da873 100644 --- a/btcstaking/staking_utils_test.go +++ b/btcstaking/staking_utils_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/btcstaking" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/btcstaking" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/stretchr/testify/require" ) diff --git a/btcstaking/types.go b/btcstaking/types.go index 95d6a9455..d6dc68f8c 100644 --- a/btcstaking/types.go +++ b/btcstaking/types.go @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/client/client/client.go b/client/client/client.go index 14b84fc15..e641c96bc 100644 --- a/client/client/client.go +++ b/client/client/client.go @@ -4,9 +4,9 @@ import ( "context" "time" - bbn "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/client/config" - "github.com/babylonchain/babylon/client/query" + bbn "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/client/config" + "github.com/babylonlabs-io/babylon/client/query" rpchttp "github.com/cometbft/cometbft/rpc/client/http" "github.com/cosmos/relayer/v2/relayer/chains/cosmos" "go.uber.org/zap" diff --git a/client/client/keys.go b/client/client/keys.go index baf6b7bac..2974ccbde 100644 --- a/client/client/keys.go +++ b/client/client/keys.go @@ -28,7 +28,7 @@ func (c *Client) GetKeyring() keyring.Keyring { // the file system lock, in order to remain thread-safe when multiple concurrent // relayers are running on the same machine and accessing the same keyring // adapted from -// https://github.com/babylonchain/babylon-relayer/blob/f962d0940832a8f84f747c5d9cbc67bc1b156386/bbnrelayer/utils.go#L212 +// https://github.com/babylonlabs-io/babylon-relayer/blob/f962d0940832a8f84f747c5d9cbc67bc1b156386/bbnrelayer/utils.go#L212 func (c *Client) accessKeyWithLock(accessFunc func()) error { // use lock file to guard concurrent access to the keyring lockFilePath := path.Join(c.provider.PCfg.KeyDirectory, "keys.lock") diff --git a/client/client/keys_test.go b/client/client/keys_test.go index 5b1a716ec..4192b87ab 100644 --- a/client/client/keys_test.go +++ b/client/client/keys_test.go @@ -5,10 +5,10 @@ import ( "strings" "testing" - bbn "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/client/client" - "github.com/babylonchain/babylon/client/config" - "github.com/babylonchain/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/client/client" + "github.com/babylonlabs-io/babylon/client/config" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/stretchr/testify/require" diff --git a/client/client/tx.go b/client/client/tx.go index 4bf35f9d7..f3bac897e 100644 --- a/client/client/tx.go +++ b/client/client/tx.go @@ -9,8 +9,8 @@ import ( "cosmossdk.io/errors" txsigning "cosmossdk.io/x/tx/signing" "github.com/avast/retry-go/v4" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" abci "github.com/cometbft/cometbft/abci/types" coretypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/cosmos/cosmos-sdk/client" diff --git a/client/config/babylon_config.go b/client/config/babylon_config.go index a332e2633..680e5fb1a 100644 --- a/client/config/babylon_config.go +++ b/client/config/babylon_config.go @@ -84,7 +84,7 @@ func DefaultBabylonConfig() BabylonConfig { } // defaultBabylonHome returns the default Babylon node directory, which is $HOME/.babylond -// copied from https://github.com/babylonchain/babylon/blob/648b804bc492ded2cb826ba261d7164b4614d78a/app/app.go#L205-L210 +// copied from https://github.com/babylonlabs-io/babylon/blob/648b804bc492ded2cb826ba261d7164b4614d78a/app/app.go#L205-L210 func defaultBabylonHome() string { userHomeDir, err := os.UserHomeDir() if err != nil { diff --git a/client/config/babylon_query_config_test.go b/client/config/babylon_query_config_test.go index ba758a1ae..18c9ac2e5 100644 --- a/client/config/babylon_query_config_test.go +++ b/client/config/babylon_query_config_test.go @@ -3,7 +3,7 @@ package config_test import ( "testing" - "github.com/babylonchain/babylon/client/config" + "github.com/babylonlabs-io/babylon/client/config" "github.com/stretchr/testify/require" ) diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml index 3fa9bac6e..00e83b140 100644 --- a/client/docs/swagger-ui/swagger.yaml +++ b/client/docs/swagger-ui/swagger.yaml @@ -615,7 +615,7 @@ paths: summary: |- ContainsBytes is a temporary method that checks whether a hash is maintained by the module. - See discussion at https://github.com/babylonchain/babylon/pull/132 + See discussion at https://github.com/babylonlabs-io/babylon/pull/132 for more details. operationId: ContainsBytes responses: diff --git a/client/query/btccheckpoint.go b/client/query/btccheckpoint.go index 974dbe7ef..c5947cd68 100644 --- a/client/query/btccheckpoint.go +++ b/client/query/btccheckpoint.go @@ -3,7 +3,7 @@ package query import ( "context" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/client/query/btclightclient.go b/client/query/btclightclient.go index a20e0c19d..3c400c631 100644 --- a/client/query/btclightclient.go +++ b/client/query/btclightclient.go @@ -3,7 +3,7 @@ package query import ( "context" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" diff --git a/client/query/btcstaking.go b/client/query/btcstaking.go index 4a9b17e68..04250fd3d 100644 --- a/client/query/btcstaking.go +++ b/client/query/btcstaking.go @@ -3,7 +3,7 @@ package query import ( "context" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/client/query/checkpointing.go b/client/query/checkpointing.go index 50afba26c..58466b5bf 100644 --- a/client/query/checkpointing.go +++ b/client/query/checkpointing.go @@ -3,7 +3,7 @@ package query import ( "context" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/client/query/client.go b/client/query/client.go index 17c60e98d..4a41f4fd9 100644 --- a/client/query/client.go +++ b/client/query/client.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" - "github.com/babylonchain/babylon/client/config" + "github.com/babylonlabs-io/babylon/client/config" rpcclient "github.com/cometbft/cometbft/rpc/client" "github.com/cosmos/cosmos-sdk/client" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" diff --git a/client/query/epoching.go b/client/query/epoching.go index a94743737..ec6dc792e 100644 --- a/client/query/epoching.go +++ b/client/query/epoching.go @@ -3,7 +3,7 @@ package query import ( "context" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/client/query/finality.go b/client/query/finality.go index 554705bc5..2db05d281 100644 --- a/client/query/finality.go +++ b/client/query/finality.go @@ -3,7 +3,7 @@ package query import ( "context" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/client/query/incentive.go b/client/query/incentive.go index fe45356a1..6031578c6 100644 --- a/client/query/incentive.go +++ b/client/query/incentive.go @@ -3,7 +3,7 @@ package query import ( "context" - incentivetypes "github.com/babylonchain/babylon/x/incentive/types" + incentivetypes "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/cosmos/cosmos-sdk/client" ) diff --git a/client/query/monitor.go b/client/query/monitor.go index 3ca35f95d..d08597e51 100644 --- a/client/query/monitor.go +++ b/client/query/monitor.go @@ -3,7 +3,7 @@ package query import ( "context" - monitortypes "github.com/babylonchain/babylon/x/monitor/types" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" "github.com/cosmos/cosmos-sdk/client" ) diff --git a/client/query/zoneconcierge.go b/client/query/zoneconcierge.go index 95f3c5331..6639d5207 100644 --- a/client/query/zoneconcierge.go +++ b/client/query/zoneconcierge.go @@ -3,7 +3,7 @@ package query import ( "context" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/cmd/babylond/cmd/cmd_test.go b/cmd/babylond/cmd/cmd_test.go index f00b10994..ddebd4ac7 100644 --- a/cmd/babylond/cmd/cmd_test.go +++ b/cmd/babylond/cmd/cmd_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/cmd/babylond/cmd" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" ) diff --git a/cmd/babylond/cmd/create_bls_key.go b/cmd/babylond/cmd/create_bls_key.go index ab402874e..37e4f4be4 100644 --- a/cmd/babylond/cmd/create_bls_key.go +++ b/cmd/babylond/cmd/create_bls_key.go @@ -12,10 +12,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/app" - appparams "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" + "github.com/babylonlabs-io/babylon/app" + appparams "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" ) func CreateBlsKeyCmd() *cobra.Command { diff --git a/cmd/babylond/cmd/custom_babylon_config.go b/cmd/babylond/cmd/custom_babylon_config.go index c90ec3210..055f6069f 100644 --- a/cmd/babylond/cmd/custom_babylon_config.go +++ b/cmd/babylond/cmd/custom_babylon_config.go @@ -4,7 +4,7 @@ import ( wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" serverconfig "github.com/cosmos/cosmos-sdk/server/config" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" ) type BtcConfig struct { diff --git a/cmd/babylond/cmd/flags.go b/cmd/babylond/cmd/flags.go index 3d154b980..65713599a 100644 --- a/cmd/babylond/cmd/flags.go +++ b/cmd/babylond/cmd/flags.go @@ -10,10 +10,10 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - babylonApp "github.com/babylonchain/babylon/app" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btcltypes "github.com/babylonchain/babylon/x/btclightclient/types" - btcstypes "github.com/babylonchain/babylon/x/btcstaking/types" + babylonApp "github.com/babylonlabs-io/babylon/app" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btcltypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + btcstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) const ( diff --git a/cmd/babylond/cmd/genaccounts_test.go b/cmd/babylond/cmd/genaccounts_test.go index 0142009a1..0ea1ba566 100644 --- a/cmd/babylond/cmd/genaccounts_test.go +++ b/cmd/babylond/cmd/genaccounts_test.go @@ -3,7 +3,7 @@ package cmd_test import ( "context" "fmt" - "github.com/babylonchain/babylon/app" + "github.com/babylonlabs-io/babylon/app" "testing" "github.com/cosmos/cosmos-sdk/crypto/hd" @@ -22,7 +22,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" - bbncmd "github.com/babylonchain/babylon/cmd/babylond/cmd" + bbncmd "github.com/babylonlabs-io/babylon/cmd/babylond/cmd" ) var testMbm = module.NewBasicManager(genutil.AppModuleBasic{}) diff --git a/cmd/babylond/cmd/genesis.go b/cmd/babylond/cmd/genesis.go index 8d7d6cb93..23a6d7dad 100644 --- a/cmd/babylond/cmd/genesis.go +++ b/cmd/babylond/cmd/genesis.go @@ -7,8 +7,8 @@ import ( sdkmath "cosmossdk.io/math" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" comettypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" @@ -29,12 +29,12 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" - appparams "github.com/babylonchain/babylon/app/params" - bbn "github.com/babylonchain/babylon/types" - btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + appparams "github.com/babylonlabs-io/babylon/app/params" + bbn "github.com/babylonlabs-io/babylon/types" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) func PrepareGenesisCmd(defaultNodeHome string, mbm module.BasicManager) *cobra.Command { diff --git a/cmd/babylond/cmd/genhelpers/bls_add.go b/cmd/babylond/cmd/genhelpers/bls_add.go index 8cae9f906..c8ca06a36 100644 --- a/cmd/babylond/cmd/genhelpers/bls_add.go +++ b/cmd/babylond/cmd/genhelpers/bls_add.go @@ -13,7 +13,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // CmdAddBls CLI adds the BLS key file with proof of possession into the genesis state. diff --git a/cmd/babylond/cmd/genhelpers/bls_add_test.go b/cmd/babylond/cmd/genhelpers/bls_add_test.go index ce5e42545..949b5dd14 100644 --- a/cmd/babylond/cmd/genhelpers/bls_add_test.go +++ b/cmd/babylond/cmd/genhelpers/bls_add_test.go @@ -30,12 +30,12 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/cmd/babylond/cmd/genhelpers" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/testutil/cli" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd/genhelpers" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/testutil/cli" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) func newConfig() depinject.Config { diff --git a/cmd/babylond/cmd/genhelpers/bls_create.go b/cmd/babylond/cmd/genhelpers/bls_create.go index 5c041d738..ac1ab7882 100644 --- a/cmd/babylond/cmd/genhelpers/bls_create.go +++ b/cmd/babylond/cmd/genhelpers/bls_create.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/privval" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/privval" ) // CmdCreateBls CLI command to create BLS file with proof of possession. diff --git a/cmd/babylond/cmd/genhelpers/bls_create_test.go b/cmd/babylond/cmd/genhelpers/bls_create_test.go index 259709372..c036794ac 100644 --- a/cmd/babylond/cmd/genhelpers/bls_create_test.go +++ b/cmd/babylond/cmd/genhelpers/bls_create_test.go @@ -22,10 +22,10 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/cmd/babylond/cmd/genhelpers" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd/genhelpers" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) func Test_CmdCreateBls(t *testing.T) { diff --git a/cmd/babylond/cmd/genhelpers/set_btc_delegations.go b/cmd/babylond/cmd/genhelpers/set_btc_delegations.go index 15427d573..c4b1f2e28 100644 --- a/cmd/babylond/cmd/genhelpers/set_btc_delegations.go +++ b/cmd/babylond/cmd/genhelpers/set_btc_delegations.go @@ -3,7 +3,7 @@ package genhelpers import ( "fmt" - btcstktypes "github.com/babylonchain/babylon/x/btcstaking/types" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/x/genutil" diff --git a/cmd/babylond/cmd/genhelpers/set_btc_delegations_test.go b/cmd/babylond/cmd/genhelpers/set_btc_delegations_test.go index a12401389..ccaa5a4bd 100644 --- a/cmd/babylond/cmd/genhelpers/set_btc_delegations_test.go +++ b/cmd/babylond/cmd/genhelpers/set_btc_delegations_test.go @@ -9,12 +9,12 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/cmd/babylond/cmd/genhelpers" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/testutil/helper" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btcstktypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd/genhelpers" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/helper" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/chaincfg" "github.com/cosmos/cosmos-sdk/client" genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" diff --git a/cmd/babylond/cmd/genhelpers/set_btc_headers.go b/cmd/babylond/cmd/genhelpers/set_btc_headers.go index 63014c88a..db30b2f04 100644 --- a/cmd/babylond/cmd/genhelpers/set_btc_headers.go +++ b/cmd/babylond/cmd/genhelpers/set_btc_headers.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - btclighttypes "github.com/babylonchain/babylon/x/btclightclient/types" + btclighttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/spf13/cobra" ) diff --git a/cmd/babylond/cmd/genhelpers/set_btc_headers_test.go b/cmd/babylond/cmd/genhelpers/set_btc_headers_test.go index 3659ec232..023c87553 100644 --- a/cmd/babylond/cmd/genhelpers/set_btc_headers_test.go +++ b/cmd/babylond/cmd/genhelpers/set_btc_headers_test.go @@ -8,10 +8,10 @@ import ( "path/filepath" "testing" - "github.com/babylonchain/babylon/cmd/babylond/cmd/genhelpers" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/testutil/helper" - btclighttypes "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd/genhelpers" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/helper" + btclighttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/client" genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" diff --git a/cmd/babylond/cmd/genhelpers/set_finality_providers.go b/cmd/babylond/cmd/genhelpers/set_finality_providers.go index 5298130c2..b5a8cf40f 100644 --- a/cmd/babylond/cmd/genhelpers/set_finality_providers.go +++ b/cmd/babylond/cmd/genhelpers/set_finality_providers.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - btcstktypes "github.com/babylonchain/babylon/x/btcstaking/types" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" cmtos "github.com/cometbft/cometbft/libs/os" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/cmd/babylond/cmd/genhelpers/set_finality_providers_test.go b/cmd/babylond/cmd/genhelpers/set_finality_providers_test.go index d3a97909a..bd3776a78 100644 --- a/cmd/babylond/cmd/genhelpers/set_finality_providers_test.go +++ b/cmd/babylond/cmd/genhelpers/set_finality_providers_test.go @@ -8,10 +8,10 @@ import ( "path/filepath" "testing" - "github.com/babylonchain/babylon/cmd/babylond/cmd/genhelpers" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/testutil/helper" - btcstktypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd/genhelpers" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/helper" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cometbft/cometbft/libs/tempfile" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/cmd/babylond/cmd/root.go b/cmd/babylond/cmd/root.go index bab90741e..efc9304c1 100644 --- a/cmd/babylond/cmd/root.go +++ b/cmd/babylond/cmd/root.go @@ -8,7 +8,7 @@ import ( confixcmd "cosmossdk.io/tools/confix/cmd" "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - appkeepers "github.com/babylonchain/babylon/app/keepers" + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" cmtcfg "github.com/cometbft/cometbft/config" cmtcli "github.com/cometbft/cometbft/libs/cli" dbm "github.com/cosmos/cosmos-db" @@ -40,9 +40,9 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/cmd/babylond/cmd/genhelpers" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd/genhelpers" ) // NewRootCmd creates a new root command for babylond. It is called once in the diff --git a/cmd/babylond/cmd/testnet.go b/cmd/babylond/cmd/testnet.go index 8ac343ea6..aff015cb5 100644 --- a/cmd/babylond/cmd/testnet.go +++ b/cmd/babylond/cmd/testnet.go @@ -11,7 +11,7 @@ import ( "time" "cosmossdk.io/math" - appkeepers "github.com/babylonchain/babylon/app/keepers" + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" cmtconfig "github.com/cometbft/cometbft/config" cmtos "github.com/cometbft/cometbft/libs/os" cmttime "github.com/cometbft/cometbft/types/time" @@ -36,11 +36,11 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" - appparams "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + appparams "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) var ( diff --git a/cmd/babylond/cmd/testnet_test.go b/cmd/babylond/cmd/testnet_test.go index 551f0326d..f379b1357 100644 --- a/cmd/babylond/cmd/testnet_test.go +++ b/cmd/babylond/cmd/testnet_test.go @@ -17,7 +17,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" + "github.com/babylonlabs-io/babylon/app" ) func Test_TestnetCmd(t *testing.T) { diff --git a/cmd/babylond/cmd/validate_genesis.go b/cmd/babylond/cmd/validate_genesis.go index 61fba3f17..f9ba0c0fc 100644 --- a/cmd/babylond/cmd/validate_genesis.go +++ b/cmd/babylond/cmd/validate_genesis.go @@ -13,7 +13,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) const chainUpgradeGuide = "https://github.com/cosmos/cosmos-sdk/blob/a51aa517c46c70df04a06f586c67fb765e45322a/UPGRADING.md" diff --git a/cmd/babylond/cmd/validate_genesis_test.go b/cmd/babylond/cmd/validate_genesis_test.go index 017f50b7e..1248d596d 100644 --- a/cmd/babylond/cmd/validate_genesis_test.go +++ b/cmd/babylond/cmd/validate_genesis_test.go @@ -8,7 +8,7 @@ import ( dbm "github.com/cosmos/cosmos-db" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/x/genutil" "github.com/spf13/viper" @@ -22,8 +22,8 @@ import ( genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/cmd/babylond/cmd" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd" ) func TestCheckCorrespondence(t *testing.T) { diff --git a/cmd/babylond/main.go b/cmd/babylond/main.go index 338f0cb45..7b323f60d 100644 --- a/cmd/babylond/main.go +++ b/cmd/babylond/main.go @@ -4,11 +4,11 @@ import ( "cosmossdk.io/log" "os" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/cmd/babylond/cmd" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/babylonchain/babylon/app/params" + "github.com/babylonlabs-io/babylon/app/params" ) func main() { diff --git a/contrib/images/Makefile b/contrib/images/Makefile index 3b9d0818e..67e2fc470 100644 --- a/contrib/images/Makefile +++ b/contrib/images/Makefile @@ -3,18 +3,18 @@ RELAYER_TAG := $(shell grep '^ENV RELAYER_TAG' cosmos-relayer/Dockerfile | cut - all: babylond cosmos-relayer babylond: babylond-rmi - docker build --tag babylonchain/babylond -f babylond/Dockerfile \ + docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile \ $(shell git rev-parse --show-toplevel) babylond-rmi: - docker rmi babylonchain/babylond 2>/dev/null; true + docker rmi babylonlabs-io/babylond 2>/dev/null; true cosmos-relayer: cosmos-relayer-rmi - docker build --tag babylonchain/cosmos-relayer:${RELAYER_TAG} -f cosmos-relayer/Dockerfile \ + docker build --tag babylonlabs-io/cosmos-relayer:${RELAYER_TAG} -f cosmos-relayer/Dockerfile \ $(shell git rev-parse --show-toplevel)/contrib/images/cosmos-relayer - docker tag babylonchain/cosmos-relayer:${RELAYER_TAG} babylonchain/cosmos-relayer:latest + docker tag babylonlabs-io/cosmos-relayer:${RELAYER_TAG} babylonlabs-io/cosmos-relayer:latest cosmos-relayer-rmi: - docker rmi babylonchain/cosmos-relayer 2>/dev/null; true + docker rmi babylonlabs-io/cosmos-relayer 2>/dev/null; true .PHONY: all babylond cosmos-relayer babylond-rmi cosmos-relayer-rmi diff --git a/contrib/images/babylond/Dockerfile b/contrib/images/babylond/Dockerfile index 2e8add214..d4e8957fb 100644 --- a/contrib/images/babylond/Dockerfile +++ b/contrib/images/babylond/Dockerfile @@ -15,12 +15,12 @@ ARG COSMOS_BUILD_OPTIONS="" RUN apt-get update && apt-get install -y make git bash gcc curl jq # Build -WORKDIR /go/src/github.com/babylonchain/babylon +WORKDIR /go/src/github.com/babylonlabs-io/babylon # First cache dependencies -COPY go.mod go.sum /go/src/github.com/babylonchain/babylon/ +COPY go.mod go.sum /go/src/github.com/babylonlabs-io/babylon/ RUN go mod download # Then copy everything else -COPY ./ /go/src/github.com/babylonchain/babylon/ +COPY ./ /go/src/github.com/babylonlabs-io/babylon/ # If version is set, then checkout this version RUN if [ -n "${VERSION}" ]; then \ git checkout -f ${VERSION}; \ @@ -38,11 +38,11 @@ RUN addgroup --gid 1137 --system babylon && adduser --uid 1137 --gid 1137 --syst RUN apt-get update && apt-get install -y bash curl jq wget # Label should match your github repo -LABEL org.opencontainers.image.source="https://github.com/babylonchain/babylond:${VERSION}" +LABEL org.opencontainers.image.source="https://github.com/babylonlabs-io/babylond:${VERSION}" # Install libraries # Cosmwasm - Download correct libwasmvm version -COPY --from=build-env /go/src/github.com/babylonchain/babylon/go.mod /tmp +COPY --from=build-env /go/src/github.com/babylonlabs-io/babylon/go.mod /tmp RUN WASMVM_VERSION=$(grep github.com/CosmWasm/wasmvm /tmp/go.mod | cut -d' ' -f2) && \ wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/libwasmvm.$(uname -m).so \ -O /lib/libwasmvm.$(uname -m).so && \ @@ -51,7 +51,7 @@ RUN WASMVM_VERSION=$(grep github.com/CosmWasm/wasmvm /tmp/go.mod | cut -d' ' -f2 sha256sum /lib/libwasmvm.$(uname -m).so | grep $(cat /tmp/checksums.txt | grep libwasmvm.$(uname -m) | cut -d ' ' -f 1) RUN rm -f /tmp/go.mod -COPY --from=build-env /go/src/github.com/babylonchain/babylon/build/babylond /bin/babylond +COPY --from=build-env /go/src/github.com/babylonlabs-io/babylon/build/babylond /bin/babylond # Set home directory and user WORKDIR /home/babylon diff --git a/crypto/bip322/bip322_test.go b/crypto/bip322/bip322_test.go index 22b4f5a13..bbf4d3697 100644 --- a/crypto/bip322/bip322_test.go +++ b/crypto/bip322/bip322_test.go @@ -6,8 +6,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/crypto/bip322" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/crypto/bip322" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" diff --git a/crypto/ecdsa/ecdsa_test.go b/crypto/ecdsa/ecdsa_test.go index 836e49f8a..473eee42c 100644 --- a/crypto/ecdsa/ecdsa_test.go +++ b/crypto/ecdsa/ecdsa_test.go @@ -6,7 +6,7 @@ import ( "encoding/hex" "testing" - "github.com/babylonchain/babylon/crypto/ecdsa" + "github.com/babylonlabs-io/babylon/crypto/ecdsa" "github.com/btcsuite/btcd/btcec/v2" "github.com/stretchr/testify/require" ) diff --git a/crypto/eots/eots_test.go b/crypto/eots/eots_test.go index 91865b4d0..4ff6ab156 100644 --- a/crypto/eots/eots_test.go +++ b/crypto/eots/eots_test.go @@ -6,8 +6,8 @@ import ( mathrand "math/rand" "testing" - "github.com/babylonchain/babylon/crypto/eots" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/decred/dcrd/dcrec/secp256k1/v4" "github.com/stretchr/testify/require" "github.com/vulpine-io/io-test/v1/pkg/iotest" diff --git a/crypto/eots/examples/btc-testnet-txs/main.go b/crypto/eots/examples/btc-testnet-txs/main.go index 4ee467e62..766da8d01 100644 --- a/crypto/eots/examples/btc-testnet-txs/main.go +++ b/crypto/eots/examples/btc-testnet-txs/main.go @@ -8,7 +8,7 @@ import ( "fmt" "os" - "github.com/babylonchain/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/crypto/eots" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/crypto/schnorr-adaptor-signature/keys_test.go b/crypto/schnorr-adaptor-signature/keys_test.go index dcc1bcdf8..92b8aee7b 100644 --- a/crypto/schnorr-adaptor-signature/keys_test.go +++ b/crypto/schnorr-adaptor-signature/keys_test.go @@ -3,7 +3,7 @@ package schnorr_adaptor_signature_test import ( "testing" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" "github.com/stretchr/testify/require" ) diff --git a/crypto/schnorr-adaptor-signature/sig_test.go b/crypto/schnorr-adaptor-signature/sig_test.go index 34ee6cd49..83cb49eba 100644 --- a/crypto/schnorr-adaptor-signature/sig_test.go +++ b/crypto/schnorr-adaptor-signature/sig_test.go @@ -7,7 +7,7 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/stretchr/testify/require" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" ) func FuzzEncSignAndEncVerify(f *testing.F) { diff --git a/docker-compose.yml b/docker-compose.yml index 8b40cf1fa..b92576e3f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: "3" services: babylondnode0: container_name: babylondnode0 - image: "babylonchain/babylond" + image: "babylonlabs-io/babylond" command: > babylond --home /babylondhome start --log_format 'plain' 2>&1 | tee /babylondhome/babylond.log cap_add: @@ -23,7 +23,7 @@ services: babylondnode1: container_name: babylondnode1 - image: "babylonchain/babylond" + image: "babylonlabs-io/babylond" command: > babylond --home /babylondhome start --log_format 'plain' 2>&1 | tee /babylondhome/babylond.log cap_add: @@ -43,7 +43,7 @@ services: babylondnode2: container_name: babylondnode2 - image: "babylonchain/babylond" + image: "babylonlabs-io/babylond" environment: - LOG=${LOG:-babylond.log} command: > @@ -65,7 +65,7 @@ services: babylondnode3: container_name: babylondnode3 - image: "babylonchain/babylond" + image: "babylonlabs-io/babylond" environment: - LOG=${LOG:-babylond.log} command: > diff --git a/docs/architecture.md b/docs/architecture.md index 329e8ec01..ca2f56160 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -210,14 +210,14 @@ this function. Most notably: - [Cosmos Relayer](https://github.com/cosmos/relayer): A fully functional relayer written in Go. -- [Babylon Relayer](https://github.com/babylonchain/babylon-relayer/): +- [Babylon Relayer](https://github.com/babylonlabs-io/babylon-relayer/): A wrapper of the Cosmos Relayer that can maintain a one-way IBC connection. It is recommended to be used when the Consumer Zone does not deploy the Babylon smart contract. - [Hermes Relayer](https://github.com/informalsystems/hermes): A fully functional relayer written in Rust. -### [Babylon Contract](https://github.com/babylonchain/babylon-contract) +### [Babylon Contract](https://github.com/babylonlabs-io/babylon-contract) A [CosmWasm](https://cosmwasm.com/) smart contract intended for deployment in a Consumer Zone. diff --git a/docs/transaction-impl-spec.md b/docs/transaction-impl-spec.md index 4cf55e823..d21a45caf 100644 --- a/docs/transaction-impl-spec.md +++ b/docs/transaction-impl-spec.md @@ -259,7 +259,7 @@ timelock script, the following function could be implemented ```go import ( // Babylon btc staking library - "github.com/babylonchain/babylon/btcstaking" + "github.com/babylonlabs-io/babylon/btcstaking" ) func buildTimelockScriptAndControlBlock( diff --git a/go.mod b/go.mod index 98badadb7..e8ba3e373 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ go 1.21 -module github.com/babylonchain/babylon +module github.com/babylonlabs-io/babylon require ( github.com/CosmWasm/wasmd v0.51.0 diff --git a/privval/file.go b/privval/file.go index 691038593..ebfac1314 100644 --- a/privval/file.go +++ b/privval/file.go @@ -17,8 +17,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/crypto/bls12381" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // copied from github.com/cometbft/cometbft/privval/file.go" diff --git a/privval/types.go b/privval/types.go index 17ed68fcf..be2a302f4 100644 --- a/privval/types.go +++ b/privval/types.go @@ -5,8 +5,8 @@ import ( cmtcrypto "github.com/cometbft/cometbft/crypto" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) type ValidatorKeys struct { diff --git a/proto/babylon/btccheckpoint/v1/btccheckpoint.proto b/proto/babylon/btccheckpoint/v1/btccheckpoint.proto index 8bfef61d6..70b3b5aeb 100644 --- a/proto/babylon/btccheckpoint/v1/btccheckpoint.proto +++ b/proto/babylon/btccheckpoint/v1/btccheckpoint.proto @@ -3,7 +3,7 @@ package babylon.btccheckpoint.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/btccheckpoint/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btccheckpoint/types"; // Consider we have a Merkle tree with following structure: // ROOT @@ -36,7 +36,7 @@ message BTCSpvProof { // Should have exactly 80 bytes bytes confirming_btc_header = 4 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" ]; } // Each provided OP_RETURN transaction can be identified by hash of block in @@ -45,7 +45,7 @@ message TransactionKey { uint32 index = 1; bytes hash = 2 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderHashBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" ]; } // Checkpoint can be composed from multiple transactions, so to identify whole @@ -143,7 +143,7 @@ message BTCCheckpointInfo { // youngest block of best submission bytes best_submission_btc_block_hash = 3 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderHashBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" ]; // the BTC checkpoint transactions of the best submission repeated TransactionInfo best_submission_transactions = 4; // list of vigilantes' addresses of the best submission diff --git a/proto/babylon/btccheckpoint/v1/genesis.proto b/proto/babylon/btccheckpoint/v1/genesis.proto index 49097c360..4d1187126 100644 --- a/proto/babylon/btccheckpoint/v1/genesis.proto +++ b/proto/babylon/btccheckpoint/v1/genesis.proto @@ -4,7 +4,7 @@ package babylon.btccheckpoint.v1; import "gogoproto/gogo.proto"; import "babylon/btccheckpoint/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/btccheckpoint/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btccheckpoint/types"; // GenesisState defines the btccheckpoint module's genesis state. message GenesisState { Params params = 1 [ (gogoproto.nullable) = false ]; } diff --git a/proto/babylon/btccheckpoint/v1/params.proto b/proto/babylon/btccheckpoint/v1/params.proto index 20ed5e6ee..3315aa03d 100644 --- a/proto/babylon/btccheckpoint/v1/params.proto +++ b/proto/babylon/btccheckpoint/v1/params.proto @@ -3,7 +3,7 @@ package babylon.btccheckpoint.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/btccheckpoint/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btccheckpoint/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/babylon/btccheckpoint/v1/query.proto b/proto/babylon/btccheckpoint/v1/query.proto index 9fc55b2c8..d7ee344ef 100644 --- a/proto/babylon/btccheckpoint/v1/query.proto +++ b/proto/babylon/btccheckpoint/v1/query.proto @@ -7,7 +7,7 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "babylon/btccheckpoint/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/btccheckpoint/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btccheckpoint/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/babylon/btccheckpoint/v1/tx.proto b/proto/babylon/btccheckpoint/v1/tx.proto index 38fb5a173..9664ea79c 100644 --- a/proto/babylon/btccheckpoint/v1/tx.proto +++ b/proto/babylon/btccheckpoint/v1/tx.proto @@ -7,7 +7,7 @@ import "cosmos/msg/v1/msg.proto"; import "babylon/btccheckpoint/v1/params.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/btccheckpoint/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btccheckpoint/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/babylon/btclightclient/v1/btclightclient.proto b/proto/babylon/btclightclient/v1/btclightclient.proto index f5300706c..d38314f3d 100644 --- a/proto/babylon/btclightclient/v1/btclightclient.proto +++ b/proto/babylon/btclightclient/v1/btclightclient.proto @@ -3,7 +3,7 @@ package babylon.btclightclient.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/btclightclient/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btclightclient/types"; // BTCHeaderInfo is a structure that contains all relevant information about a // BTC header @@ -16,10 +16,10 @@ option go_package = "github.com/babylonchain/babylon/x/btclightclient/types"; message BTCHeaderInfo { bytes header = 1 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" ]; bytes hash = 2 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderHashBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" ]; uint64 height = 3; bytes work = 4 [ (gogoproto.customtype) = "cosmossdk.io/math.Uint" ]; diff --git a/proto/babylon/btclightclient/v1/event.proto b/proto/babylon/btclightclient/v1/event.proto index 4b1a3a0af..4e29ad384 100644 --- a/proto/babylon/btclightclient/v1/event.proto +++ b/proto/babylon/btclightclient/v1/event.proto @@ -3,7 +3,7 @@ package babylon.btclightclient.v1; import "babylon/btclightclient/v1/btclightclient.proto"; -option go_package = "github.com/babylonchain/babylon/x/btclightclient/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btclightclient/types"; // The header included in the event is the block in the history // of the current mainchain to which we are rolling back to. diff --git a/proto/babylon/btclightclient/v1/genesis.proto b/proto/babylon/btclightclient/v1/genesis.proto index 4d747e3f7..2ed0d830b 100644 --- a/proto/babylon/btclightclient/v1/genesis.proto +++ b/proto/babylon/btclightclient/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "babylon/btclightclient/v1/btclightclient.proto"; import "babylon/btclightclient/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/btclightclient/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btclightclient/types"; // GenesisState defines the btclightclient module's genesis state. message GenesisState { diff --git a/proto/babylon/btclightclient/v1/params.proto b/proto/babylon/btclightclient/v1/params.proto index ea0f0c709..7ca7c5757 100644 --- a/proto/babylon/btclightclient/v1/params.proto +++ b/proto/babylon/btclightclient/v1/params.proto @@ -4,7 +4,7 @@ package babylon.btclightclient.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/btclightclient/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btclightclient/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/babylon/btclightclient/v1/query.proto b/proto/babylon/btclightclient/v1/query.proto index 60ae07cc2..51ea46cf1 100644 --- a/proto/babylon/btclightclient/v1/query.proto +++ b/proto/babylon/btclightclient/v1/query.proto @@ -7,7 +7,7 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "babylon/btclightclient/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/btclightclient/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btclightclient/types"; // Query defines the gRPC querier service. service Query { @@ -28,7 +28,7 @@ service Query { // ContainsBytes is a temporary method that // checks whether a hash is maintained by the module. - // See discussion at https://github.com/babylonchain/babylon/pull/132 + // See discussion at https://github.com/babylonlabs-io/babylon/pull/132 // for more details. rpc ContainsBytes(QueryContainsBytesRequest) returns (QueryContainsBytesResponse) { @@ -77,7 +77,7 @@ message QueryHashesRequest { message QueryHashesResponse { repeated bytes hashes = 1 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderHashBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" ]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -86,7 +86,7 @@ message QueryHashesResponse { message QueryContainsRequest { bytes hash = 1 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderHashBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" ]; } // QueryContainsResponse is response type for the Query/Contains RPC method. diff --git a/proto/babylon/btclightclient/v1/tx.proto b/proto/babylon/btclightclient/v1/tx.proto index 1c884ba87..421508712 100644 --- a/proto/babylon/btclightclient/v1/tx.proto +++ b/proto/babylon/btclightclient/v1/tx.proto @@ -6,7 +6,7 @@ import "cosmos/msg/v1/msg.proto"; import "babylon/btclightclient/v1/params.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/babylonchain/babylon/x/btclightclient/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btclightclient/types"; // Msg defines the Msg service. service Msg { @@ -26,7 +26,7 @@ message MsgInsertHeaders { string signer = 1; repeated bytes headers = 2 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" ]; } // MsgInsertHeadersResponse defines the response for the InsertHeaders transaction message MsgInsertHeadersResponse {} diff --git a/proto/babylon/btcstaking/v1/btcstaking.proto b/proto/babylon/btcstaking/v1/btcstaking.proto index e8fcc14de..183694036 100644 --- a/proto/babylon/btcstaking/v1/btcstaking.proto +++ b/proto/babylon/btcstaking/v1/btcstaking.proto @@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto"; import "cosmos/staking/v1beta1/staking.proto"; import "babylon/btcstaking/v1/pop.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // FinalityProvider defines a finality provider message FinalityProvider { @@ -21,7 +21,7 @@ message FinalityProvider { ]; // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of the btc_pk, where the BTC // private key signs the bech32 bbn addr of the finality provider. ProofOfPossessionBTC pop = 5; @@ -41,7 +41,7 @@ message FinalityProvider { message FinalityProviderWithMeta { // btc_pk is the Bitcoin secp256k1 PK of thisfinality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // height is the queried Babylon height uint64 height = 2; // voting_power is the voting power of this finality provider at the given height @@ -64,14 +64,14 @@ message BTCDelegation { string staker_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // btc_pk is the Bitcoin secp256k1 PK of this BTC delegation // the PK follows encoding in BIP-340 spec - bytes btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of babylon_pk and btc_pk ProofOfPossessionBTC pop = 3; // fp_btc_pk_list is the list of BIP-340 PKs of the finality providers that // this BTC delegation delegates to // If there is more than 1 PKs, then this means the delegation is restaked // to multiple finality providers - repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // start_height is the start BTC height of the BTC delegation // it is the start BTC height of the timelock uint64 start_height = 5; @@ -92,7 +92,7 @@ message BTCDelegation { // delegator_sig is the signature on the slashing tx // by the delegator (i.e., SK corresponding to btc_pk). // It will be a part of the witness for the staking tx output. - bytes delegator_sig = 11 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_sig = 11 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // covenant_sigs is a list of adaptor signatures on the slashing tx // by each covenant member // It will be a part of the witness for the staking tx output. @@ -121,11 +121,11 @@ message BTCUndelegation { // It effectively proves that the delegator wants to unbond and thus // Babylon will consider this BTC delegation unbonded. Delegator's BTC // on Bitcoin will be unbonded after timelock - bytes delegator_unbonding_sig = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_unbonding_sig = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // delegator_slashing_sig is the signature on the slashing tx // by the delegator (i.e., SK corresponding to btc_pk). // It will be a part of the witness for the unbonding tx output. - bytes delegator_slashing_sig = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_slashing_sig = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // covenant_slashing_sigs is a list of adaptor signatures on the slashing tx // by each covenant member // It will be a part of the witness for the staking tx output. @@ -165,15 +165,15 @@ enum BTCDelegationStatus { // SignatureInfo is a BIP-340 signature together with its signer's BIP-340 PK message SignatureInfo { - bytes pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; - bytes sig = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; + bytes sig = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; } // CovenantAdaptorSignatures is a list adaptor signatures signed by the // covenant with different finality provider's public keys as encryption keys message CovenantAdaptorSignatures { // cov_pk is the public key of the covenant emulator, used as the public key of the adaptor signature - bytes cov_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes cov_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // adaptor_sigs is a list of adaptor signatures, each encrypted by a restaked BTC finality provider's public key repeated bytes adaptor_sigs = 2; } @@ -190,7 +190,7 @@ message SelectiveSlashingEvidence { string staking_tx_hash = 1; // fp_btc_pk is the BTC PK of the finality provider who // launches the selective slashing offence - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // recovered_fp_btc_sk is the finality provider's BTC SK recovered from // the covenant adaptor/Schnorr signature pair. It is the consequence // of selective slashing. diff --git a/proto/babylon/btcstaking/v1/events.proto b/proto/babylon/btcstaking/v1/events.proto index 1de3137a6..a8d4fb3e4 100644 --- a/proto/babylon/btcstaking/v1/events.proto +++ b/proto/babylon/btcstaking/v1/events.proto @@ -4,7 +4,7 @@ package babylon.btcstaking.v1; import "gogoproto/gogo.proto"; import "babylon/btcstaking/v1/btcstaking.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // EventNewFinalityProvider is the event emitted when a finality provider is created message EventNewFinalityProvider { FinalityProvider fp = 1; } @@ -37,7 +37,7 @@ message EventPowerDistUpdate { // is slashed // TODO: unify with existing slashing events message EventSlashedFinalityProvider { - bytes pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; } // ev is the event that affects voting power distribution diff --git a/proto/babylon/btcstaking/v1/genesis.proto b/proto/babylon/btcstaking/v1/genesis.proto index bc8529454..2e5d5966e 100644 --- a/proto/babylon/btcstaking/v1/genesis.proto +++ b/proto/babylon/btcstaking/v1/genesis.proto @@ -7,7 +7,7 @@ import "babylon/btcstaking/v1/btcstaking.proto"; import "babylon/btcstaking/v1/incentive.proto"; import "babylon/btcstaking/v1/events.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // GenesisState defines the btcstaking module's genesis state. message GenesisState { @@ -36,7 +36,7 @@ message VotingPowerFP { // block_height is the height of the block the voting power was stored. uint64 block_height = 1; // fp_btc_pk the finality provider btc public key. - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // voting_power is the power of the finality provider at this specific block height. uint64 voting_power = 3; } @@ -62,9 +62,9 @@ message BTCDelegator { // idx the btc delegator index. BTCDelegatorDelegationIndex idx = 1; // fp_btc_pk the finality provider btc public key. - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // del_btc_pk the delegator btc public key. - bytes del_btc_pk = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes del_btc_pk = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; } // EventIndex contains the event and its index. diff --git a/proto/babylon/btcstaking/v1/incentive.proto b/proto/babylon/btcstaking/v1/incentive.proto index 8072a5d44..7dcde01f8 100644 --- a/proto/babylon/btcstaking/v1/incentive.proto +++ b/proto/babylon/btcstaking/v1/incentive.proto @@ -4,7 +4,7 @@ package babylon.btcstaking.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // VotingPowerDistCache is the cache for voting power distribution of finality providers // and their BTC delegations at a height @@ -18,7 +18,7 @@ message VotingPowerDistCache { message FinalityProviderDistInfo { // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // addr is the address to receive commission from delegations. string addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // commission defines the commission rate of finality provider @@ -36,7 +36,7 @@ message FinalityProviderDistInfo { message BTCDelDistInfo { // btc_pk is the Bitcoin secp256k1 PK of this BTC delegation // the PK follows encoding in BIP-340 spec - bytes btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // staker_addr is the address to receive rewards from BTC delegation. string staker_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // staking_tx_hash is the staking tx hash of the BTC delegation diff --git a/proto/babylon/btcstaking/v1/params.proto b/proto/babylon/btcstaking/v1/params.proto index d705a3c1f..5746ffb25 100644 --- a/proto/babylon/btcstaking/v1/params.proto +++ b/proto/babylon/btcstaking/v1/params.proto @@ -4,7 +4,7 @@ package babylon.btcstaking.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // Params defines the parameters for the module. message Params { @@ -12,7 +12,7 @@ message Params { // covenant_pks is the list of public keys held by the covenant committee // each PK follows encoding in BIP-340 spec on Bitcoin - repeated bytes covenant_pks = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes covenant_pks = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // covenant_quorum is the minimum number of signatures needed for the covenant // multisignature uint32 covenant_quorum = 2; diff --git a/proto/babylon/btcstaking/v1/pop.proto b/proto/babylon/btcstaking/v1/pop.proto index 4762d3c12..316bb1df7 100644 --- a/proto/babylon/btcstaking/v1/pop.proto +++ b/proto/babylon/btcstaking/v1/pop.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package babylon.btcstaking.v1; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // BTCSigType indicates the type of btc_sig in a pop enum BTCSigType { diff --git a/proto/babylon/btcstaking/v1/query.proto b/proto/babylon/btcstaking/v1/query.proto index 5b4417568..3f9aabe51 100644 --- a/proto/babylon/btcstaking/v1/query.proto +++ b/proto/babylon/btcstaking/v1/query.proto @@ -10,7 +10,7 @@ import "babylon/btcstaking/v1/params.proto"; import "babylon/btcstaking/v1/btcstaking.proto"; import "babylon/btcstaking/v1/pop.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // Query defines the gRPC querier service. service Query { @@ -247,10 +247,10 @@ message BTCDelegationResponse { string staker_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // btc_pk is the Bitcoin secp256k1 PK of this BTC delegation // the PK follows encoding in BIP-340 spec - bytes btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // fp_btc_pk_list is the list of BIP-340 PKs of the finality providers that // this BTC delegation delegates to - repeated bytes fp_btc_pk_list = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes fp_btc_pk_list = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // start_height is the start BTC height of the BTC delegation // it is the start BTC height of the timelock uint64 start_height = 4; @@ -333,7 +333,7 @@ message FinalityProviderResponse { string addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of the BTC_PK by the fp addr. // Essentially is the signature where the BTC SK sigs the fp addr. ProofOfPossessionBTC pop = 5; diff --git a/proto/babylon/btcstaking/v1/tx.proto b/proto/babylon/btcstaking/v1/tx.proto index e2cdcbf6b..61500d480 100644 --- a/proto/babylon/btcstaking/v1/tx.proto +++ b/proto/babylon/btcstaking/v1/tx.proto @@ -9,7 +9,7 @@ import "babylon/btccheckpoint/v1/btccheckpoint.proto"; import "cosmos/staking/v1beta1/staking.proto"; import "babylon/btcstaking/v1/pop.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // Msg defines the Msg service. // TODO: handle unbonding tx with full witness @@ -48,7 +48,7 @@ message MsgCreateFinalityProvider { ]; // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of btc_pk over the FP signer address. ProofOfPossessionBTC pop = 5; } @@ -82,10 +82,10 @@ message MsgCreateBTCDelegation { // pop is the proof of possession of btc_pk by the staker_addr. ProofOfPossessionBTC pop = 2; // btc_pk is the Bitcoin secp256k1 PK of the BTC delegator - bytes btc_pk = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // fp_btc_pk_list is the list of Bitcoin secp256k1 PKs of the finality providers, if there is more than one // finality provider pk it means that delegation is re-staked - repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // staking_time is the time lock used in staking transaction uint32 staking_time = 5; // staking_value is the amount of satoshis locked in staking output @@ -99,7 +99,7 @@ message MsgCreateBTCDelegation { // It will be a part of the witness for the staking tx output. // The staking tx output further needs signatures from covenant and finality provider in // order to be spendable. - bytes delegator_slashing_sig = 9 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_slashing_sig = 9 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // unbonding_time is the time lock used when funds are being unbonded. It is be used in: // - unbonding transaction, time lock spending path // - staking slashing transaction, change output @@ -117,7 +117,7 @@ message MsgCreateBTCDelegation { // Note that the tx itself does not contain signatures, which are off-chain. bytes unbonding_slashing_tx = 13 [ (gogoproto.customtype) = "BTCSlashingTx" ]; // delegator_unbonding_slashing_sig is the signature on the slashing tx by the delegator (i.e., SK corresponding to btc_pk). - bytes delegator_unbonding_slashing_sig = 14 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_unbonding_slashing_sig = 14 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; } // MsgCreateBTCDelegationResponse is the response for MsgCreateBTCDelegation message MsgCreateBTCDelegationResponse {} @@ -128,7 +128,7 @@ message MsgAddCovenantSigs { string signer = 1; // pk is the BTC public key of the covenant member - bytes pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // staking_tx_hash is the hash of the staking tx. // It uniquely identifies a BTC delegation string staking_tx_hash = 3; @@ -138,7 +138,7 @@ message MsgAddCovenantSigs { repeated bytes slashing_tx_sigs = 4; // unbonding_tx_sig is the signature of the covenant on the unbonding tx submitted to babylon // the signature follows encoding in BIP-340 spec - bytes unbonding_tx_sig = 5 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes unbonding_tx_sig = 5 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // slashing_unbonding_tx_sigs is a list of adaptor signatures of the covenant // on slashing tx corresponding to unbonding tx submitted to babylon // the order of sigs should respect the order of finality providers @@ -160,7 +160,7 @@ message MsgBTCUndelegate { string staking_tx_hash = 2; // unbonding_tx_sig is the signature of the staker on the unbonding tx submitted to babylon // the signature follows encoding in BIP-340 spec - bytes unbonding_tx_sig = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes unbonding_tx_sig = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; } // MsgBTCUndelegateResponse is the response for MsgBTCUndelegate message MsgBTCUndelegateResponse {} diff --git a/proto/babylon/checkpointing/v1/bls_key.proto b/proto/babylon/checkpointing/v1/bls_key.proto index 4ea1363c5..912f9dd63 100644 --- a/proto/babylon/checkpointing/v1/bls_key.proto +++ b/proto/babylon/checkpointing/v1/bls_key.proto @@ -3,14 +3,14 @@ package babylon.checkpointing.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/checkpointing/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/checkpointing/types"; // BlsKey wraps BLS public key with PoP message BlsKey { // pubkey is the BLS public key of a validator bytes pubkey = 1 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.PublicKey" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.PublicKey" ]; // pop is the proof-of-possession of the BLS key ProofOfPossession pop = 2; @@ -26,7 +26,7 @@ message ProofOfPossession { // ed25519_sig) bytes bls_sig = 2 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.Signature" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" ]; } // ValidatorWithBLSSet defines a set of validators with their BLS public keys @@ -58,5 +58,5 @@ message VoteExtension { // bls_sig is the BLS signature bytes bls_sig = 6 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.Signature" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" ]; } diff --git a/proto/babylon/checkpointing/v1/checkpoint.proto b/proto/babylon/checkpointing/v1/checkpoint.proto index 208a191d4..309447a7a 100644 --- a/proto/babylon/checkpointing/v1/checkpoint.proto +++ b/proto/babylon/checkpointing/v1/checkpoint.proto @@ -5,7 +5,7 @@ import "google/protobuf/timestamp.proto"; import "gogoproto/gogo.proto"; import "tendermint/abci/types.proto"; -option go_package = "github.com/babylonchain/babylon/x/checkpointing/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/checkpointing/types"; // RawCheckpoint wraps the BLS multi sig with metadata message RawCheckpoint { @@ -22,7 +22,7 @@ message RawCheckpoint { // sigs bytes bls_multi_sig = 4 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.Signature" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" ]; } // RawCheckpointWithMeta wraps the raw checkpoint with metadata. @@ -35,7 +35,7 @@ message RawCheckpointWithMeta { // bls_aggr_pk defines the aggregated BLS public key bytes bls_aggr_pk = 3 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.PublicKey" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.PublicKey" ]; // power_sum defines the accumulated voting power for the checkpoint uint64 power_sum = 4; // lifecycle defines the lifecycle of this checkpoint, i.e., each state @@ -94,7 +94,7 @@ message BlsSig { bytes block_hash = 2 [ (gogoproto.customtype) = "BlockHash" ]; bytes bls_sig = 3 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.Signature" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" ]; // can't find cosmos_proto.scalar when compiling due to cosmos v0.45.4 does // not support scalar string signer_address = 4 [(cosmos_proto.scalar) = // "cosmos.AddressString"] diff --git a/proto/babylon/checkpointing/v1/events.proto b/proto/babylon/checkpointing/v1/events.proto index 4e170c058..090888b0a 100644 --- a/proto/babylon/checkpointing/v1/events.proto +++ b/proto/babylon/checkpointing/v1/events.proto @@ -3,7 +3,7 @@ package babylon.checkpointing.v1; import "babylon/checkpointing/v1/checkpoint.proto"; -option go_package = "github.com/babylonchain/babylon/x/checkpointing/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/checkpointing/types"; // EventCheckpointAccumulating is emitted when a checkpoint reaches the // `Accumulating` state. diff --git a/proto/babylon/checkpointing/v1/genesis.proto b/proto/babylon/checkpointing/v1/genesis.proto index dd65d5017..dd96841a2 100644 --- a/proto/babylon/checkpointing/v1/genesis.proto +++ b/proto/babylon/checkpointing/v1/genesis.proto @@ -4,7 +4,7 @@ package babylon.checkpointing.v1; import "cosmos/crypto/ed25519/keys.proto"; import "babylon/checkpointing/v1/bls_key.proto"; -option go_package = "github.com/babylonchain/babylon/x/checkpointing/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/checkpointing/types"; // GenesisState defines the checkpointing module's genesis state. message GenesisState { diff --git a/proto/babylon/checkpointing/v1/query.proto b/proto/babylon/checkpointing/v1/query.proto index a7ee01e16..74c9853f7 100644 --- a/proto/babylon/checkpointing/v1/query.proto +++ b/proto/babylon/checkpointing/v1/query.proto @@ -8,7 +8,7 @@ import "babylon/checkpointing/v1/bls_key.proto"; import "babylon/checkpointing/v1/checkpoint.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -option go_package = "github.com/babylonchain/babylon/x/checkpointing/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/checkpointing/types"; // Query defines the gRPC querier service. service Query { @@ -177,7 +177,7 @@ message RawCheckpointResponse { // bls_multi_sig defines the multi sig that is aggregated from individual BLS // sigs bytes bls_multi_sig = 4 [ - (gogoproto.customtype) = "github.com/babylonchain/babylon/crypto/bls12381.Signature" + (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" ]; } @@ -205,7 +205,7 @@ message RawCheckpointWithMetaResponse { // bls_aggr_pk defines the aggregated BLS public key bytes bls_aggr_pk = 4 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.PublicKey" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.PublicKey" ]; // power_sum defines the accumulated voting power for the checkpoint uint64 power_sum = 5; // lifecycle defines the lifecycle of this checkpoint, i.e., each state diff --git a/proto/babylon/checkpointing/v1/tx.proto b/proto/babylon/checkpointing/v1/tx.proto index bfc00666e..14709eee3 100644 --- a/proto/babylon/checkpointing/v1/tx.proto +++ b/proto/babylon/checkpointing/v1/tx.proto @@ -6,7 +6,7 @@ import "babylon/checkpointing/v1/bls_key.proto"; import "cosmos/staking/v1beta1/tx.proto"; import "cosmos/msg/v1/msg.proto"; -option go_package = "github.com/babylonchain/babylon/x/checkpointing/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/checkpointing/types"; // Msg defines the checkpointing Msg service. service Msg { diff --git a/proto/babylon/epoching/v1/epoching.proto b/proto/babylon/epoching/v1/epoching.proto index 79e579119..a7f90c4a1 100644 --- a/proto/babylon/epoching/v1/epoching.proto +++ b/proto/babylon/epoching/v1/epoching.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "cosmos/staking/v1beta1/tx.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/babylonchain/babylon/x/epoching/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/epoching/types"; // Epoch is a structure that contains the metadata of an epoch message Epoch { diff --git a/proto/babylon/epoching/v1/events.proto b/proto/babylon/epoching/v1/events.proto index f41c527e3..79e0dfae2 100644 --- a/proto/babylon/epoching/v1/events.proto +++ b/proto/babylon/epoching/v1/events.proto @@ -3,7 +3,7 @@ package babylon.epoching.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/epoching/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/epoching/types"; // EventBeginEpoch is the event emitted when an epoch has started message EventBeginEpoch { uint64 epoch_number = 1; } diff --git a/proto/babylon/epoching/v1/genesis.proto b/proto/babylon/epoching/v1/genesis.proto index eea522cba..f9c44d5b5 100644 --- a/proto/babylon/epoching/v1/genesis.proto +++ b/proto/babylon/epoching/v1/genesis.proto @@ -4,7 +4,7 @@ package babylon.epoching.v1; import "gogoproto/gogo.proto"; import "babylon/epoching/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/epoching/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/epoching/types"; // GenesisState defines the epoching module's genesis state. message GenesisState { Params params = 1 [ (gogoproto.nullable) = false ]; } diff --git a/proto/babylon/epoching/v1/params.proto b/proto/babylon/epoching/v1/params.proto index a9ce9a531..b315f37ca 100644 --- a/proto/babylon/epoching/v1/params.proto +++ b/proto/babylon/epoching/v1/params.proto @@ -3,7 +3,7 @@ package babylon.epoching.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/epoching/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/epoching/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/babylon/epoching/v1/query.proto b/proto/babylon/epoching/v1/query.proto index e86999302..7243da42c 100644 --- a/proto/babylon/epoching/v1/query.proto +++ b/proto/babylon/epoching/v1/query.proto @@ -8,7 +8,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "babylon/epoching/v1/params.proto"; import "babylon/epoching/v1/epoching.proto"; -option go_package = "github.com/babylonchain/babylon/x/epoching/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/epoching/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/babylon/epoching/v1/tx.proto b/proto/babylon/epoching/v1/tx.proto index 47f24da33..2157dea0c 100644 --- a/proto/babylon/epoching/v1/tx.proto +++ b/proto/babylon/epoching/v1/tx.proto @@ -8,7 +8,7 @@ import "babylon/epoching/v1/params.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; -option go_package = "github.com/babylonchain/babylon/x/epoching/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/epoching/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/babylon/finality/v1/events.proto b/proto/babylon/finality/v1/events.proto index 436456dea..1c2fe0947 100644 --- a/proto/babylon/finality/v1/events.proto +++ b/proto/babylon/finality/v1/events.proto @@ -3,7 +3,7 @@ package babylon.finality.v1; import "babylon/finality/v1/finality.proto"; -option go_package = "github.com/babylonchain/babylon/x/finality/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/finality/types"; // EventSlashedFinalityProvider is the event emitted when a finality provider is slashed // due to signing two conflicting blocks diff --git a/proto/babylon/finality/v1/finality.proto b/proto/babylon/finality/v1/finality.proto index c833f5fc6..f6f56f6d9 100644 --- a/proto/babylon/finality/v1/finality.proto +++ b/proto/babylon/finality/v1/finality.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package babylon.finality.v1; -option go_package = "github.com/babylonchain/babylon/x/finality/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/finality/types"; import "gogoproto/gogo.proto"; @@ -33,11 +33,11 @@ message PubRandCommit { // signatures with correct public randomness on two conflicting Babylon headers message Evidence { // fp_btc_pk is the BTC PK of the finality provider that casts this vote - bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // block_height is the height of the conflicting blocks uint64 block_height = 2; // pub_rand is the public randomness the finality provider has committed to - bytes pub_rand = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrPubRand" ]; + bytes pub_rand = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrPubRand" ]; // canonical_app_hash is the AppHash of the canonical block bytes canonical_app_hash = 4; // fork_app_hash is the AppHash of the fork block @@ -46,17 +46,17 @@ message Evidence { // where finality signature is an EOTS signature, i.e., // the `s` in a Schnorr signature `(r, s)` // `r` is the public randomness that is already committed by the finality provider - bytes canonical_finality_sig = 6 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; + bytes canonical_finality_sig = 6 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" ]; // fork_finality_sig is the finality signature to the fork block // where finality signature is an EOTS signature - bytes fork_finality_sig = 7 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; + bytes fork_finality_sig = 7 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" ]; } // FinalityProviderSigningInfo defines a finality provider's signing info for monitoring their // liveness activity. message FinalityProviderSigningInfo { // fp_btc_pk is the BTC PK of the finality provider that casts this vote - bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // start_height is the block height at which finality provider become active int64 start_height = 2; // missed_blocks_counter defines a counter to avoid unnecessary array reads. diff --git a/proto/babylon/finality/v1/genesis.proto b/proto/babylon/finality/v1/genesis.proto index af3ef6cd6..4e40c9bd0 100644 --- a/proto/babylon/finality/v1/genesis.proto +++ b/proto/babylon/finality/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "babylon/finality/v1/params.proto"; import "babylon/finality/v1/finality.proto"; -option go_package = "github.com/babylonchain/babylon/x/finality/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/finality/types"; // GenesisState defines the finality module's genesis state. message GenesisState { @@ -35,10 +35,10 @@ message VoteSig { // block_height is the height of the voted block. uint64 block_height = 1; // fp_btc_pk is the BTC PK of the finality provider that casts this vote - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // finality_sig is the finality signature to this block // where finality signature is an EOTS signature, i.e. - bytes finality_sig = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; + bytes finality_sig = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" ]; } // PublicRandomness the block height and public randomness that the finality provider has submitted. @@ -46,15 +46,15 @@ message PublicRandomness { // block_height is the height of block which the finality provider submited public randomness. uint64 block_height = 1; // fp_btc_pk is the BTC PK of the finality provider that casts this vote. - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pub_rand is the public randomness the finality provider has committed to. - bytes pub_rand = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrPubRand" ]; + bytes pub_rand = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrPubRand" ]; } // PubRandCommitWithPK is the public randomness commitment with the finality provider's BTC public key message PubRandCommitWithPK { // fp_btc_pk is the BTC PK of the finality provider that commits the public randomness - bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pub_rand_commit is the public randomness commitment PubRandCommit pub_rand_commit = 2; } @@ -62,7 +62,7 @@ message PubRandCommitWithPK { // SigningInfo stores finality provider signing info of corresponding BTC public key. message SigningInfo { // fp_btc_pk is the BTC PK of the finality provider - bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // fp_signing_info represents the signing info of this finality provider. FinalityProviderSigningInfo fp_signing_info = 2 [(gogoproto.nullable) = false]; } @@ -71,7 +71,7 @@ message SigningInfo { // BTC public key. message FinalityProviderMissedBlocks { // fp_btc_pk is the BTC PK of the finality provider - bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // missed_blocks is an array of missed blocks by the finality provider. repeated MissedBlock missed_blocks = 2 [(gogoproto.nullable) = false]; } diff --git a/proto/babylon/finality/v1/params.proto b/proto/babylon/finality/v1/params.proto index 67751c58d..875497283 100644 --- a/proto/babylon/finality/v1/params.proto +++ b/proto/babylon/finality/v1/params.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "amino/amino.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/babylonchain/babylon/x/finality/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/finality/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/babylon/finality/v1/query.proto b/proto/babylon/finality/v1/query.proto index 270834f72..7b6c9fb0b 100644 --- a/proto/babylon/finality/v1/query.proto +++ b/proto/babylon/finality/v1/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "babylon/finality/v1/params.proto"; import "babylon/finality/v1/finality.proto"; -option go_package = "github.com/babylonchain/babylon/x/finality/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/finality/types"; // Query defines the gRPC querier service. service Query { @@ -90,7 +90,7 @@ message QueryListPublicRandomnessRequest { message QueryListPublicRandomnessResponse { // pub_rand_map is the map where the key is the height and the value // is the public randomness at this height for the given finality provider - map pub_rand_map = 1 [(gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrPubRand" ]; + map pub_rand_map = 1 [(gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrPubRand" ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -181,7 +181,7 @@ message QueryVotesAtHeightRequest { message QueryVotesAtHeightResponse { // btc_pk is the Bitcoin secp256k1 PK of finality providers who have signed the block at given height. // the PK follows encoding in BIP-340 spec - repeated bytes btc_pks = 1 [(gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey"]; + repeated bytes btc_pks = 1 [(gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey"]; } // QueryEvidenceRequest is the request type for the diff --git a/proto/babylon/finality/v1/tx.proto b/proto/babylon/finality/v1/tx.proto index c1ff68ea2..fd46f9f3a 100644 --- a/proto/babylon/finality/v1/tx.proto +++ b/proto/babylon/finality/v1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package babylon.finality.v1; -option go_package = "github.com/babylonchain/babylon/x/finality/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/finality/types"; import "gogoproto/gogo.proto"; import "tendermint/crypto/proof.proto"; @@ -28,7 +28,7 @@ message MsgCommitPubRandList { string signer = 1; // fp_btc_pk is the BTC PK of the finality provider that commits the public randomness - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // start_height is the start block height of the list of public randomness uint64 start_height = 3; // num_pub_rand is the number of public randomness committed @@ -41,7 +41,7 @@ message MsgCommitPubRandList { // randomness on behalf of fp_btc_pk // TODO: another option is to restrict signer to correspond to fp_btc_pk. This restricts // the tx submitter to be the holder of fp_btc_pk. Decide this later - bytes sig = 6 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes sig = 6 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; } // MsgCommitPubRandListResponse is the response to the MsgCommitPubRandList message message MsgCommitPubRandListResponse{} @@ -52,11 +52,11 @@ message MsgAddFinalitySig { string signer = 1; // fp_btc_pk is the BTC PK of the finality provider that casts this vote - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // block_height is the height of the voted block uint64 block_height = 3; // pub_rand is the public randomness committed at this height - bytes pub_rand = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrPubRand" ]; + bytes pub_rand = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrPubRand" ]; // proof is the proof that the given public randomness is committed under the commitment tendermint.crypto.Proof proof = 5; // block_app_hash is the AppHash of the voted block @@ -65,7 +65,7 @@ message MsgAddFinalitySig { // where finality signature is an EOTS signature, i.e., // the `s` in a Schnorr signature `(r, s)` // `r` is the public randomness that is already committed by the finality provider - bytes finality_sig = 7 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; + bytes finality_sig = 7 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" ]; } // MsgAddFinalitySigResponse is the response to the MsgAddFinalitySig message message MsgAddFinalitySigResponse{} diff --git a/proto/babylon/incentive/genesis.proto b/proto/babylon/incentive/genesis.proto index 04f82d21a..efe84b06f 100644 --- a/proto/babylon/incentive/genesis.proto +++ b/proto/babylon/incentive/genesis.proto @@ -4,7 +4,7 @@ package babylon.incentive; import "gogoproto/gogo.proto"; import "babylon/incentive/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/incentive/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/incentive/types"; // GenesisState defines the incentive module's genesis state. message GenesisState { diff --git a/proto/babylon/incentive/incentive.proto b/proto/babylon/incentive/incentive.proto index ccc4c3a6c..1e606919f 100644 --- a/proto/babylon/incentive/incentive.proto +++ b/proto/babylon/incentive/incentive.proto @@ -4,7 +4,7 @@ package babylon.incentive; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/babylonchain/babylon/x/incentive/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/incentive/types"; // Gauge is an object that stores rewards to be distributed // code adapted from https://github.com/osmosis-labs/osmosis/blob/v18.0.0/proto/osmosis/incentives/gauge.proto diff --git a/proto/babylon/incentive/params.proto b/proto/babylon/incentive/params.proto index c576cb9a4..8f5f6d54a 100644 --- a/proto/babylon/incentive/params.proto +++ b/proto/babylon/incentive/params.proto @@ -4,7 +4,7 @@ package babylon.incentive; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/babylonchain/babylon/x/incentive/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/incentive/types"; // Params defines the parameters for the module, including portions of rewards // distributed to each type of stakeholder. Note that sum of the portions should diff --git a/proto/babylon/incentive/query.proto b/proto/babylon/incentive/query.proto index 1239786e1..f31a511cb 100644 --- a/proto/babylon/incentive/query.proto +++ b/proto/babylon/incentive/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "babylon/incentive/params.proto"; import "babylon/incentive/incentive.proto"; -option go_package = "github.com/babylonchain/babylon/x/incentive/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/incentive/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/babylon/incentive/tx.proto b/proto/babylon/incentive/tx.proto index 965147bd5..13810102e 100644 --- a/proto/babylon/incentive/tx.proto +++ b/proto/babylon/incentive/tx.proto @@ -7,7 +7,7 @@ import "cosmos/msg/v1/msg.proto"; import "cosmos/base/v1beta1/coin.proto"; import "babylon/incentive/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/incentive/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/incentive/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/babylon/monitor/v1/genesis.proto b/proto/babylon/monitor/v1/genesis.proto index 66a259f15..b1e60078d 100644 --- a/proto/babylon/monitor/v1/genesis.proto +++ b/proto/babylon/monitor/v1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package babylon.monitor.v1; -option go_package = "github.com/babylonchain/babylon/x/monitor/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/monitor/types"; // GenesisState defines the monitor module's genesis state. message GenesisState {} diff --git a/proto/babylon/monitor/v1/query.proto b/proto/babylon/monitor/v1/query.proto index 622305a34..c77bfc8f2 100644 --- a/proto/babylon/monitor/v1/query.proto +++ b/proto/babylon/monitor/v1/query.proto @@ -3,7 +3,7 @@ package babylon.monitor.v1; import "google/api/annotations.proto"; -option go_package = "github.com/babylonchain/babylon/x/monitor/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/monitor/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/babylon/zoneconcierge/v1/genesis.proto b/proto/babylon/zoneconcierge/v1/genesis.proto index 468fa02eb..8277e9e8a 100644 --- a/proto/babylon/zoneconcierge/v1/genesis.proto +++ b/proto/babylon/zoneconcierge/v1/genesis.proto @@ -4,7 +4,7 @@ package babylon.zoneconcierge.v1; import "gogoproto/gogo.proto"; import "babylon/zoneconcierge/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/zoneconcierge/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/zoneconcierge/types"; // GenesisState defines the zoneconcierge module's genesis state. message GenesisState { diff --git a/proto/babylon/zoneconcierge/v1/packet.proto b/proto/babylon/zoneconcierge/v1/packet.proto index a9b4ef163..9576b951c 100644 --- a/proto/babylon/zoneconcierge/v1/packet.proto +++ b/proto/babylon/zoneconcierge/v1/packet.proto @@ -7,7 +7,7 @@ import "babylon/btclightclient/v1/btclightclient.proto"; import "babylon/epoching/v1/epoching.proto"; import "babylon/zoneconcierge/v1/zoneconcierge.proto"; -option go_package = "github.com/babylonchain/babylon/x/zoneconcierge/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/zoneconcierge/types"; // ZoneconciergePacketData is the message that defines the IBC packets of // ZoneConcierge diff --git a/proto/babylon/zoneconcierge/v1/params.proto b/proto/babylon/zoneconcierge/v1/params.proto index bb3e23738..48fa6c9e5 100644 --- a/proto/babylon/zoneconcierge/v1/params.proto +++ b/proto/babylon/zoneconcierge/v1/params.proto @@ -3,7 +3,7 @@ package babylon.zoneconcierge.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/zoneconcierge/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/zoneconcierge/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/babylon/zoneconcierge/v1/query.proto b/proto/babylon/zoneconcierge/v1/query.proto index aa65a805f..690ab0182 100644 --- a/proto/babylon/zoneconcierge/v1/query.proto +++ b/proto/babylon/zoneconcierge/v1/query.proto @@ -10,7 +10,7 @@ import "babylon/epoching/v1/epoching.proto"; import "babylon/zoneconcierge/v1/zoneconcierge.proto"; import "babylon/zoneconcierge/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/zoneconcierge/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/zoneconcierge/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/babylon/zoneconcierge/v1/tx.proto b/proto/babylon/zoneconcierge/v1/tx.proto index 105a29107..5e94ee9f4 100644 --- a/proto/babylon/zoneconcierge/v1/tx.proto +++ b/proto/babylon/zoneconcierge/v1/tx.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; import "babylon/zoneconcierge/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/zoneconcierge/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/zoneconcierge/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/babylon/zoneconcierge/v1/zoneconcierge.proto b/proto/babylon/zoneconcierge/v1/zoneconcierge.proto index 47e316a0f..b6c1dde8c 100644 --- a/proto/babylon/zoneconcierge/v1/zoneconcierge.proto +++ b/proto/babylon/zoneconcierge/v1/zoneconcierge.proto @@ -10,7 +10,7 @@ import "babylon/checkpointing/v1/checkpoint.proto"; import "babylon/epoching/v1/epoching.proto"; import "babylon/btclightclient/v1/btclightclient.proto"; -option go_package = "github.com/babylonchain/babylon/x/zoneconcierge/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/zoneconcierge/types"; // IndexedHeader is the metadata of a CZ header message IndexedHeader { diff --git a/proto/scripts/protocgen.sh b/proto/scripts/protocgen.sh index 9cbce2e51..a61d0e936 100755 --- a/proto/scripts/protocgen.sh +++ b/proto/scripts/protocgen.sh @@ -16,7 +16,7 @@ done cd .. # move proto files to the right places -cp -r github.com/babylonchain/babylon/* ./ +cp -r github.com/babylonlabs-io/babylon/* ./ rm -rf github.com go mod tidy -compat=1.21 diff --git a/test/e2e/README.md b/test/e2e/README.md index d29a6539a..dacd487f7 100644 --- a/test/e2e/README.md +++ b/test/e2e/README.md @@ -9,7 +9,7 @@ approach. ### Wasm contract used for e2e testing -Wasm contract located in `bytecode/babylon_contract.wasm` is compiled from most recent commit `main` branch - https://github.com/babylonchain/babylon-contract +Wasm contract located in `bytecode/babylon_contract.wasm` is compiled from most recent commit `main` branch - https://github.com/babylonlabs-io/babylon-contract This contract uses feature specific to Babylon, through Babylon bindings library. diff --git a/test/e2e/btc_staking_e2e_test.go b/test/e2e/btc_staking_e2e_test.go index e76a83c11..d4bcf2775 100644 --- a/test/e2e/btc_staking_e2e_test.go +++ b/test/e2e/btc_staking_e2e_test.go @@ -17,17 +17,17 @@ import ( feegrantcli "cosmossdk.io/x/feegrant/client/cli" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/crypto/eots" - "github.com/babylonchain/babylon/test/e2e/configurer" - "github.com/babylonchain/babylon/test/e2e/configurer/chain" - "github.com/babylonchain/babylon/test/e2e/initialization" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" - itypes "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/test/e2e/configurer" + "github.com/babylonlabs-io/babylon/test/e2e/configurer/chain" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" + itypes "github.com/babylonlabs-io/babylon/x/incentive/types" ) var ( @@ -666,7 +666,7 @@ func (s *BTCStakingTestSuite) Test8BTCDelegationFeeGrantTyped() { // tries to create a send transaction putting the freegranter as feepayer, it should FAIL // since we only gave grant for BTC delegation msgs. - // TODO: Uncomment the next lines when issue: https://github.com/babylonchain/babylon/issues/693 + // TODO: Uncomment the next lines when issue: https://github.com/babylonlabs-io/babylon/issues/693 // is fixed on cosmos-sdk side // outBuff, errBuff, err := node.BankSendOutput( // wGratee, node.PublicAddress, stakerBalance.String(), diff --git a/test/e2e/btc_timestamping_e2e_test.go b/test/e2e/btc_timestamping_e2e_test.go index db447f5d5..6b8282311 100644 --- a/test/e2e/btc_timestamping_e2e_test.go +++ b/test/e2e/btc_timestamping_e2e_test.go @@ -8,11 +8,11 @@ import ( "strconv" "time" - "github.com/babylonchain/babylon/test/e2e/configurer" - "github.com/babylonchain/babylon/test/e2e/initialization" - bbn "github.com/babylonchain/babylon/types" - ct "github.com/babylonchain/babylon/x/checkpointing/types" - itypes "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/test/e2e/configurer" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + bbn "github.com/babylonlabs-io/babylon/types" + ct "github.com/babylonlabs-io/babylon/x/checkpointing/types" + itypes "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" ) diff --git a/test/e2e/btc_timestamping_phase2_hermes_test.go b/test/e2e/btc_timestamping_phase2_hermes_test.go index 1a9cf8945..cfae910f4 100644 --- a/test/e2e/btc_timestamping_phase2_hermes_test.go +++ b/test/e2e/btc_timestamping_phase2_hermes_test.go @@ -3,9 +3,9 @@ package e2e import ( "time" - "github.com/babylonchain/babylon/test/e2e/configurer" - "github.com/babylonchain/babylon/test/e2e/initialization" - ct "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/test/e2e/configurer" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + ct "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/types/query" channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" "github.com/stretchr/testify/suite" diff --git a/test/e2e/btc_timestamping_phase2_rly_test.go b/test/e2e/btc_timestamping_phase2_rly_test.go index 8bc1e5352..091eabc06 100644 --- a/test/e2e/btc_timestamping_phase2_rly_test.go +++ b/test/e2e/btc_timestamping_phase2_rly_test.go @@ -3,9 +3,9 @@ package e2e import ( "time" - "github.com/babylonchain/babylon/test/e2e/configurer" - "github.com/babylonchain/babylon/test/e2e/initialization" - ct "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/test/e2e/configurer" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + ct "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/types/query" channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" "github.com/stretchr/testify/suite" diff --git a/test/e2e/bytecode/README.md b/test/e2e/bytecode/README.md index e0926f743..0655fa11f 100644 --- a/test/e2e/bytecode/README.md +++ b/test/e2e/bytecode/README.md @@ -1 +1 @@ -Contract built from https://github.com/babylonchain/babylon-contract/tree/main/contracts +Contract built from https://github.com/babylonlabs-io/babylon-contract/tree/main/contracts diff --git a/test/e2e/configurer/base.go b/test/e2e/configurer/base.go index 6744fff94..302fd8ca9 100644 --- a/test/e2e/configurer/base.go +++ b/test/e2e/configurer/base.go @@ -12,12 +12,12 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/test/e2e/configurer/chain" - "github.com/babylonchain/babylon/test/e2e/containers" - "github.com/babylonchain/babylon/test/e2e/initialization" - "github.com/babylonchain/babylon/test/e2e/util" - "github.com/babylonchain/babylon/types" - types2 "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/test/e2e/configurer/chain" + "github.com/babylonlabs-io/babylon/test/e2e/containers" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/util" + "github.com/babylonlabs-io/babylon/types" + types2 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/configurer/chain/chain.go b/test/e2e/configurer/chain/chain.go index 4d5e1ec03..a6d92dc3f 100644 --- a/test/e2e/configurer/chain/chain.go +++ b/test/e2e/configurer/chain/chain.go @@ -10,9 +10,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/test/e2e/configurer/config" - "github.com/babylonchain/babylon/test/e2e/containers" - "github.com/babylonchain/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/configurer/config" + "github.com/babylonlabs-io/babylon/test/e2e/containers" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" ) type Config struct { diff --git a/test/e2e/configurer/chain/commands.go b/test/e2e/configurer/chain/commands.go index 8d8c59b1a..36155d45c 100644 --- a/test/e2e/configurer/chain/commands.go +++ b/test/e2e/configurer/chain/commands.go @@ -12,15 +12,15 @@ import ( "strings" "time" - txformat "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/test/e2e/containers" - "github.com/babylonchain/babylon/test/e2e/initialization" - "github.com/babylonchain/babylon/test/e2e/util" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - blc "github.com/babylonchain/babylon/x/btclightclient/types" - cttypes "github.com/babylonchain/babylon/x/checkpointing/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/test/e2e/containers" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/util" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + blc "github.com/babylonlabs-io/babylon/x/btclightclient/types" + cttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/bech32" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" diff --git a/test/e2e/configurer/chain/commands_btcstaking.go b/test/e2e/configurer/chain/commands_btcstaking.go index f42041b7e..f7586d812 100644 --- a/test/e2e/configurer/chain/commands_btcstaking.go +++ b/test/e2e/configurer/chain/commands_btcstaking.go @@ -16,11 +16,11 @@ import ( sdkmath "cosmossdk.io/math" cmtcrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - "github.com/babylonchain/babylon/test/e2e/containers" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + "github.com/babylonlabs-io/babylon/test/e2e/containers" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) func (n *NodeConfig) CreateFinalityProvider(walletAddrOrName string, btcPK *bbn.BIP340PubKey, pop *bstypes.ProofOfPossessionBTC, moniker, identity, website, securityContract, details string, commission *sdkmath.LegacyDec) { diff --git a/test/e2e/configurer/chain/node.go b/test/e2e/configurer/chain/node.go index 8e185ec51..f849ac5ab 100644 --- a/test/e2e/configurer/chain/node.go +++ b/test/e2e/configurer/chain/node.go @@ -13,8 +13,8 @@ import ( coretypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/test/e2e/containers" - "github.com/babylonchain/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/containers" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" ) type NodeConfig struct { diff --git a/test/e2e/configurer/chain/queries.go b/test/e2e/configurer/chain/queries.go index c0bb049f8..ff4ae0302 100644 --- a/test/e2e/configurer/chain/queries.go +++ b/test/e2e/configurer/chain/queries.go @@ -21,12 +21,12 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/test/e2e/util" - blc "github.com/babylonchain/babylon/x/btclightclient/types" - ct "github.com/babylonchain/babylon/x/checkpointing/types" - etypes "github.com/babylonchain/babylon/x/epoching/types" - mtypes "github.com/babylonchain/babylon/x/monitor/types" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/test/e2e/util" + blc "github.com/babylonlabs-io/babylon/x/btclightclient/types" + ct "github.com/babylonlabs-io/babylon/x/checkpointing/types" + etypes "github.com/babylonlabs-io/babylon/x/epoching/types" + mtypes "github.com/babylonlabs-io/babylon/x/monitor/types" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) func (n *NodeConfig) QueryGRPCGateway(path string, queryParams url.Values) ([]byte, error) { diff --git a/test/e2e/configurer/chain/queries_btcstaking.go b/test/e2e/configurer/chain/queries_btcstaking.go index 8e3cec5e0..f7a735c8f 100644 --- a/test/e2e/configurer/chain/queries_btcstaking.go +++ b/test/e2e/configurer/chain/queries_btcstaking.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/test/e2e/util" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/test/e2e/util" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" ) func (n *NodeConfig) QueryBTCStakingParams() *bstypes.Params { diff --git a/test/e2e/configurer/chain/queries_ibc.go b/test/e2e/configurer/chain/queries_ibc.go index 621f5867c..f5889b229 100644 --- a/test/e2e/configurer/chain/queries_ibc.go +++ b/test/e2e/configurer/chain/queries_ibc.go @@ -4,7 +4,7 @@ import ( "fmt" "net/url" - "github.com/babylonchain/babylon/test/e2e/util" + "github.com/babylonlabs-io/babylon/test/e2e/util" channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" ) diff --git a/test/e2e/configurer/chain/queries_incentive.go b/test/e2e/configurer/chain/queries_incentive.go index 9416d9866..152c42352 100644 --- a/test/e2e/configurer/chain/queries_incentive.go +++ b/test/e2e/configurer/chain/queries_incentive.go @@ -4,8 +4,8 @@ import ( "fmt" "net/url" - "github.com/babylonchain/babylon/test/e2e/util" - incentivetypes "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/test/e2e/util" + incentivetypes "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/configurer/current.go b/test/e2e/configurer/current.go index 32572e12e..ca2c26ae6 100644 --- a/test/e2e/configurer/current.go +++ b/test/e2e/configurer/current.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/test/e2e/configurer/chain" - "github.com/babylonchain/babylon/test/e2e/containers" - "github.com/babylonchain/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/configurer/chain" + "github.com/babylonlabs-io/babylon/test/e2e/containers" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" ) type CurrentBranchConfigurer struct { diff --git a/test/e2e/configurer/factory.go b/test/e2e/configurer/factory.go index bcac549e5..a04a834cd 100644 --- a/test/e2e/configurer/factory.go +++ b/test/e2e/configurer/factory.go @@ -3,10 +3,10 @@ package configurer import ( "testing" - "github.com/babylonchain/babylon/test/e2e/configurer/chain" - "github.com/babylonchain/babylon/test/e2e/containers" - "github.com/babylonchain/babylon/test/e2e/initialization" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/test/e2e/configurer/chain" + "github.com/babylonlabs-io/babylon/test/e2e/containers" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ibctesting "github.com/cosmos/ibc-go/v8/testing" ) diff --git a/test/e2e/containers/config.go b/test/e2e/containers/config.go index 964367871..9f15dcb1c 100644 --- a/test/e2e/containers/config.go +++ b/test/e2e/containers/config.go @@ -10,14 +10,14 @@ type ImageConfig struct { //nolint:deadcode const ( // name of babylon container produced by running `make localnet-build-env` - BabylonContainerName = "babylonchain/babylond" + BabylonContainerName = "babylonlabs-io/babylond" hermesRelayerRepository = "informalsystems/hermes" hermesRelayerTag = "v1.8.2" // Built using the `build-cosmos-relayer-docker` target on an Intel (amd64) machine and pushed to ECR cosmosRelayerRepository = "public.ecr.aws/t9e9i3h0/cosmos-relayer" // TODO: Replace with version tag once we have a working version - cosmosRelayerTag = "main" + cosmosRelayerTag = "main" ) // NewImageConfig returns ImageConfig needed for running e2e test. diff --git a/test/e2e/ibc_transfer_e2e_test.go b/test/e2e/ibc_transfer_e2e_test.go index 8f1848c54..c1521a467 100644 --- a/test/e2e/ibc_transfer_e2e_test.go +++ b/test/e2e/ibc_transfer_e2e_test.go @@ -3,8 +3,8 @@ package e2e import ( "time" - "github.com/babylonchain/babylon/test/e2e/configurer" - "github.com/babylonchain/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/configurer" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" ) diff --git a/test/e2e/initialization/chain/main.go b/test/e2e/initialization/chain/main.go index 074b7968f..6d22e8e78 100644 --- a/test/e2e/initialization/chain/main.go +++ b/test/e2e/initialization/chain/main.go @@ -7,7 +7,7 @@ import ( "os" "time" - "github.com/babylonchain/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" ) func main() { diff --git a/test/e2e/initialization/config.go b/test/e2e/initialization/config.go index 9e5f95a16..3e7119ae0 100644 --- a/test/e2e/initialization/config.go +++ b/test/e2e/initialization/config.go @@ -21,13 +21,13 @@ import ( staketypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/gogoproto/proto" - "github.com/babylonchain/babylon/privval" - bbn "github.com/babylonchain/babylon/types" - btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - blctypes "github.com/babylonchain/babylon/x/btclightclient/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/privval" + bbn "github.com/babylonlabs-io/babylon/types" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + blctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" - "github.com/babylonchain/babylon/test/e2e/util" + "github.com/babylonlabs-io/babylon/test/e2e/util" ) // NodeConfig is a confiuration for the node supplied from the test runner diff --git a/test/e2e/initialization/init.go b/test/e2e/initialization/init.go index 0a4f2b62b..94e8ca3e5 100644 --- a/test/e2e/initialization/init.go +++ b/test/e2e/initialization/init.go @@ -6,8 +6,8 @@ import ( "path/filepath" "time" - appkeepers "github.com/babylonchain/babylon/app/keepers" - "github.com/babylonchain/babylon/test/e2e/util" + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" + "github.com/babylonlabs-io/babylon/test/e2e/util" ) func InitChain(id, dataDir string, nodeConfigs []*NodeConfig, votingPeriod, expeditedVotingPeriod time.Duration, forkHeight int) (*Chain, error) { diff --git a/test/e2e/initialization/init_test.go b/test/e2e/initialization/init_test.go index cdebd2ef1..8d21b1b4d 100644 --- a/test/e2e/initialization/init_test.go +++ b/test/e2e/initialization/init_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" ) const forkHeight = 10 diff --git a/test/e2e/initialization/node.go b/test/e2e/initialization/node.go index d2a8dc1bf..4346e7b31 100644 --- a/test/e2e/initialization/node.go +++ b/test/e2e/initialization/node.go @@ -31,12 +31,12 @@ import ( "github.com/cosmos/go-bip39" "github.com/spf13/viper" - babylonApp "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/cmd/babylond/cmd" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/test/e2e/util" - bbn "github.com/babylonchain/babylon/types" + babylonApp "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/cmd/babylond/cmd" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/test/e2e/util" + bbn "github.com/babylonlabs-io/babylon/types" ) type internalNode struct { diff --git a/test/e2e/initialization/node/main.go b/test/e2e/initialization/node/main.go index cfa43b6c5..3a3a0a858 100644 --- a/test/e2e/initialization/node/main.go +++ b/test/e2e/initialization/node/main.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/babylonchain/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" ) func main() { diff --git a/test/e2e/initialization/util.go b/test/e2e/initialization/util.go index 3346f2b5d..fbcc6714a 100644 --- a/test/e2e/initialization/util.go +++ b/test/e2e/initialization/util.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec/unknownproto" sdktx "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/babylonchain/babylon/test/e2e/util" + "github.com/babylonlabs-io/babylon/test/e2e/util" ) func decodeTx(txBytes []byte) (*sdktx.Tx, error) { diff --git a/test/e2e/scripts/download_release.sh b/test/e2e/scripts/download_release.sh index 77e35985d..060dcb1d3 100755 --- a/test/e2e/scripts/download_release.sh +++ b/test/e2e/scripts/download_release.sh @@ -2,7 +2,7 @@ set -o nounset -o pipefail command -v shellcheck >/dev/null && shellcheck "$0" -OWNER="babylonchain" +OWNER="babylonlabs-io" REPO="babylon-contract" CONTRACT="babylon_contract" OUTPUT_FOLDER="$(dirname "$0")/../bytecode" @@ -20,7 +20,10 @@ GH_TAGS="$GH_REPO/releases/tags/$TAG" AUTH="Authorization: token $GITHUB_API_TOKEN" # Validate token -curl -o /dev/null -sH "$AUTH" $GH_REPO || { echo "Error: Invalid repo, token or network issue!"; exit 1; } +curl -o /dev/null -sH "$AUTH" $GH_REPO || { + echo "Error: Invalid repo, token or network issue!" + exit 1 +} # Read asset tags RESPONSE=$(curl -sH "$AUTH" "$GH_TAGS") diff --git a/test/e2e/util/codec.go b/test/e2e/util/codec.go index fd633f711..3e078ffdc 100644 --- a/test/e2e/util/codec.go +++ b/test/e2e/util/codec.go @@ -1,8 +1,8 @@ package util import ( - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/app/params" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/app/params" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" diff --git a/testutil/datagen/account_balance.go b/testutil/datagen/account_balance.go index 5530ecea5..d748c2939 100644 --- a/testutil/datagen/account_balance.go +++ b/testutil/datagen/account_balance.go @@ -2,7 +2,7 @@ package datagen import ( sdkmath "cosmossdk.io/math" - appparams "github.com/babylonchain/babylon/app/params" + appparams "github.com/babylonlabs-io/babylon/app/params" sec256k1 "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/testutil/datagen/btc_address_test.go b/testutil/datagen/btc_address_test.go index b1da6d13e..8a560c66e 100644 --- a/testutil/datagen/btc_address_test.go +++ b/testutil/datagen/btc_address_test.go @@ -4,7 +4,7 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" "github.com/stretchr/testify/require" diff --git a/testutil/datagen/btc_blockchain.go b/testutil/datagen/btc_blockchain.go index 1beb797cd..3e3ee42ec 100644 --- a/testutil/datagen/btc_blockchain.go +++ b/testutil/datagen/btc_blockchain.go @@ -4,7 +4,7 @@ import ( "math/big" "math/rand" - "github.com/babylonchain/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/btctxformatter" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/testutil/datagen/btc_header_chain.go b/testutil/datagen/btc_header_chain.go index 339fef508..e28421ef3 100644 --- a/testutil/datagen/btc_header_chain.go +++ b/testutil/datagen/btc_header_chain.go @@ -4,8 +4,8 @@ import ( "math/rand" sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" ) diff --git a/testutil/datagen/btc_header_info.go b/testutil/datagen/btc_header_info.go index d8a773acf..91230a1dd 100644 --- a/testutil/datagen/btc_header_info.go +++ b/testutil/datagen/btc_header_info.go @@ -8,9 +8,9 @@ import ( "time" sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" - btclightclientk "github.com/babylonchain/babylon/x/btclightclient/keeper" - btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" + bbn "github.com/babylonlabs-io/babylon/types" + btclightclientk "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/testutil/datagen/btc_schnorr.go b/testutil/datagen/btc_schnorr.go index 1eec8d047..3068d0923 100644 --- a/testutil/datagen/btc_schnorr.go +++ b/testutil/datagen/btc_schnorr.go @@ -3,7 +3,7 @@ package datagen import ( "math/rand" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/decred/dcrd/dcrec/secp256k1/v4" ) diff --git a/testutil/datagen/btc_transaction.go b/testutil/datagen/btc_transaction.go index 9bcdad7f9..ae6a58947 100644 --- a/testutil/datagen/btc_transaction.go +++ b/testutil/datagen/btc_transaction.go @@ -17,9 +17,9 @@ import ( "github.com/btcsuite/btcd/wire" sdk "github.com/cosmos/cosmos-sdk/types" - txformat "github.com/babylonchain/babylon/btctxformatter" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) var ( diff --git a/testutil/datagen/btcstaking.go b/testutil/datagen/btcstaking.go index 810be2364..ed2ed828a 100644 --- a/testutil/datagen/btcstaking.go +++ b/testutil/datagen/btcstaking.go @@ -15,9 +15,9 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/btcstaking" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/btcstaking" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) const ( diff --git a/testutil/datagen/covenant.go b/testutil/datagen/covenant.go index 9961b5055..03f2944ac 100644 --- a/testutil/datagen/covenant.go +++ b/testutil/datagen/covenant.go @@ -1,10 +1,10 @@ package datagen import ( - "github.com/babylonchain/babylon/btcstaking" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/btcstaking" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/wire" diff --git a/testutil/datagen/epoching.go b/testutil/datagen/epoching.go index 6cec642f1..3e4dc40b3 100644 --- a/testutil/datagen/epoching.go +++ b/testutil/datagen/epoching.go @@ -3,7 +3,7 @@ package datagen import ( "math/rand" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) // getFirstBlockHeight returns the height of the first block of a given epoch and epoch interval diff --git a/testutil/datagen/finality.go b/testutil/datagen/finality.go index 9216dd6d0..ad6a6f12e 100644 --- a/testutil/datagen/finality.go +++ b/testutil/datagen/finality.go @@ -3,9 +3,9 @@ package datagen import ( "math/rand" - "github.com/babylonchain/babylon/crypto/eots" - bbn "github.com/babylonchain/babylon/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/crypto/eots" + bbn "github.com/babylonlabs-io/babylon/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/cometbft/cometbft/crypto/merkle" diff --git a/testutil/datagen/genesiskey.go b/testutil/datagen/genesiskey.go index aff771d1b..77bffb8af 100644 --- a/testutil/datagen/genesiskey.go +++ b/testutil/datagen/genesiskey.go @@ -1,11 +1,11 @@ package datagen import ( - "github.com/babylonchain/babylon/app" - appkeepers "github.com/babylonchain/babylon/app/keepers" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/app" + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" cmtcrypto "github.com/cometbft/cometbft/crypto" cmted25519 "github.com/cometbft/cometbft/crypto/ed25519" "github.com/cosmos/cosmos-sdk/crypto/codec" diff --git a/testutil/datagen/incentive.go b/testutil/datagen/incentive.go index b970f1ca2..2cd0e10b6 100644 --- a/testutil/datagen/incentive.go +++ b/testutil/datagen/incentive.go @@ -4,9 +4,9 @@ import ( "math/rand" sdkmath "cosmossdk.io/math" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - itypes "github.com/babylonchain/babylon/x/incentive/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + itypes "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/testutil/datagen/init_val.go b/testutil/datagen/init_val.go index 5870ca8cf..46e883b46 100644 --- a/testutil/datagen/init_val.go +++ b/testutil/datagen/init_val.go @@ -11,8 +11,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/go-bip39" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" ) // InitializeNodeValidatorFiles creates private validator and p2p configuration files. diff --git a/testutil/datagen/raw_checkpoint.go b/testutil/datagen/raw_checkpoint.go index 88512ab0f..cc6d8d80a 100644 --- a/testutil/datagen/raw_checkpoint.go +++ b/testutil/datagen/raw_checkpoint.go @@ -5,9 +5,9 @@ import ( "github.com/boljen/go-bitmap" - txformat "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/x/checkpointing/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) const ( diff --git a/testutil/datagen/tendermint.go b/testutil/datagen/tendermint.go index cea24c2e5..c09368739 100644 --- a/testutil/datagen/tendermint.go +++ b/testutil/datagen/tendermint.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" ibctmtypes "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) func GenRandomTMHeader(r *rand.Rand, chainID string, height uint64) *cmtproto.Header { diff --git a/testutil/datagen/val_set.go b/testutil/datagen/val_set.go index 8c55f9bec..b98429e29 100644 --- a/testutil/datagen/val_set.go +++ b/testutil/datagen/val_set.go @@ -5,9 +5,9 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/crypto/bls12381" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) func GenRandomValSet(n int) epochingtypes.ValidatorSet { diff --git a/testutil/datagen/vote_ext.go b/testutil/datagen/vote_ext.go index 1f0e35f8d..f33917204 100644 --- a/testutil/datagen/vote_ext.go +++ b/testutil/datagen/vote_ext.go @@ -5,7 +5,7 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) func GenRandomVoteExtension( diff --git a/testutil/helper/gen_blocks.go b/testutil/helper/gen_blocks.go index def52b924..edb3b54d8 100644 --- a/testutil/helper/gen_blocks.go +++ b/testutil/helper/gen_blocks.go @@ -15,7 +15,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" ) // adapted from https://github.com/cosmos/cosmos-sdk/blob/v0.50.6/baseapp/abci_utils_test.go diff --git a/testutil/helper/helper.go b/testutil/helper/helper.go index 2a0390e09..6ae1de0d9 100644 --- a/testutil/helper/helper.go +++ b/testutil/helper/helper.go @@ -7,10 +7,10 @@ import ( "testing" "cosmossdk.io/core/header" - appkeepers "github.com/babylonchain/babylon/app/keepers" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/testutil/datagen" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/testutil/datagen" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" abci "github.com/cometbft/cometbft/abci/types" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/baseapp" @@ -26,11 +26,11 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/babylonchain/babylon/app" - appparams "github.com/babylonchain/babylon/app/params" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/epoching/keeper" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/app" + appparams "github.com/babylonlabs-io/babylon/app/params" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/epoching/keeper" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) // Helper is a structure which wraps the entire app and exposes functionalities for testing the epoching module diff --git a/testutil/keeper/btccheckpoint.go b/testutil/keeper/btccheckpoint.go index 528c059f5..9049041af 100644 --- a/testutil/keeper/btccheckpoint.go +++ b/testutil/keeper/btccheckpoint.go @@ -19,8 +19,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/btccheckpoint/keeper" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/keeper" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) func NewBTCCheckpointKeeper( diff --git a/testutil/keeper/btclightclient.go b/testutil/keeper/btclightclient.go index 484c275ee..ebacf965e 100644 --- a/testutil/keeper/btclightclient.go +++ b/testutil/keeper/btclightclient.go @@ -20,10 +20,10 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - bapp "github.com/babylonchain/babylon/app" - bbn "github.com/babylonchain/babylon/types" - btclightclientk "github.com/babylonchain/babylon/x/btclightclient/keeper" - btclightclientt "github.com/babylonchain/babylon/x/btclightclient/types" + bapp "github.com/babylonlabs-io/babylon/app" + bbn "github.com/babylonlabs-io/babylon/types" + btclightclientk "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + btclightclientt "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) func BTCLightClientKeeper(t testing.TB) (*btclightclientk.Keeper, sdk.Context) { diff --git a/testutil/keeper/btcstaking.go b/testutil/keeper/btcstaking.go index 4402aa477..fd00fbf7f 100644 --- a/testutil/keeper/btcstaking.go +++ b/testutil/keeper/btcstaking.go @@ -19,8 +19,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/btcstaking/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) func BTCStakingKeeper( diff --git a/testutil/keeper/checkpointing.go b/testutil/keeper/checkpointing.go index 9014c328d..f9ec59271 100644 --- a/testutil/keeper/checkpointing.go +++ b/testutil/keeper/checkpointing.go @@ -16,8 +16,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/checkpointing/keeper" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) func CheckpointingKeeper(t testing.TB, ek types.EpochingKeeper, signer keeper.BlsSigner) (*keeper.Keeper, sdk.Context, *codec.ProtoCodec) { diff --git a/testutil/keeper/epoching.go b/testutil/keeper/epoching.go index 902a11593..716761886 100644 --- a/testutil/keeper/epoching.go +++ b/testutil/keeper/epoching.go @@ -18,8 +18,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/epoching/keeper" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/keeper" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) func EpochingKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/finality.go b/testutil/keeper/finality.go index 83b6ce264..fc15a866e 100644 --- a/testutil/keeper/finality.go +++ b/testutil/keeper/finality.go @@ -18,8 +18,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" ) func FinalityKeeper(t testing.TB, bsKeeper types.BTCStakingKeeper, iKeeper types.IncentiveKeeper) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/incentive.go b/testutil/keeper/incentive.go index f5a23be90..2a6d2017b 100644 --- a/testutil/keeper/incentive.go +++ b/testutil/keeper/incentive.go @@ -18,8 +18,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/incentive/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" ) func IncentiveKeeper(t testing.TB, bankKeeper types.BankKeeper, accountKeeper types.AccountKeeper, epochingKeeper types.EpochingKeeper) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/zoneconcierge.go b/testutil/keeper/zoneconcierge.go index 1c5478db4..30ed2679e 100644 --- a/testutil/keeper/zoneconcierge.go +++ b/testutil/keeper/zoneconcierge.go @@ -23,8 +23,8 @@ import ( ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/zoneconcierge/keeper" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // zoneconciergeChannelKeeper is a stub of ChannelKeeper diff --git a/testutil/mocks/bls_signer.go b/testutil/mocks/bls_signer.go index 094e5b89c..c59a2fcd7 100644 --- a/testutil/mocks/bls_signer.go +++ b/testutil/mocks/bls_signer.go @@ -7,7 +7,7 @@ package mocks import ( reflect "reflect" - bls12381 "github.com/babylonchain/babylon/crypto/bls12381" + bls12381 "github.com/babylonlabs-io/babylon/crypto/bls12381" crypto "github.com/cometbft/cometbft/crypto" types "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" diff --git a/testutil/mocks/checkpointing_expected_keepers.go b/testutil/mocks/checkpointing_expected_keepers.go index 80f0345f2..c4975364a 100644 --- a/testutil/mocks/checkpointing_expected_keepers.go +++ b/testutil/mocks/checkpointing_expected_keepers.go @@ -8,8 +8,8 @@ import ( context "context" reflect "reflect" - types "github.com/babylonchain/babylon/x/checkpointing/types" - types0 "github.com/babylonchain/babylon/x/epoching/types" + types "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types0 "github.com/babylonlabs-io/babylon/x/epoching/types" crypto "github.com/cometbft/cometbft/proto/tendermint/crypto" types1 "github.com/cosmos/cosmos-sdk/types" types2 "github.com/cosmos/cosmos-sdk/x/staking/types" diff --git a/testutil/mocks/proposal_keeper.go b/testutil/mocks/proposal_keeper.go index 89becc9ea..0afdfeab4 100644 --- a/testutil/mocks/proposal_keeper.go +++ b/testutil/mocks/proposal_keeper.go @@ -8,9 +8,9 @@ import ( context "context" reflect "reflect" - bls12381 "github.com/babylonchain/babylon/crypto/bls12381" - types "github.com/babylonchain/babylon/x/checkpointing/types" - types0 "github.com/babylonchain/babylon/x/epoching/types" + bls12381 "github.com/babylonlabs-io/babylon/crypto/bls12381" + types "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types0 "github.com/babylonlabs-io/babylon/x/epoching/types" crypto "github.com/cometbft/cometbft/proto/tendermint/crypto" types1 "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" diff --git a/types/btc_header_bytes_test.go b/types/btc_header_bytes_test.go index df0b00dcd..7e2eb638e 100644 --- a/types/btc_header_bytes_test.go +++ b/types/btc_header_bytes_test.go @@ -6,8 +6,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/types" ) func FuzzBTCHeaderBytesBytesOps(f *testing.F) { diff --git a/types/btc_header_hash_bytes_test.go b/types/btc_header_hash_bytes_test.go index 83305e969..ba7367821 100644 --- a/types/btc_header_hash_bytes_test.go +++ b/types/btc_header_hash_bytes_test.go @@ -6,8 +6,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/chaincfg/chainhash" ) diff --git a/types/btc_schnorr_eots_test.go b/types/btc_schnorr_eots_test.go index d6fe38575..27e6397f9 100644 --- a/types/btc_schnorr_eots_test.go +++ b/types/btc_schnorr_eots_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/stretchr/testify/require" ) diff --git a/types/btc_schnorr_pk_test.go b/types/btc_schnorr_pk_test.go index 6daf60629..3efbb125e 100644 --- a/types/btc_schnorr_pk_test.go +++ b/types/btc_schnorr_pk_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/types" "github.com/stretchr/testify/require" ) diff --git a/types/btc_schnorr_pub_rand.go b/types/btc_schnorr_pub_rand.go index 154c6dee6..6cbe4b8d3 100644 --- a/types/btc_schnorr_pub_rand.go +++ b/types/btc_schnorr_pub_rand.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "fmt" - "github.com/babylonchain/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/crypto/eots" "github.com/btcsuite/btcd/btcec/v2" "github.com/decred/dcrd/dcrec/secp256k1/v4" ) diff --git a/types/btc_schnorr_pub_rand_test.go b/types/btc_schnorr_pub_rand_test.go index 06e22387e..a1fc3966c 100644 --- a/types/btc_schnorr_pub_rand_test.go +++ b/types/btc_schnorr_pub_rand_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/stretchr/testify/require" ) diff --git a/types/btc_schnorr_sig_test.go b/types/btc_schnorr_sig_test.go index c8a7f2ad8..68a001937 100644 --- a/types/btc_schnorr_sig_test.go +++ b/types/btc_schnorr_sig_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/stretchr/testify/require" ) diff --git a/types/btcutils_test.go b/types/btcutils_test.go index e9890b0a7..7bd100a53 100644 --- a/types/btcutils_test.go +++ b/types/btcutils_test.go @@ -1,7 +1,7 @@ package types_test import ( - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" btcchaincfg "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/suite" diff --git a/types/retry/retry.go b/types/retry/retry.go index 05cf78bcf..e193a83a9 100644 --- a/types/retry/retry.go +++ b/types/retry/retry.go @@ -6,9 +6,9 @@ import ( "math/big" "time" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // unrecoverableErrors is a list of errors which are unsafe and should not be retried. diff --git a/wasmbinding/bindings/utils.go b/wasmbinding/bindings/utils.go index a4c278cd9..51eb450fa 100644 --- a/wasmbinding/bindings/utils.go +++ b/wasmbinding/bindings/utils.go @@ -1,7 +1,7 @@ package bindings import ( - lcTypes "github.com/babylonchain/babylon/x/btclightclient/types" + lcTypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) // AsBtcBlockHeaderInfo translates BTCHeaderInfo to BtcBlockHeaderInfo diff --git a/wasmbinding/test/custom_query_test.go b/wasmbinding/test/custom_query_test.go index 6237edaf6..a21d9c04d 100644 --- a/wasmbinding/test/custom_query_test.go +++ b/wasmbinding/test/custom_query_test.go @@ -19,9 +19,9 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/wasmbinding/bindings" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/wasmbinding/bindings" ) // TODO consider doing it by enviromental variables as currently it may fail on some diff --git a/wasmbinding/wasm.go b/wasmbinding/wasm.go index 3dbdbb7e6..8896e0ec0 100644 --- a/wasmbinding/wasm.go +++ b/wasmbinding/wasm.go @@ -7,11 +7,11 @@ import ( errorsmod "cosmossdk.io/errors" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmvmtypes "github.com/CosmWasm/wasmvm/v2/types" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/wasmbinding/bindings" - lcKeeper "github.com/babylonchain/babylon/x/btclightclient/keeper" - epochingkeeper "github.com/babylonchain/babylon/x/epoching/keeper" - zckeeper "github.com/babylonchain/babylon/x/zoneconcierge/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/wasmbinding/bindings" + lcKeeper "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + epochingkeeper "github.com/babylonlabs-io/babylon/x/epoching/keeper" + zckeeper "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btccheckpoint/abci.go b/x/btccheckpoint/abci.go index 2307557f2..cb5579985 100644 --- a/x/btccheckpoint/abci.go +++ b/x/btccheckpoint/abci.go @@ -2,7 +2,7 @@ package btccheckpoint import ( "context" - "github.com/babylonchain/babylon/x/btccheckpoint/keeper" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/keeper" ) // EndBlocker checks if during block execution btc light client head had been diff --git a/x/btccheckpoint/client/cli/query.go b/x/btccheckpoint/client/cli/query.go index 07d645da6..43124c93c 100644 --- a/x/btccheckpoint/client/cli/query.go +++ b/x/btccheckpoint/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/btccheckpoint/client/cli/query_params.go b/x/btccheckpoint/client/cli/query_params.go index 3519dc58a..0dc96de8b 100644 --- a/x/btccheckpoint/client/cli/query_params.go +++ b/x/btccheckpoint/client/cli/query_params.go @@ -3,7 +3,7 @@ package cli import ( "context" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" diff --git a/x/btccheckpoint/client/cli/tx.go b/x/btccheckpoint/client/cli/tx.go index 9d9f5b608..d463dd636 100644 --- a/x/btccheckpoint/client/cli/tx.go +++ b/x/btccheckpoint/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/btccheckpoint/genesis.go b/x/btccheckpoint/genesis.go index 7b55f84a0..1b66e2251 100644 --- a/x/btccheckpoint/genesis.go +++ b/x/btccheckpoint/genesis.go @@ -2,8 +2,8 @@ package btccheckpoint import ( "context" - "github.com/babylonchain/babylon/x/btccheckpoint/keeper" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/keeper" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/btccheckpoint/genesis_test.go b/x/btccheckpoint/genesis_test.go index 5266094df..62b36760c 100644 --- a/x/btccheckpoint/genesis_test.go +++ b/x/btccheckpoint/genesis_test.go @@ -3,11 +3,11 @@ package btccheckpoint_test import ( "testing" - "github.com/babylonchain/babylon/x/btccheckpoint" + "github.com/babylonlabs-io/babylon/x/btccheckpoint" "github.com/stretchr/testify/require" - simapp "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + simapp "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) func TestExportGenesis(t *testing.T) { diff --git a/x/btccheckpoint/keeper/grpc_query.go b/x/btccheckpoint/keeper/grpc_query.go index 81986aea5..2ee4ad676 100644 --- a/x/btccheckpoint/keeper/grpc_query.go +++ b/x/btccheckpoint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" diff --git a/x/btccheckpoint/keeper/grpc_query_params.go b/x/btccheckpoint/keeper/grpc_query_params.go index 630c5e454..63923bf96 100644 --- a/x/btccheckpoint/keeper/grpc_query_params.go +++ b/x/btccheckpoint/keeper/grpc_query_params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/btccheckpoint/keeper/grpc_query_params_test.go b/x/btccheckpoint/keeper/grpc_query_params_test.go index b9db61836..9624ef04a 100644 --- a/x/btccheckpoint/keeper/grpc_query_params_test.go +++ b/x/btccheckpoint/keeper/grpc_query_params_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/stretchr/testify/require" ) diff --git a/x/btccheckpoint/keeper/grpc_query_test.go b/x/btccheckpoint/keeper/grpc_query_test.go index b9917de18..f1b32d76d 100644 --- a/x/btccheckpoint/keeper/grpc_query_test.go +++ b/x/btccheckpoint/keeper/grpc_query_test.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - dg "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + dg "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) func TestBtcCheckpointInfo(t *testing.T) { diff --git a/x/btccheckpoint/keeper/hooks.go b/x/btccheckpoint/keeper/hooks.go index 3fd096a46..9dfbef441 100644 --- a/x/btccheckpoint/keeper/hooks.go +++ b/x/btccheckpoint/keeper/hooks.go @@ -2,8 +2,8 @@ package keeper import ( "context" - ltypes "github.com/babylonchain/babylon/x/btclightclient/types" - etypes "github.com/babylonchain/babylon/x/epoching/types" + ltypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + etypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) // HandledHooks Helper interface to ensure Hooks implements diff --git a/x/btccheckpoint/keeper/incentive.go b/x/btccheckpoint/keeper/incentive.go index 36c17f035..259af1ae4 100644 --- a/x/btccheckpoint/keeper/incentive.go +++ b/x/btccheckpoint/keeper/incentive.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) // rewardBTCTimestamping finds the (submitter, reporter) pairs of all submissions at the diff --git a/x/btccheckpoint/keeper/keeper.go b/x/btccheckpoint/keeper/keeper.go index 7f01dad7a..9d345cebd 100644 --- a/x/btccheckpoint/keeper/keeper.go +++ b/x/btccheckpoint/keeper/keeper.go @@ -11,9 +11,9 @@ import ( "cosmossdk.io/log" "cosmossdk.io/store/prefix" - txformat "github.com/babylonchain/babylon/btctxformatter" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btccheckpoint/keeper/keeper_test.go b/x/btccheckpoint/keeper/keeper_test.go index 5eed1abd6..5ed112659 100644 --- a/x/btccheckpoint/keeper/keeper_test.go +++ b/x/btccheckpoint/keeper/keeper_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/stretchr/testify/require" ) diff --git a/x/btccheckpoint/keeper/msg_server.go b/x/btccheckpoint/keeper/msg_server.go index 17480a698..d2cc65310 100644 --- a/x/btccheckpoint/keeper/msg_server.go +++ b/x/btccheckpoint/keeper/msg_server.go @@ -4,7 +4,7 @@ import ( "context" errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" ) diff --git a/x/btccheckpoint/keeper/msg_server_test.go b/x/btccheckpoint/keeper/msg_server_test.go index 651eedb7d..c74e939c7 100644 --- a/x/btccheckpoint/keeper/msg_server_test.go +++ b/x/btccheckpoint/keeper/msg_server_test.go @@ -8,11 +8,11 @@ import ( "testing" "time" - dg "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - bkeeper "github.com/babylonchain/babylon/x/btccheckpoint/keeper" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + dg "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + bkeeper "github.com/babylonlabs-io/babylon/x/btccheckpoint/keeper" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/btcsuite/btcd/chaincfg" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" diff --git a/x/btccheckpoint/keeper/params.go b/x/btccheckpoint/keeper/params.go index a4333facb..c1fa0d068 100644 --- a/x/btccheckpoint/keeper/params.go +++ b/x/btccheckpoint/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) // SetParams sets the x/btccheckpoint module parameters. diff --git a/x/btccheckpoint/keeper/params_test.go b/x/btccheckpoint/keeper/params_test.go index 444e46eb9..08b049012 100644 --- a/x/btccheckpoint/keeper/params_test.go +++ b/x/btccheckpoint/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/stretchr/testify/require" ) diff --git a/x/btccheckpoint/keeper/submissions.go b/x/btccheckpoint/keeper/submissions.go index bcdb3e8c9..5e3f99b89 100644 --- a/x/btccheckpoint/keeper/submissions.go +++ b/x/btccheckpoint/keeper/submissions.go @@ -7,8 +7,8 @@ import ( "math" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) func (k Keeper) HasSubmission(ctx context.Context, sk types.SubmissionKey) bool { diff --git a/x/btccheckpoint/module.go b/x/btccheckpoint/module.go index 40db44228..47b73657c 100644 --- a/x/btccheckpoint/module.go +++ b/x/btccheckpoint/module.go @@ -12,9 +12,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/btccheckpoint/client/cli" - "github.com/babylonchain/babylon/x/btccheckpoint/keeper" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/client/cli" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/keeper" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/btccheckpoint/types/btccheckpoint.pb.go b/x/btccheckpoint/types/btccheckpoint.pb.go index 1f1882d7a..4e9ac7678 100644 --- a/x/btccheckpoint/types/btccheckpoint.pb.go +++ b/x/btccheckpoint/types/btccheckpoint.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -90,7 +90,7 @@ type BTCSpvProof struct { MerkleNodes []byte `protobuf:"bytes,3,opt,name=merkle_nodes,json=merkleNodes,proto3" json:"merkle_nodes,omitempty"` // Valid btc header which confirms btc_transaction. // Should have exactly 80 bytes - ConfirmingBtcHeader *github_com_babylonchain_babylon_types.BTCHeaderBytes `protobuf:"bytes,4,opt,name=confirming_btc_header,json=confirmingBtcHeader,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderBytes" json:"confirming_btc_header,omitempty"` + ConfirmingBtcHeader *github_com_babylonlabs_io_babylon_types.BTCHeaderBytes `protobuf:"bytes,4,opt,name=confirming_btc_header,json=confirmingBtcHeader,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" json:"confirming_btc_header,omitempty"` } func (m *BTCSpvProof) Reset() { *m = BTCSpvProof{} } @@ -150,8 +150,8 @@ func (m *BTCSpvProof) GetMerkleNodes() []byte { // Each provided OP_RETURN transaction can be identified by hash of block in // which transaction was included and transaction index in the block type TransactionKey struct { - Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Hash *github_com_babylonchain_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,2,opt,name=hash,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderHashBytes" json:"hash,omitempty"` + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + Hash *github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,2,opt,name=hash,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" json:"hash,omitempty"` } func (m *TransactionKey) Reset() { *m = TransactionKey{} } @@ -516,7 +516,7 @@ type BTCCheckpointInfo struct { BestSubmissionBtcBlockHeight uint64 `protobuf:"varint,2,opt,name=best_submission_btc_block_height,json=bestSubmissionBtcBlockHeight,proto3" json:"best_submission_btc_block_height,omitempty"` // hash of the btc block which determines checkpoint btc block height i.e. // youngest block of best submission - BestSubmissionBtcBlockHash *github_com_babylonchain_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,3,opt,name=best_submission_btc_block_hash,json=bestSubmissionBtcBlockHash,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderHashBytes" json:"best_submission_btc_block_hash,omitempty"` + BestSubmissionBtcBlockHash *github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,3,opt,name=best_submission_btc_block_hash,json=bestSubmissionBtcBlockHash,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" json:"best_submission_btc_block_hash,omitempty"` // the BTC checkpoint transactions of the best submission BestSubmissionTransactions []*TransactionInfo `protobuf:"bytes,4,rep,name=best_submission_transactions,json=bestSubmissionTransactions,proto3" json:"best_submission_transactions,omitempty"` // list of vigilantes' addresses of the best submission @@ -601,58 +601,58 @@ func init() { } var fileDescriptor_e096cac78d49b0a6 = []byte{ - // 814 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x8f, 0x22, 0x45, - 0x14, 0xa7, 0xa0, 0x67, 0x5d, 0x0a, 0x86, 0x1d, 0x8b, 0x59, 0xd3, 0x21, 0x93, 0x5e, 0xb6, 0x4d, - 0x5c, 0xd6, 0x28, 0x64, 0x47, 0x4d, 0x36, 0xae, 0x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8f, 0x4b, 0x0d, 0xfc, 0x78, 0xa5, 0x25, 0xde, 0x5c, 0x69, 0x89, 0xdf, 0xaf, 0xb4, 0xc4, 0xeb, - 0xcf, 0xfe, 0x6d, 0xea, 0xf3, 0xad, 0x0f, 0xa2, 0xdc, 0x02, 0xf7, 0x8e, 0xfc, 0xac, 0x7d, 0xf2, - 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0x55, 0x92, 0x5f, 0x36, 0x07, 0x00, 0x00, + // 816 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcd, 0x8b, 0xdb, 0x46, + 0x14, 0xf7, 0xd8, 0xda, 0x34, 0x1e, 0x7b, 0x9d, 0xed, 0x78, 0x53, 0x84, 0x59, 0x14, 0x47, 0x85, + 0xc6, 0x29, 0x8d, 0x4d, 0xb6, 0xd0, 0xc2, 0x06, 0x0a, 0x2b, 0x7f, 0x60, 0x93, 0xc4, 0x9b, 0xca, + 0x4a, 0x0f, 0x39, 0x54, 0x48, 0xf2, 0xd8, 0x1a, 0x6c, 0x6b, 0x8c, 0x66, 0x6c, 0xec, 0xdc, 0x5a, + 0x28, 0x94, 0x9e, 0x4a, 0xef, 0x3d, 0xf5, 0x9f, 0xe9, 0xa1, 0x87, 0x1c, 0xcb, 0x1e, 0x96, 0xb2, + 0xfb, 0x2f, 0xf4, 0x5a, 0x28, 0x33, 0xd2, 0xfa, 0x6b, 0xd7, 0x6d, 0x0d, 0xbd, 0xf9, 0xbd, 0xf9, + 0xbd, 0x8f, 0xdf, 0xef, 0xbd, 0x67, 0xc1, 0x4f, 0x5c, 0xc7, 0x9d, 0x0f, 0x69, 0x50, 0x71, 0xb9, + 0xe7, 0xf9, 0xd8, 0x1b, 0x8c, 0x29, 0x09, 0x78, 0x65, 0xfa, 0x74, 0xdd, 0x51, 0x1e, 0x87, 0x94, + 0x53, 0xa4, 0xc6, 0xe8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xdb, 0x85, 0x1e, 0xc3, 0x0f, 0xea, 0xaf, 0xce, + 0xaa, 0x4d, 0xbb, 0x63, 0x9d, 0x5a, 0xaf, 0x3b, 0x76, 0xe7, 0xb5, 0xf1, 0xb2, 0x65, 0x59, 0xf5, + 0xda, 0x41, 0xa2, 0xb0, 0xff, 0xc3, 0xcf, 0xc5, 0x74, 0x27, 0xde, 0xa5, 0xee, 0x0d, 0x68, 0xf5, + 0xac, 0xdd, 0x68, 0x99, 0x2f, 0xeb, 0xb5, 0x03, 0x10, 0x41, 0xab, 0xd1, 0xbf, 0xeb, 0x2d, 0xd0, + 0x46, 0xab, 0x7d, 0xfa, 0xa2, 0xf5, 0xa6, 0x5e, 0x3b, 0x48, 0x46, 0xd0, 0x06, 0x09, 0x9c, 0x21, + 0x79, 0x8b, 0xbb, 0x05, 0xe5, 0xfb, 0x5f, 0xb4, 0x84, 0xf1, 0xe5, 0xaf, 0x97, 0x1a, 0x78, 0x77, + 0xa9, 0x81, 0x3f, 0x2e, 0x35, 0xf0, 0xe3, 0x95, 0x96, 0x78, 0x77, 0xa5, 0x25, 0x7e, 0xbf, 0xd2, + 0x12, 0x6f, 0x3e, 0xff, 0xf7, 0xb9, 0xcf, 0x36, 0x3e, 0x8c, 0x72, 0x0f, 0xdc, 0x3b, 0xf2, 0xf3, + 0xf6, 0xe9, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x35, 0x29, 0x9d, 0x36, 0x3e, 0x07, 0x00, 0x00, } func (m *BTCSpvProof) Marshal() (dAtA []byte, err error) { @@ -1367,7 +1367,7 @@ func (m *BTCSpvProof) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderBytes m.ConfirmingBtcHeader = &v if err := m.ConfirmingBtcHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1471,7 +1471,7 @@ func (m *TransactionKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderHashBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes m.Hash = &v if err := m.Hash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2192,7 +2192,7 @@ func (m *BTCCheckpointInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderHashBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes m.BestSubmissionBtcBlockHash = &v if err := m.BestSubmissionBtcBlockHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btccheckpoint/types/btcutils.go b/x/btccheckpoint/types/btcutils.go index 9fc55702c..b03d476ae 100644 --- a/x/btccheckpoint/types/btcutils.go +++ b/x/btccheckpoint/types/btcutils.go @@ -6,7 +6,7 @@ import ( "fmt" "math/big" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/x/btccheckpoint/types/btcutils_test.go b/x/btccheckpoint/types/btcutils_test.go index 803750dd4..405b7bde3 100644 --- a/x/btccheckpoint/types/btcutils_test.go +++ b/x/btccheckpoint/types/btcutils_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/btcsuite/btcd/btcutil" btcchaincfg "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/x/btccheckpoint/types/expected_keepers.go b/x/btccheckpoint/types/expected_keepers.go index 1d9da3675..324fccefc 100644 --- a/x/btccheckpoint/types/expected_keepers.go +++ b/x/btccheckpoint/types/expected_keepers.go @@ -2,8 +2,8 @@ package types import ( "context" - txformat "github.com/babylonchain/babylon/btctxformatter" - bbn "github.com/babylonchain/babylon/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + bbn "github.com/babylonlabs-io/babylon/types" ) type BTCLightClientKeeper interface { diff --git a/x/btccheckpoint/types/genesis.pb.go b/x/btccheckpoint/types/genesis.pb.go index a99ce5d8d..804cc55d5 100644 --- a/x/btccheckpoint/types/genesis.pb.go +++ b/x/btccheckpoint/types/genesis.pb.go @@ -77,7 +77,7 @@ func init() { } var fileDescriptor_9776220697c13f63 = []byte{ - // 205 bytes of a gzipped FileDescriptorProto + // 207 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0x4e, 0xce, 0x48, 0x4d, 0xce, 0x2e, 0xc8, 0xcf, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, @@ -86,11 +86,11 @@ var fileDescriptor_9776220697c13f63 = []byte{ 0x28, 0x31, 0x17, 0x6a, 0xac, 0x92, 0x1f, 0x17, 0x8f, 0x3b, 0xc4, 0x9e, 0xe0, 0x92, 0xc4, 0x92, 0x54, 0x21, 0x3b, 0x2e, 0x36, 0x88, 0xbc, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x82, 0x1e, 0x2e, 0x7b, 0xf5, 0x02, 0xc0, 0xea, 0x9c, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xea, 0x72, - 0xf2, 0x3f, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, - 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xd3, 0xf4, 0xcc, 0x92, - 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, 0x99, 0xc9, 0x19, 0x89, 0x99, 0x79, 0x30, - 0x8e, 0x7e, 0x05, 0x9a, 0x53, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xee, 0x34, 0x06, - 0x04, 0x00, 0x00, 0xff, 0xff, 0x60, 0x50, 0x97, 0x1e, 0x28, 0x01, 0x00, 0x00, + 0x0a, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, + 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xf3, 0xf4, 0xcc, 0x92, + 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, 0x99, 0x39, 0x89, 0x49, 0xc5, 0xba, 0x99, + 0xf9, 0x30, 0xae, 0x7e, 0x05, 0x9a, 0x63, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x2e, + 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf5, 0xa9, 0x6b, 0x00, 0x2a, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/btccheckpoint/types/genesis_test.go b/x/btccheckpoint/types/genesis_test.go index 068fd4e15..aa5c98b5d 100644 --- a/x/btccheckpoint/types/genesis_test.go +++ b/x/btccheckpoint/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/stretchr/testify/require" ) diff --git a/x/btccheckpoint/types/mock_keepers.go b/x/btccheckpoint/types/mock_keepers.go index 3d533d24f..8d58c3dc3 100644 --- a/x/btccheckpoint/types/mock_keepers.go +++ b/x/btccheckpoint/types/mock_keepers.go @@ -4,8 +4,8 @@ import ( "context" "errors" - txformat "github.com/babylonchain/babylon/btctxformatter" - bbn "github.com/babylonchain/babylon/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + bbn "github.com/babylonlabs-io/babylon/types" ) type MockBTCLightClientKeeper struct { diff --git a/x/btccheckpoint/types/msgs.go b/x/btccheckpoint/types/msgs.go index 312f7cc68..ee645c24e 100644 --- a/x/btccheckpoint/types/msgs.go +++ b/x/btccheckpoint/types/msgs.go @@ -5,7 +5,7 @@ import ( fmt "fmt" "math/big" - txformat "github.com/babylonchain/babylon/btctxformatter" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) diff --git a/x/btccheckpoint/types/params.go b/x/btccheckpoint/types/params.go index 6a72e6e32..68b62f4b7 100644 --- a/x/btccheckpoint/types/params.go +++ b/x/btccheckpoint/types/params.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "fmt" - txformat "github.com/babylonchain/babylon/btctxformatter" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" ) const ( diff --git a/x/btccheckpoint/types/params.pb.go b/x/btccheckpoint/types/params.pb.go index 4f6d10a6c..a2f432d08 100644 --- a/x/btccheckpoint/types/params.pb.go +++ b/x/btccheckpoint/types/params.pb.go @@ -104,7 +104,7 @@ func init() { } var fileDescriptor_5445a19005ae983c = []byte{ - // 306 bytes of a gzipped FileDescriptorProto + // 308 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0x4e, 0xce, 0x48, 0x4d, 0xce, 0x2e, 0xc8, 0xcf, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, @@ -119,12 +119,12 @@ var fileDescriptor_5445a19005ae983c = []byte{ 0xa5, 0x20, 0x59, 0x84, 0x0a, 0x37, 0x24, 0x05, 0x21, 0x10, 0x79, 0x21, 0x07, 0x2e, 0x3e, 0x24, 0x23, 0x4a, 0x12, 0xd3, 0x25, 0x98, 0x15, 0x18, 0x35, 0x38, 0x9d, 0x24, 0x3f, 0xdd, 0x93, 0x17, 0xc5, 0xb0, 0xa2, 0x24, 0x31, 0x5d, 0x29, 0x88, 0x17, 0x21, 0x10, 0x92, 0x98, 0x6e, 0xc5, 0xf2, - 0x62, 0x81, 0x3c, 0xa3, 0x93, 0xff, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, + 0x62, 0x81, 0x3c, 0xa3, 0x53, 0xe0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, - 0x99, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x03, 0x3d, 0x39, - 0x23, 0x31, 0x33, 0x0f, 0xc6, 0xd1, 0xaf, 0x40, 0x8b, 0xaa, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, - 0x36, 0x70, 0xb8, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x78, 0xcb, 0x81, 0xd0, 0x01, - 0x00, 0x00, + 0x99, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x03, 0x3d, 0x27, + 0x31, 0xa9, 0x58, 0x37, 0x33, 0x1f, 0xc6, 0xd5, 0xaf, 0x40, 0x8b, 0xac, 0x92, 0xca, 0x82, 0xd4, + 0xe2, 0x24, 0x36, 0x70, 0xc8, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x82, 0xde, 0x0b, + 0xd2, 0x01, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/x/btccheckpoint/types/params_test.go b/x/btccheckpoint/types/params_test.go index e22e25245..a534b9a0a 100644 --- a/x/btccheckpoint/types/params_test.go +++ b/x/btccheckpoint/types/params_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/stretchr/testify/require" ) diff --git a/x/btccheckpoint/types/query.pb.go b/x/btccheckpoint/types/query.pb.go index 05ce91205..88a83251e 100644 --- a/x/btccheckpoint/types/query.pb.go +++ b/x/btccheckpoint/types/query.pb.go @@ -720,67 +720,67 @@ func init() { } var fileDescriptor_6b9a2f46ada7d854 = []byte{ - // 949 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x6f, 0xdc, 0x44, - 0x14, 0x8e, 0x37, 0x4e, 0x94, 0x7d, 0x69, 0xa1, 0x9d, 0x2e, 0x62, 0xb3, 0x09, 0xdb, 0xad, 0xd5, - 0xa6, 0x11, 0x22, 0xb6, 0xb6, 0xa1, 0x2d, 0x15, 0x08, 0x89, 0x8d, 0x68, 0xa9, 0x40, 0x10, 0xdc, - 0xc0, 0x81, 0x8b, 0x35, 0xf6, 0x4e, 0xec, 0x51, 0x76, 0x3d, 0xae, 0x67, 0x36, 0xca, 0xaa, 0xe2, + // 950 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0x3a, 0x9b, 0x28, 0x7e, 0x69, 0xa1, 0x9d, 0x1a, 0xe1, 0x38, 0xc1, 0x75, 0x57, 0x6d, + 0x1a, 0x21, 0xbc, 0x2b, 0x37, 0xd0, 0x50, 0x81, 0x90, 0x70, 0x44, 0x4b, 0x05, 0x42, 0xe9, 0x36, + 0x70, 0xe0, 0xb2, 0x9a, 0x5d, 0x4f, 0xd6, 0xa3, 0xd8, 0x3b, 0xdb, 0x9d, 0x71, 0x14, 0xab, 0xe2, 0xc2, 0x0d, 0x71, 0x00, 0x89, 0xbf, 0xc1, 0x11, 0x6e, 0x08, 0x89, 0x03, 0x52, 0x25, 0x2e, 0x15, - 0x5c, 0x38, 0x21, 0x94, 0xf0, 0x43, 0x2a, 0xcf, 0xcc, 0xae, 0xbd, 0x9b, 0xb8, 0x9b, 0xf4, 0xb6, - 0xf6, 0x7c, 0xdf, 0xf7, 0xbe, 0xf9, 0xde, 0x8b, 0x5f, 0xe0, 0xba, 0x8f, 0xfd, 0x61, 0x8f, 0xc5, - 0x8e, 0x2f, 0x82, 0x20, 0x22, 0xc1, 0x7e, 0xc2, 0x68, 0x2c, 0x9c, 0x83, 0xb6, 0xf3, 0x78, 0x40, - 0xd2, 0xa1, 0x9d, 0xa4, 0x4c, 0x30, 0x54, 0xd7, 0x28, 0x7b, 0x02, 0x65, 0x1f, 0xb4, 0x1b, 0xb5, - 0x90, 0x85, 0x4c, 0x82, 0x9c, 0xec, 0x97, 0xc2, 0x37, 0x56, 0x02, 0xc6, 0xfb, 0x8c, 0x7b, 0xea, - 0x40, 0x3d, 0xe8, 0xa3, 0xb5, 0x90, 0xb1, 0xb0, 0x47, 0x1c, 0x9c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ff, 0x12, 0x02, + 0x0c, 0x21, 0x84, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/btccheckpoint/types/tx.pb.go b/x/btccheckpoint/types/tx.pb.go index f02e60b7d..3e3f75258 100644 --- a/x/btccheckpoint/types/tx.pb.go +++ b/x/btccheckpoint/types/tx.pb.go @@ -229,7 +229,7 @@ func init() { func init() { proto.RegisterFile("babylon/btccheckpoint/v1/tx.proto", fileDescriptor_69a562325f8b35c5) } var fileDescriptor_69a562325f8b35c5 = []byte{ - // 439 bytes of a gzipped FileDescriptorProto + // 441 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0x4e, 0xce, 0x48, 0x4d, 0xce, 0x2e, 0xc8, 0xcf, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x80, @@ -252,12 +252,12 @@ var fileDescriptor_69a562325f8b35c5 = []byte{ 0xcd, 0x69, 0x30, 0x67, 0x1b, 0x7d, 0x67, 0xe4, 0x62, 0xf6, 0x2d, 0x4e, 0x17, 0xaa, 0xe6, 0x12, 0xc4, 0x0c, 0x60, 0x3d, 0xdc, 0xf6, 0x62, 0x0b, 0x0b, 0x29, 0x33, 0xd2, 0xd4, 0xc3, 0x1c, 0x21, 0x94, 0xc3, 0xc5, 0x83, 0x12, 0x6e, 0x9a, 0x78, 0xcd, 0x41, 0x56, 0x2a, 0x65, 0x48, 0xb4, 0x52, - 0x98, 0x6d, 0x52, 0xac, 0x0d, 0xcf, 0x37, 0x68, 0x31, 0x3a, 0xf9, 0x9f, 0x78, 0x24, 0xc7, 0x78, + 0x98, 0x6d, 0x52, 0xac, 0x0d, 0xcf, 0x37, 0x68, 0x31, 0x3a, 0x05, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, - 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x69, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, - 0xae, 0x3e, 0xd4, 0xf4, 0xe4, 0x8c, 0xc4, 0xcc, 0x3c, 0x18, 0x47, 0xbf, 0x02, 0x2d, 0x1d, 0x97, - 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x93, 0xab, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x00, - 0x2e, 0x80, 0x63, 0x8c, 0x03, 0x00, 0x00, + 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x79, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, + 0xae, 0x3e, 0xd4, 0xf4, 0x9c, 0xc4, 0xa4, 0x62, 0xdd, 0xcc, 0x7c, 0x18, 0x57, 0xbf, 0x02, 0x2d, + 0x25, 0x97, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x13, 0xac, 0x31, 0x20, 0x00, 0x00, 0xff, + 0xff, 0x7e, 0xe3, 0x2b, 0xd2, 0x8e, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/btccheckpoint/types/types.go b/x/btccheckpoint/types/types.go index fa7423a56..e70846158 100644 --- a/x/btccheckpoint/types/types.go +++ b/x/btccheckpoint/types/types.go @@ -5,8 +5,8 @@ import ( "fmt" "math/big" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btclightclient/README.md b/x/btclightclient/README.md index 65609d6f1..7b7134b97 100644 --- a/x/btclightclient/README.md +++ b/x/btclightclient/README.md @@ -115,10 +115,10 @@ which contains the BTC header along with some metadata. message BTCHeaderInfo { bytes header = 1 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" ]; bytes hash = 2 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderHashBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" ]; uint64 height = 3; bytes work = 4 [ (gogoproto.customtype) = "cosmossdk.io/math.Uint" ]; @@ -153,7 +153,7 @@ message MsgInsertHeaders { string signer = 1; repeated bytes headers = 2 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/types.BTCHeaderBytes" ]; + "github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" ]; } ``` diff --git a/x/btclightclient/client/cli/query.go b/x/btclightclient/client/cli/query.go index 17faccb2b..fa956d287 100644 --- a/x/btclightclient/client/cli/query.go +++ b/x/btclightclient/client/cli/query.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" diff --git a/x/btclightclient/client/cli/tx.go b/x/btclightclient/client/cli/tx.go index bcf27f541..d2e20d367 100644 --- a/x/btclightclient/client/cli/tx.go +++ b/x/btclightclient/client/cli/tx.go @@ -3,7 +3,7 @@ package cli import ( "fmt" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" diff --git a/x/btclightclient/genesis.go b/x/btclightclient/genesis.go index 81d2f3ff5..a87edd838 100644 --- a/x/btclightclient/genesis.go +++ b/x/btclightclient/genesis.go @@ -3,8 +3,8 @@ package btclightclient import ( "context" - "github.com/babylonchain/babylon/x/btclightclient/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/btclightclient/genesis_test.go b/x/btclightclient/genesis_test.go index a91066e4f..98ffd13a4 100644 --- a/x/btclightclient/genesis_test.go +++ b/x/btclightclient/genesis_test.go @@ -5,13 +5,13 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - thelper "github.com/babylonchain/babylon/testutil/helper" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/testutil/nullify" - "github.com/babylonchain/babylon/x/btclightclient" - "github.com/babylonchain/babylon/x/btclightclient/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + thelper "github.com/babylonlabs-io/babylon/testutil/helper" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/nullify" + "github.com/babylonlabs-io/babylon/x/btclightclient" + "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cometbft/cometbft/crypto/secp256k1" "github.com/stretchr/testify/require" diff --git a/x/btclightclient/keeper/base_btc_header.go b/x/btclightclient/keeper/base_btc_header.go index 6c860a512..b1d98710c 100644 --- a/x/btclightclient/keeper/base_btc_header.go +++ b/x/btclightclient/keeper/base_btc_header.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) func (k Keeper) GetBaseBTCHeader(ctx context.Context) *types.BTCHeaderInfo { diff --git a/x/btclightclient/keeper/base_btc_header_test.go b/x/btclightclient/keeper/base_btc_header_test.go index 8fa2eca7f..b6e94f81b 100644 --- a/x/btclightclient/keeper/base_btc_header_test.go +++ b/x/btclightclient/keeper/base_btc_header_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/keeper" "math/rand" "testing" ) diff --git a/x/btclightclient/keeper/grpc_query.go b/x/btclightclient/keeper/grpc_query.go index 567c51b19..91d3792e8 100644 --- a/x/btclightclient/keeper/grpc_query.go +++ b/x/btclightclient/keeper/grpc_query.go @@ -3,8 +3,8 @@ package keeper import ( "context" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" diff --git a/x/btclightclient/keeper/grpc_query_test.go b/x/btclightclient/keeper/grpc_query_test.go index 1d2829614..6a6fed783 100644 --- a/x/btclightclient/keeper/grpc_query_test.go +++ b/x/btclightclient/keeper/grpc_query_test.go @@ -4,12 +4,12 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/cosmos/cosmos-sdk/types/query" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) func FuzzHashesQuery(f *testing.F) { diff --git a/x/btclightclient/keeper/hooks.go b/x/btclightclient/keeper/hooks.go index 17ff31d24..076b15da0 100644 --- a/x/btclightclient/keeper/hooks.go +++ b/x/btclightclient/keeper/hooks.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) // Implements BTCLightClientHooks interface diff --git a/x/btclightclient/keeper/keeper.go b/x/btclightclient/keeper/keeper.go index 9cb0330bc..64b7508ba 100644 --- a/x/btclightclient/keeper/keeper.go +++ b/x/btclightclient/keeper/keeper.go @@ -7,11 +7,11 @@ import ( corestoretypes "cosmossdk.io/core/store" "cosmossdk.io/log" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" proto "github.com/cosmos/gogoproto/proto" diff --git a/x/btclightclient/keeper/keeper_test.go b/x/btclightclient/keeper/keeper_test.go index 93e1ff905..90ddeaa96 100644 --- a/x/btclightclient/keeper/keeper_test.go +++ b/x/btclightclient/keeper/keeper_test.go @@ -6,12 +6,12 @@ import ( "testing" sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/btcsuite/btcd/chaincfg" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/x/btclightclient/keeper/msg_server.go b/x/btclightclient/keeper/msg_server.go index cd8fff632..90de17942 100644 --- a/x/btclightclient/keeper/msg_server.go +++ b/x/btclightclient/keeper/msg_server.go @@ -4,7 +4,7 @@ import ( "context" errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" ) diff --git a/x/btclightclient/keeper/msg_server_test.go b/x/btclightclient/keeper/msg_server_test.go index 8d9bd3735..343b6859a 100644 --- a/x/btclightclient/keeper/msg_server_test.go +++ b/x/btclightclient/keeper/msg_server_test.go @@ -6,12 +6,12 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btclightclient/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btclightclient/keeper/params.go b/x/btclightclient/keeper/params.go index bd68dd5d6..4e2847d13 100644 --- a/x/btclightclient/keeper/params.go +++ b/x/btclightclient/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) // SetParams sets the x/btclightclient module parameters. diff --git a/x/btclightclient/keeper/params_test.go b/x/btclightclient/keeper/params_test.go index 4dc68b70f..15129bd3a 100644 --- a/x/btclightclient/keeper/params_test.go +++ b/x/btclightclient/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/stretchr/testify/require" ) diff --git a/x/btclightclient/keeper/state.go b/x/btclightclient/keeper/state.go index 27c869cea..55ddb4e71 100644 --- a/x/btclightclient/keeper/state.go +++ b/x/btclightclient/keeper/state.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btclightclient/keeper/state_test.go b/x/btclightclient/keeper/state_test.go index eb1e3c892..10d5e34e8 100644 --- a/x/btclightclient/keeper/state_test.go +++ b/x/btclightclient/keeper/state_test.go @@ -4,11 +4,11 @@ import ( "math/rand" "testing" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/stretchr/testify/require" ) diff --git a/x/btclightclient/keeper/triggers.go b/x/btclightclient/keeper/triggers.go index e01a102c9..15f91f0b6 100644 --- a/x/btclightclient/keeper/triggers.go +++ b/x/btclightclient/keeper/triggers.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) func (k Keeper) triggerHeaderInserted(ctx context.Context, headerInfo *types.BTCHeaderInfo) { diff --git a/x/btclightclient/keeper/utils.go b/x/btclightclient/keeper/utils.go index 55d353cbf..9cc340ab4 100644 --- a/x/btclightclient/keeper/utils.go +++ b/x/btclightclient/keeper/utils.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/codec" ) diff --git a/x/btclightclient/keeper/utils_test.go b/x/btclightclient/keeper/utils_test.go index ec1131655..cbf1a3421 100644 --- a/x/btclightclient/keeper/utils_test.go +++ b/x/btclightclient/keeper/utils_test.go @@ -6,8 +6,8 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/x/btclightclient/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/require" diff --git a/x/btclightclient/module.go b/x/btclightclient/module.go index 6c6982d4a..74957909b 100644 --- a/x/btclightclient/module.go +++ b/x/btclightclient/module.go @@ -12,9 +12,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/btclightclient/client/cli" - "github.com/babylonchain/babylon/x/btclightclient/keeper" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/client/cli" + "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/btclightclient/types/btc_header_info.go b/x/btclightclient/types/btc_header_info.go index 17f6a1517..2cfdb00f6 100644 --- a/x/btclightclient/types/btc_header_info.go +++ b/x/btclightclient/types/btc_header_info.go @@ -5,7 +5,7 @@ import ( "fmt" sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" ) func NewBTCHeaderInfo(header *bbn.BTCHeaderBytes, headerHash *bbn.BTCHeaderHashBytes, height uint64, work *sdkmath.Uint) *BTCHeaderInfo { diff --git a/x/btclightclient/types/btc_header_info_test.go b/x/btclightclient/types/btc_header_info_test.go index f0afe81cd..10bea02f1 100644 --- a/x/btclightclient/types/btc_header_info_test.go +++ b/x/btclightclient/types/btc_header_info_test.go @@ -9,9 +9,9 @@ import ( sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/stretchr/testify/require" ) diff --git a/x/btclightclient/types/btc_light_client.go b/x/btclightclient/types/btc_light_client.go index dbbd19204..69440383f 100644 --- a/x/btclightclient/types/btc_light_client.go +++ b/x/btclightclient/types/btc_light_client.go @@ -5,7 +5,7 @@ import ( "time" sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/x/btclightclient/types/btclightclient.pb.go b/x/btclightclient/types/btclightclient.pb.go index dd50ff83e..5384959e7 100644 --- a/x/btclightclient/types/btclightclient.pb.go +++ b/x/btclightclient/types/btclightclient.pb.go @@ -6,7 +6,7 @@ package types import ( cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -34,10 +34,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // to the header Bits field // and the total work of the header. type BTCHeaderInfo struct { - Header *github_com_babylonchain_babylon_types.BTCHeaderBytes `protobuf:"bytes,1,opt,name=header,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderBytes" json:"header,omitempty"` - Hash *github_com_babylonchain_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,2,opt,name=hash,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderHashBytes" json:"hash,omitempty"` - Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` - Work *cosmossdk_io_math.Uint `protobuf:"bytes,4,opt,name=work,proto3,customtype=cosmossdk.io/math.Uint" json:"work,omitempty"` + Header *github_com_babylonlabs_io_babylon_types.BTCHeaderBytes `protobuf:"bytes,1,opt,name=header,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" json:"header,omitempty"` + Hash *github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,2,opt,name=hash,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" json:"hash,omitempty"` + Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` + Work *cosmossdk_io_math.Uint `protobuf:"bytes,4,opt,name=work,proto3,customtype=cosmossdk.io/math.Uint" json:"work,omitempty"` } func (m *BTCHeaderInfo) Reset() { *m = BTCHeaderInfo{} } @@ -89,25 +89,25 @@ func init() { } var fileDescriptor_84bf438d909b681d = []byte{ - // 282 bytes of a gzipped FileDescriptorProto + // 284 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4b, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0xce, 0xc9, 0x4c, 0xcf, 0x00, 0x91, 0xa9, 0x79, 0x25, 0xfa, 0x65, 0x86, 0x68, 0x22, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x92, 0x50, 0xf5, 0x7a, 0x68, 0xb2, 0x65, 0x86, 0x52, 0x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24, 0xc7, 0x38, - 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0x11, 0x72, - 0x61, 0x05, 0x7a, 0x94, 0x80, 0x9d, 0x9c, 0xc4, 0x06, 0x0e, 0x56, 0x63, 0x40, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x13, 0xc6, 0x69, 0x40, 0xb9, 0x01, 0x00, 0x00, + 0x83, 0xd2, 0x7f, 0x46, 0x2e, 0x5e, 0xa7, 0x10, 0x67, 0x8f, 0xd4, 0xc4, 0x94, 0xd4, 0x22, 0xcf, + 0xbc, 0xb4, 0x7c, 0xa1, 0x20, 0x2e, 0xb6, 0x0c, 0x30, 0x4f, 0x82, 0x51, 0x81, 0x51, 0x83, 0xc7, + 0xc9, 0xea, 0xd6, 0x3d, 0x79, 0xb3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, + 0x7d, 0xa8, 0x0d, 0x39, 0x89, 0x49, 0xc5, 0xba, 0x99, 0xf9, 0x30, 0xae, 0x7e, 0x49, 0x65, 0x41, + 0x6a, 0xb1, 0x1e, 0xdc, 0x28, 0xa7, 0xca, 0x92, 0xd4, 0xe2, 0x20, 0xa8, 0x49, 0x42, 0x41, 0x5c, + 0x2c, 0x19, 0x89, 0xc5, 0x19, 0x12, 0x4c, 0x60, 0x13, 0xed, 0x6e, 0xdd, 0x93, 0xb7, 0x22, 0xd9, + 0x44, 0x8f, 0xc4, 0xe2, 0x0c, 0x88, 0xa9, 0x60, 0xb3, 0x84, 0xc4, 0x40, 0xee, 0x04, 0x79, 0x51, + 0x82, 0x59, 0x81, 0x51, 0x83, 0x25, 0x08, 0xca, 0x13, 0xd2, 0xe3, 0x62, 0x29, 0xcf, 0x2f, 0xca, + 0x96, 0x60, 0x01, 0xdb, 0x25, 0x75, 0xeb, 0x9e, 0xbc, 0x58, 0x72, 0x7e, 0x71, 0x6e, 0x7e, 0x71, + 0x71, 0x4a, 0xb6, 0x5e, 0x66, 0xbe, 0x7e, 0x6e, 0x62, 0x49, 0x86, 0x5e, 0x68, 0x66, 0x5e, 0x49, + 0x10, 0x58, 0x9d, 0x53, 0xd0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, + 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x59, + 0x10, 0x76, 0x63, 0x05, 0x7a, 0xc4, 0x80, 0x1d, 0x9d, 0xc4, 0x06, 0x0e, 0x5c, 0x63, 0x40, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x93, 0x3f, 0xdd, 0x6c, 0xbf, 0x01, 0x00, 0x00, } func (m *BTCHeaderInfo) Marshal() (dAtA []byte, err error) { @@ -273,7 +273,7 @@ func (m *BTCHeaderInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderBytes m.Header = &v if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -308,7 +308,7 @@ func (m *BTCHeaderInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderHashBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes m.Hash = &v if err := m.Hash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btclightclient/types/event.pb.go b/x/btclightclient/types/event.pb.go index 71f8fcda3..aa0587758 100644 --- a/x/btclightclient/types/event.pb.go +++ b/x/btclightclient/types/event.pb.go @@ -176,7 +176,7 @@ func init() { } var fileDescriptor_519f2d655b639c5a = []byte{ - // 228 bytes of a gzipped FileDescriptorProto + // 230 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0xce, 0xc9, 0x4c, 0xcf, 0x00, 0x91, 0xa9, 0x79, 0x25, 0xfa, 0x65, 0x86, 0xfa, 0xa9, 0x65, 0xa9, 0x79, 0x25, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, @@ -186,12 +186,12 @@ var fileDescriptor_519f2d655b639c5a = []byte{ 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x0d, 0x3d, 0x9c, 0xf6, 0xe9, 0x39, 0x85, 0x38, 0x7b, 0x80, 0xd5, 0x7a, 0xe6, 0xa5, 0xe5, 0x07, 0x41, 0xf5, 0x29, 0x85, 0x73, 0x09, 0x23, 0x9b, 0xea, 0x96, 0x5f, 0x54, 0x9e, 0x58, 0x94, 0x42, 0x05, 0x83, 0xa3, 0xb8, 0xc4, 0x60, 0x06, 0xc3, 0x64, 0x8b, 0x53, - 0x8b, 0x4a, 0x52, 0xa9, 0x60, 0xb6, 0x53, 0xc0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, + 0x8b, 0x4a, 0x52, 0xa9, 0x60, 0xb6, 0x53, 0xd0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, - 0x31, 0x44, 0x99, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x4d, - 0x4d, 0xce, 0x48, 0xcc, 0xcc, 0x83, 0x71, 0xf4, 0x2b, 0xd0, 0x83, 0xbb, 0xa4, 0xb2, 0x20, 0xb5, - 0x38, 0x89, 0x0d, 0x1c, 0xc6, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x16, 0x0b, 0x33, 0xea, - 0xd7, 0x01, 0x00, 0x00, + 0x31, 0x44, 0x59, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x4d, + 0xcd, 0x49, 0x4c, 0x2a, 0xd6, 0xcd, 0xcc, 0x87, 0x71, 0xf5, 0x2b, 0xd0, 0x03, 0xbc, 0xa4, 0xb2, + 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xca, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xba, 0x96, + 0x2b, 0x51, 0xd9, 0x01, 0x00, 0x00, } func (m *EventBTCRollBack) Marshal() (dAtA []byte, err error) { diff --git a/x/btclightclient/types/genesis.go b/x/btclightclient/types/genesis.go index 8cd976143..13835fa2b 100644 --- a/x/btclightclient/types/genesis.go +++ b/x/btclightclient/types/genesis.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/chaincfg" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/btclightclient/types/genesis.pb.go b/x/btclightclient/types/genesis.pb.go index df669279a..cabb6090e 100644 --- a/x/btclightclient/types/genesis.pb.go +++ b/x/btclightclient/types/genesis.pb.go @@ -85,7 +85,7 @@ func init() { } var fileDescriptor_4f95902e4096217a = []byte{ - // 256 bytes of a gzipped FileDescriptorProto + // 258 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0xce, 0xc9, 0x4c, 0xcf, 0x00, 0x91, 0xa9, 0x79, 0x25, 0xfa, 0x65, 0x86, 0xfa, 0xe9, 0xa9, 0x79, 0xa9, 0xc5, 0x99, 0xc5, 0x7a, 0x05, 0x45, 0xf9, 0x25, @@ -97,11 +97,12 @@ var fileDescriptor_4f95902e4096217a = []byte{ 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0xda, 0x84, 0x3c, 0xb9, 0xb8, 0x93, 0x4a, 0x92, 0xe3, 0x33, 0x52, 0x13, 0x53, 0x52, 0x8b, 0x8a, 0x25, 0x98, 0x14, 0x98, 0x35, 0xb8, 0x8d, 0x34, 0xf0, 0x98, 0xe2, 0x14, 0xe2, 0xec, 0x01, 0x56, 0xec, 0x99, 0x97, 0x96, 0x1f, 0xc4, 0x95, 0x54, 0x92, 0x0c, - 0xe1, 0x16, 0x3b, 0x05, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, - 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x59, - 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xd4, 0xe4, 0xe4, 0x8c, 0xc4, - 0xcc, 0x3c, 0x18, 0x47, 0xbf, 0x02, 0xdd, 0xe3, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, - 0x5f, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xed, 0x4f, 0xca, 0x25, 0xa9, 0x01, 0x00, 0x00, + 0xe1, 0x16, 0x3b, 0x05, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, + 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x45, + 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xd4, 0xe4, 0x9c, 0xc4, 0xa4, + 0x62, 0xdd, 0xcc, 0x7c, 0x18, 0x57, 0xbf, 0x02, 0xdd, 0xeb, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, + 0x6c, 0x60, 0x7f, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xbc, 0xe4, 0xd2, 0xd7, 0xab, 0x01, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/btclightclient/types/genesis_test.go b/x/btclightclient/types/genesis_test.go index 29695c129..3d64269ce 100644 --- a/x/btclightclient/types/genesis_test.go +++ b/x/btclightclient/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/stretchr/testify/require" ) diff --git a/x/btclightclient/types/keys.go b/x/btclightclient/types/keys.go index b0844f440..4761c2be8 100644 --- a/x/btclightclient/types/keys.go +++ b/x/btclightclient/types/keys.go @@ -1,7 +1,7 @@ package types import ( - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btclightclient/types/keys_test.go b/x/btclightclient/types/keys_test.go index e075a6c4e..e7095b95c 100644 --- a/x/btclightclient/types/keys_test.go +++ b/x/btclightclient/types/keys_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btclightclient/types/msgs.go b/x/btclightclient/types/msgs.go index 038b9ac8c..7b6bfbdd8 100644 --- a/x/btclightclient/types/msgs.go +++ b/x/btclightclient/types/msgs.go @@ -5,7 +5,7 @@ import ( "fmt" "math/big" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btclightclient/types/msgs_test.go b/x/btclightclient/types/msgs_test.go index a55240fa0..9a4766fd8 100644 --- a/x/btclightclient/types/msgs_test.go +++ b/x/btclightclient/types/msgs_test.go @@ -7,9 +7,9 @@ import ( sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/x/btclightclient/types/params.pb.go b/x/btclightclient/types/params.pb.go index bdd917254..483235b12 100644 --- a/x/btclightclient/types/params.pb.go +++ b/x/btclightclient/types/params.pb.go @@ -79,7 +79,7 @@ func init() { } var fileDescriptor_1e4c5f7a17079e1f = []byte{ - // 211 bytes of a gzipped FileDescriptorProto + // 213 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0xce, 0xc9, 0x4c, 0xcf, 0x00, 0x91, 0xa9, 0x79, 0x25, 0xfa, 0x65, 0x86, 0xfa, 0x05, 0x89, 0x45, 0x89, 0xb9, 0xc5, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, @@ -88,12 +88,12 @@ var fileDescriptor_1e4c5f7a17079e1f = []byte{ 0x5c, 0x92, 0x99, 0x79, 0xc5, 0xa9, 0x45, 0x25, 0xf1, 0x19, 0xa9, 0x89, 0x29, 0xa9, 0x45, 0xc5, 0xf1, 0x89, 0x39, 0x39, 0xf9, 0xe5, 0xf1, 0x39, 0x99, 0xc5, 0x25, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0x9c, 0x41, 0x62, 0x10, 0x05, 0x1e, 0x10, 0x79, 0x47, 0x90, 0xb4, 0x4f, 0x66, 0x71, 0x89, 0x15, - 0xcb, 0x8b, 0x05, 0xf2, 0x8c, 0x4e, 0x01, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, + 0xcb, 0x8b, 0x05, 0xf2, 0x8c, 0x4e, 0x41, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, - 0x10, 0x65, 0x96, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x75, 0x60, - 0x72, 0x46, 0x62, 0x66, 0x1e, 0x8c, 0xa3, 0x5f, 0x81, 0xee, 0xaf, 0x92, 0xca, 0x82, 0xd4, 0xe2, - 0x24, 0x36, 0xb0, 0x1b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x30, 0xe4, 0x07, 0x29, 0xfe, - 0x00, 0x00, 0x00, + 0x10, 0x65, 0x91, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x75, 0x60, + 0x4e, 0x62, 0x52, 0xb1, 0x6e, 0x66, 0x3e, 0x8c, 0xab, 0x5f, 0x81, 0xee, 0xb3, 0x92, 0xca, 0x82, + 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x2b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x43, 0x29, 0x40, + 0xa2, 0x00, 0x01, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/x/btclightclient/types/querier.go b/x/btclightclient/types/querier.go index a35893026..6636f1eff 100644 --- a/x/btclightclient/types/querier.go +++ b/x/btclightclient/types/querier.go @@ -1,7 +1,7 @@ package types import ( - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/x/btclightclient/types/querier_test.go b/x/btclightclient/types/querier_test.go index 5a23c0c12..a60c514fd 100644 --- a/x/btclightclient/types/querier_test.go +++ b/x/btclightclient/types/querier_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/x/btclightclient/types/query.pb.go b/x/btclightclient/types/query.pb.go index 6148e7143..b8eb8bb97 100644 --- a/x/btclightclient/types/query.pb.go +++ b/x/btclightclient/types/query.pb.go @@ -7,7 +7,7 @@ import ( context "context" cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" @@ -164,8 +164,8 @@ func (m *QueryHashesRequest) GetPagination() *query.PageRequest { // QueryHashesResponse is response type for the Query/Hashes RPC method. type QueryHashesResponse struct { - Hashes []github_com_babylonchain_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,1,rep,name=hashes,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderHashBytes" json:"hashes,omitempty"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` + Hashes []github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,1,rep,name=hashes,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" json:"hashes,omitempty"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (m *QueryHashesResponse) Reset() { *m = QueryHashesResponse{} } @@ -211,7 +211,7 @@ func (m *QueryHashesResponse) GetPagination() *query.PageResponse { // QueryContainsRequest is request type for the Query/Contains RPC method. // It involves checking whether a hash is maintained by the module. type QueryContainsRequest struct { - Hash *github_com_babylonchain_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,1,opt,name=hash,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderHashBytes" json:"hash,omitempty"` + Hash *github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes `protobuf:"bytes,1,opt,name=hash,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderHashBytes" json:"hash,omitempty"` } func (m *QueryContainsRequest) Reset() { *m = QueryContainsRequest{} } @@ -836,65 +836,65 @@ func init() { } var fileDescriptor_3961270631e52721 = []byte{ - // 920 bytes of a gzipped FileDescriptorProto + // 924 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcf, 0x6f, 0x1b, 0x45, 0x14, 0xc7, 0x33, 0x89, 0xeb, 0x26, 0x2f, 0x20, 0x60, 0x48, 0x83, 0xb3, 0x02, 0x27, 0xdd, 0x92, - 0x1f, 0x4d, 0xf1, 0x4e, 0x9c, 0x00, 0xea, 0x01, 0x09, 0xe1, 0x20, 0x30, 0x48, 0x48, 0xc6, 0x32, - 0x1c, 0x50, 0xa5, 0x68, 0xec, 0x0c, 0xbb, 0xab, 0xc6, 0x3b, 0x5b, 0xef, 0x26, 0xc4, 0x42, 0x5c,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c, 0x61, 0x02, 0xa9, 0x03, 0xe4, - 0xfb, 0x84, 0xfb, 0xc1, 0xbe, 0x6a, 0xec, 0xaa, 0x6f, 0xc8, 0xef, 0x04, 0x96, 0x87, 0x15, 0x90, - 0xeb, 0x63, 0xb8, 0xee, 0xe9, 0xa1, 0x99, 0x5b, 0xb2, 0xb8, 0xbb, 0x33, 0xe6, 0x72, 0xf7, 0x26, - 0xfc, 0x51, 0xf0, 0xa5, 0xec, 0xfd, 0xa8, 0x49, 0x81, 0xab, 0xbb, 0x1a, 0x2f, 0xc1, 0x0b, 0x1a, - 0xb7, 0xe1, 0x87, 0xc9, 0xa3, 0x79, 0x0f, 0x5e, 0xec, 0x6f, 0x21, 0x7b, 0x15, 0xf2, 0x46, 0x1a, - 0x47, 0x33, 0x3d, 0x3a, 0xe6, 0xdb, 0x05, 0x9c, 0x4f, 0x85, 0x47, 0xc2, 0x84, 0x25, 0xba, 0x2d, - 0x78, 0x65, 0xe4, 0xe4, 0xca, 0xe5, 0x4b, 0x28, 0x62, 0x42, 0xde, 0x17, 0x61, 0xec, 0x5d, 0x76, - 0xd3, 0x16, 0xf0, 0xa6, 0xed, 0x40, 0x61, 0x34, 0x1c, 0xa1, 0x96, 0xe0, 0xda, 0xa1, 0xda, 0xd0, - 0x09, 0xb9, 0xba, 0x59, 0xd8, 0xbf, 0x11, 0xb8, 0x71, 0x29, 0x02, 0x7d, 0x0d, 0xc0, 0x40, 0x1c, - 0x78, 0xe2, 0x14, 0x55, 0x16, 0xcc, 0x4e, 0x55, 0x9c, 0xd2, 0x15, 0x98, 0x57, 0x92, 0xfa, 0x70, - 0x56, 0x1f, 0x5e, 0x57, 0x6b, 0x75, 0xb4, 0xac, 0xda, 0x57, 0x5d, 0x16, 0xe6, 0xb4, 0x14, 0xae, - 0xe8, 0x7b, 0x90, 0xfb, 0x4a, 0x76, 0xee, 0x17, 0x72, 0x2a, 0xbc, 0x52, 0x52, 0x46, 0xf8, 0xe4, - 0x6c, 0x75, 0x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2c, 0xe2, 0x6c, 0x68, 0x9c, 0x35, 0x5a, 0x1c, - 0x83, 0x13, 0xfb, 0x21, 0xfd, 0x85, 0x00, 0xf4, 0xcd, 0x91, 0x66, 0x36, 0x3e, 0x62, 0xb1, 0xd6, - 0xee, 0x34, 0x29, 0x48, 0x57, 0xd2, 0x74, 0x9b, 0x74, 0x7d, 0x0c, 0x9d, 0x7a, 0xe3, 0x18, 0x27, - 0xa3, 0xbf, 0x12, 0x58, 0x1c, 0x70, 0x4b, 0x9a, 0x29, 0x39, 0xea, 0xc4, 0xd6, 0xde, 0x54, 0x39, - 0xc8, 0xc9, 0x34, 0xe7, 0x6d, 0xba, 0x39, 0x86, 0x53, 0x5b, 0x34, 0xfb, 0x5a, 0x3d, 0xc7, 0xdf, - 0x54, 0x6a, 0x8f, 0xce, 0x8b, 0xe4, 0xf1, 0x79, 0x91, 0xfc, 0x73, 0x5e, 0x24, 0xdf, 0x5f, 0x14, - 0x67, 0x1e, 0x5f, 0x14, 0x67, 0xfe, 0xbe, 0x28, 0xce, 0x7c, 0xf1, 0x76, 0xd6, 0x57, 0xd0, 0xe9, - 0x70, 0x6d, 0xfd, 0x59, 0xd4, 0xcc, 0xeb, 0x2f, 0xde, 0xbd, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, - 0x93, 0xd5, 0xc3, 0x8e, 0xd8, 0x0b, 0x00, 0x00, + 0x1f, 0x4d, 0xf1, 0x4e, 0x9c, 0x80, 0x54, 0x71, 0x00, 0xe1, 0x20, 0x08, 0x48, 0x48, 0x65, 0x15, + 0x7a, 0x40, 0x95, 0xa2, 0x59, 0x67, 0xd8, 0x5d, 0x1a, 0xef, 0x6c, 0xbd, 0x9b, 0x90, 0x08, 0x71, + 0xe1, 0xc0, 0x19, 0xc1, 0x8d, 0x03, 0x07, 0x2e, 0x5c, 0x80, 0x13, 0xe2, 0x6f, 0xe8, 0xb1, 0x82, + 0x0b, 0xea, 0x21, 0x42, 0x09, 0x7f, 0x04, 0x47, 0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0xc5, 0x07, 0x2c, 0xd6, 0xda, 0x1c, 0x27, 0x05, 0xe9, 0x6a, 0x9a, 0x6e, 0x95, 0x2e, 0x0f, 0xa1, + 0x53, 0x6f, 0x1c, 0xe3, 0x64, 0xf4, 0x67, 0x02, 0xb3, 0x3d, 0x6e, 0x49, 0x0b, 0x25, 0x07, 0x9d, + 0xd8, 0xda, 0x1a, 0x2b, 0x07, 0x39, 0x99, 0xe6, 0xbc, 0x49, 0x57, 0x87, 0x70, 0x6a, 0x8b, 0x66, + 0x5f, 0xaa, 0xe7, 0xf8, 0xab, 0x86, 0xfb, 0xf0, 0xac, 0x4a, 0x1e, 0x9d, 0x55, 0xc9, 0x3f, 0x67, + 0x55, 0xf2, 0xed, 0x79, 0x75, 0xe2, 0xd1, 0x79, 0x75, 0xe2, 0xef, 0xf3, 0xea, 0xc4, 0xa7, 0xb7, + 0x8b, 0xbf, 0x83, 0x8e, 0xfb, 0xab, 0xeb, 0x0f, 0x23, 0xaf, 0xac, 0xbf, 0x7b, 0xb7, 0xfe, 0x0f, + 0x00, 0x00, 0xff, 0xff, 0x10, 0x5c, 0x80, 0x4f, 0xde, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -917,7 +917,7 @@ type QueryClient interface { Contains(ctx context.Context, in *QueryContainsRequest, opts ...grpc.CallOption) (*QueryContainsResponse, error) // ContainsBytes is a temporary method that // checks whether a hash is maintained by the module. - // See discussion at https://github.com/babylonchain/babylon/pull/132 + // See discussion at https://github.com/babylonlabs-io/babylon/pull/132 // for more details. ContainsBytes(ctx context.Context, in *QueryContainsBytesRequest, opts ...grpc.CallOption) (*QueryContainsBytesResponse, error) // MainChain returns the canonical chain @@ -1022,7 +1022,7 @@ type QueryServer interface { Contains(context.Context, *QueryContainsRequest) (*QueryContainsResponse, error) // ContainsBytes is a temporary method that // checks whether a hash is maintained by the module. - // See discussion at https://github.com/babylonchain/babylon/pull/132 + // See discussion at https://github.com/babylonlabs-io/babylon/pull/132 // for more details. ContainsBytes(context.Context, *QueryContainsBytesRequest) (*QueryContainsBytesResponse, error) // MainChain returns the canonical chain @@ -2355,7 +2355,7 @@ func (m *QueryHashesResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderHashBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes m.Hashes = append(m.Hashes, v) if err := m.Hashes[len(m.Hashes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2476,7 +2476,7 @@ func (m *QueryContainsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderHashBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderHashBytes m.Hash = &v if err := m.Hash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btclightclient/types/tx.pb.go b/x/btclightclient/types/tx.pb.go index 3f22f09f1..4527a6b07 100644 --- a/x/btclightclient/types/tx.pb.go +++ b/x/btclightclient/types/tx.pb.go @@ -6,7 +6,7 @@ package types import ( context "context" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" @@ -33,8 +33,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgInsertHeaders defines the message for multiple incoming header bytes type MsgInsertHeaders struct { - Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` - Headers []github_com_babylonchain_babylon_types.BTCHeaderBytes `protobuf:"bytes,2,rep,name=headers,proto3,customtype=github.com/babylonchain/babylon/types.BTCHeaderBytes" json:"headers,omitempty"` + Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` + Headers []github_com_babylonlabs_io_babylon_types.BTCHeaderBytes `protobuf:"bytes,2,rep,name=headers,proto3,customtype=github.com/babylonlabs-io/babylon/types.BTCHeaderBytes" json:"headers,omitempty"` } func (m *MsgInsertHeaders) Reset() { *m = MsgInsertHeaders{} } @@ -223,35 +223,35 @@ func init() { } var fileDescriptor_5f638eee60234021 = []byte{ - // 443 bytes of a gzipped FileDescriptorProto + // 445 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0xce, 0xc9, 0x4c, 0xcf, 0x00, 0x91, 0xa9, 0x79, 0x25, 0xfa, 0x65, 0x86, 0xfa, 0x25, 0x15, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x92, 0x50, 0x35, 0x7a, 0xa8, 0x6a, 0xf4, 0xca, 0x0c, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0xaa, 0xf4, 0x41, 0x2c, 0x88, 0x06, 0x29, 0xf1, 0xe4, 0xfc, 0xe2, 0xdc, 0xfc, 0x62, 0xfd, 0xdc, 0xe2, 0x74, 0x90, 0x41, 0xb9, 0xc5, 0xe9, 0x50, 0x09, 0x35, 0xdc, 0xb6, 0x15, 0x24, 0x16, 0x25, 0xe6, 0x16, 0x43, - 0xd5, 0x49, 0x42, 0x0c, 0x88, 0x87, 0x98, 0x0c, 0xe1, 0x40, 0xa4, 0x94, 0xba, 0x19, 0xb9, 0x04, + 0xd5, 0x49, 0x42, 0x0c, 0x88, 0x87, 0x98, 0x0c, 0xe1, 0x40, 0xa4, 0x94, 0x7a, 0x19, 0xb9, 0x04, 0x7c, 0x8b, 0xd3, 0x3d, 0xf3, 0x8a, 0x53, 0x8b, 0x4a, 0x3c, 0x52, 0x13, 0x53, 0x52, 0x8b, 0x8a, 0x85, 0xc4, 0xb8, 0xd8, 0x8a, 0x33, 0xd3, 0xf3, 0x52, 0x8b, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, - 0x83, 0xa0, 0x3c, 0xa1, 0x20, 0x2e, 0xf6, 0x0c, 0x88, 0x12, 0x09, 0x26, 0x05, 0x66, 0x0d, 0x1e, - 0x27, 0x8b, 0x5b, 0xf7, 0xe4, 0x4d, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, - 0xf5, 0xa1, 0xee, 0x49, 0xce, 0x48, 0xcc, 0xcc, 0x83, 0x71, 0xf4, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, - 0xf5, 0x9c, 0x42, 0x9c, 0x21, 0xc6, 0x3b, 0x55, 0x96, 0xa4, 0x16, 0x07, 0xc1, 0x0c, 0xb2, 0xe2, - 0x6e, 0x7a, 0xbe, 0x41, 0x0b, 0x6a, 0x81, 0x92, 0x14, 0x97, 0x04, 0xba, 0x63, 0x82, 0x52, 0x8b, - 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x95, 0x66, 0x31, 0x72, 0xf1, 0xfb, 0x16, 0xa7, 0x87, 0x16, 0xa4, - 0x24, 0x96, 0xa4, 0x06, 0x80, 0xbd, 0x27, 0x64, 0xc6, 0xc5, 0x99, 0x58, 0x5a, 0x92, 0x91, 0x5f, - 0x94, 0x59, 0x52, 0x09, 0x71, 0xab, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0x2f, 0x3a, 0xa6, - 0xa4, 0x14, 0xa5, 0x16, 0x17, 0x07, 0x97, 0x14, 0x65, 0xe6, 0xa5, 0x07, 0x21, 0x94, 0x0a, 0xd9, - 0x73, 0xb1, 0x41, 0x02, 0x48, 0x82, 0x49, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x51, 0x0f, 0x67, 0x9c, - 0xe8, 0x41, 0xac, 0x72, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08,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0x9c, 0x21, 0x16, 0x38, 0x55, 0x96, 0xa4, 0x16, 0x07, 0xc1, 0x8c, + 0xb2, 0xe2, 0x6e, 0x7a, 0xbe, 0x41, 0x0b, 0x6a, 0x85, 0x92, 0x14, 0x97, 0x04, 0xba, 0x73, 0x82, + 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x95, 0x66, 0x31, 0x72, 0xf1, 0xfb, 0x16, 0xa7, 0x87, + 0x16, 0xa4, 0x24, 0x96, 0xa4, 0x06, 0x80, 0x3d, 0x28, 0x64, 0xc6, 0xc5, 0x99, 0x58, 0x5a, 0x92, + 0x91, 0x5f, 0x94, 0x59, 0x52, 0x09, 0x71, 0xad, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0x4f, + 0x3a, 0xa6, 0xa4, 0x14, 0xa5, 0x16, 0x17, 0x07, 0x97, 0x14, 0x65, 0xe6, 0xa5, 0x07, 0x21, 0x94, + 0x0a, 0xd9, 0x73, 0xb1, 0x41, 0x82, 0x48, 0x82, 0x49, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x51, 0x0f, + 0x67, 0xac, 0xe8, 0x41, 0xac, 0x72, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xaa, 0xcd, 0x8a, + 0x0f, 0xe4, 0x6a, 0x84, 0x81, 0x4a, 0x92, 0x5c, 0xe2, 0x68, 0x6e, 0x83, 0xb9, 0xdb, 0xe8, 0x23, + 0x23, 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x50, 0x31, 0x17, 0x2f, 0x6a, 0x38, 0x6b, 0xe3, 0xb1, 0x14, + 0x3d, 0x14, 0xa4, 0x8c, 0x49, 0x50, 0x0c, 0x0f, 0x32, 0x06, 0xa1, 0x3c, 0x2e, 0x1e, 0x94, 0x00, + 0xd3, 0xc2, 0x6f, 0x0c, 0xb2, 0x5a, 0x29, 0x23, 0xe2, 0xd5, 0xc2, 0x6c, 0x94, 0x62, 0x6d, 0x78, + 0xbe, 0x41, 0x8b, 0xd1, 0x29, 0xe8, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, + 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, + 0x2c, 0x08, 0xa7, 0x97, 0x0a, 0xf4, 0x04, 0x0d, 0x4e, 0x40, 0x49, 0x6c, 0xe0, 0x24, 0x6b, 0x0c, + 0x08, 0x00, 0x00, 0xff, 0xff, 0x7a, 0xa1, 0x1d, 0x4d, 0x65, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -663,7 +663,7 @@ func (m *MsgInsertHeaders) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BTCHeaderBytes + var v github_com_babylonlabs_io_babylon_types.BTCHeaderBytes m.Headers = append(m.Headers, v) if err := m.Headers[len(m.Headers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btclightclient/types/work.go b/x/btclightclient/types/work.go index b5ef4148a..3dadf9c1d 100644 --- a/x/btclightclient/types/work.go +++ b/x/btclightclient/types/work.go @@ -2,7 +2,7 @@ package types import ( sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/wire" ) diff --git a/x/btclightclient/types/work_test.go b/x/btclightclient/types/work_test.go index a68410244..efed2a5ce 100644 --- a/x/btclightclient/types/work_test.go +++ b/x/btclightclient/types/work_test.go @@ -2,8 +2,8 @@ package types_test import ( sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/x/btclightclient/types" "math/rand" "testing" ) diff --git a/x/btcstaking/README.md b/x/btcstaking/README.md index 69d7d9932..b07b297d5 100644 --- a/x/btcstaking/README.md +++ b/x/btcstaking/README.md @@ -105,7 +105,7 @@ message Params { // covenant_pks is the list of public keys held by the covenant committee // each PK follows encoding in BIP-340 spec on Bitcoin - repeated bytes covenant_pks = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes covenant_pks = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // covenant_quorum is the minimum number of signatures needed for the covenant // multisignature uint32 covenant_quorum = 2; @@ -168,7 +168,7 @@ message FinalityProvider { ]; // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of the btc_pk, where the BTC // private key signs the bech32 bbn addr of the finality provider. ProofOfPossessionBTC pop = 5; @@ -201,14 +201,14 @@ message BTCDelegation { string staker_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // btc_pk is the Bitcoin secp256k1 PK of this BTC delegation // the PK follows encoding in BIP-340 spec - bytes btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of babylon_pk and btc_pk ProofOfPossessionBTC pop = 3; // fp_btc_pk_list is the list of BIP-340 PKs of the finality providers that // this BTC delegation delegates to // If there is more than 1 PKs, then this means the delegation is restaked // to multiple finality providers - repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // start_height is the start BTC height of the BTC delegation // it is the start BTC height of the timelock uint64 start_height = 5; @@ -229,7 +229,7 @@ message BTCDelegation { // delegator_sig is the signature on the slashing tx // by the delegator (i.e., SK corresponding to btc_pk). // It will be a part of the witness for the staking tx output. - bytes delegator_sig = 11 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_sig = 11 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // covenant_sigs is a list of adaptor signatures on the slashing tx // by each covenant member // It will be a part of the witness for the staking tx output. @@ -258,11 +258,11 @@ message BTCUndelegation { // It effectively proves that the delegator wants to unbond and thus // Babylon will consider this BTC delegation unbonded. Delegator's BTC // on Bitcoin will be unbonded after timelock - bytes delegator_unbonding_sig = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_unbonding_sig = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // delegator_slashing_sig is the signature on the slashing tx // by the delegator (i.e., SK corresponding to btc_pk). // It will be a part of the witness for the unbonding tx output. - bytes delegator_slashing_sig = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_slashing_sig = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // covenant_slashing_sigs is a list of adaptor signatures on the slashing tx // by each covenant member // It will be a part of the witness for the staking tx output. @@ -310,7 +310,7 @@ message Params { // covenant_pks is the list of public keys held by the covenant committee // each PK follows encoding in BIP-340 spec on Bitcoin - repeated bytes covenant_pks = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes covenant_pks = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // covenant_quorum is the minimum number of signatures needed for the covenant // multisignature uint32 covenant_quorum = 2; @@ -370,7 +370,7 @@ message MsgCreateFinalityProvider { ]; // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of btc_pk over the FP signer address. ProofOfPossessionBTC pop = 5; } @@ -462,10 +462,10 @@ message MsgCreateBTCDelegation { // pop is the proof of possession of btc_pk by the staker_addr. ProofOfPossessionBTC pop = 2; // btc_pk is the Bitcoin secp256k1 PK of the BTC delegator - bytes btc_pk = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // fp_btc_pk_list is the list of Bitcoin secp256k1 PKs of the finality providers, if there is more than one // finality provider pk it means that delegation is re-staked - repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + repeated bytes fp_btc_pk_list = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // staking_time is the time lock used in staking transaction uint32 staking_time = 5; // staking_value is the amount of satoshis locked in staking output @@ -479,7 +479,7 @@ message MsgCreateBTCDelegation { // It will be a part of the witness for the staking tx output. // The staking tx output further needs signatures from covenant and finality provider in // order to be spendable. - bytes delegator_slashing_sig = 9 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_slashing_sig = 9 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // unbonding_time is the time lock used when funds are being unbonded. It is be used in: // - unbonding transaction, time lock spending path // - staking slashing transaction, change output @@ -497,7 +497,7 @@ message MsgCreateBTCDelegation { // Note that the tx itself does not contain signatures, which are off-chain. bytes unbonding_slashing_tx = 13 [ (gogoproto.customtype) = "BTCSlashingTx" ]; // delegator_unbonding_slashing_sig is the signature on the slashing tx by the delegator (i.e., SK corresponding to btc_pk). - bytes delegator_unbonding_slashing_sig = 14 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes delegator_unbonding_slashing_sig = 14 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; } ``` @@ -555,7 +555,7 @@ message MsgAddCovenantSigs { string signer = 1; // pk is the BTC public key of the covenant member - bytes pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // staking_tx_hash is the hash of the staking tx. // It uniquely identifies a BTC delegation string staking_tx_hash = 3; @@ -565,7 +565,7 @@ message MsgAddCovenantSigs { repeated bytes slashing_tx_sigs = 4; // unbonding_tx_sig is the signature of the covenant on the unbonding tx submitted to babylon // the signature follows encoding in BIP-340 spec - bytes unbonding_tx_sig = 5 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes unbonding_tx_sig = 5 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; // slashing_unbonding_tx_sigs is a list of adaptor signatures of the covenant // on slashing tx corresponding to unbonding tx submitted to babylon // the order of sigs should respect the order of finality providers @@ -607,7 +607,7 @@ message MsgBTCUndelegate { string staking_tx_hash = 2; // unbonding_tx_sig is the signature of the staker on the unbonding tx submitted to babylon // the signature follows encoding in BIP-340 spec - bytes unbonding_tx_sig = 3 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340Signature" ]; + bytes unbonding_tx_sig = 3 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340Signature" ]; } ``` @@ -746,7 +746,7 @@ message EventPowerDistUpdate { // is slashed // TODO: unify with existing slashing events message EventSlashedFinalityProvider { - bytes pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; } // ev is the event that affects voting power distribution diff --git a/x/btcstaking/abci.go b/x/btcstaking/abci.go index b81a4cc7c..210f3ad0d 100644 --- a/x/btcstaking/abci.go +++ b/x/btcstaking/abci.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/babylonchain/babylon/x/btcstaking/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/telemetry" ) diff --git a/x/btcstaking/client/cli/query.go b/x/btcstaking/client/cli/query.go index 3f5ba70a9..7f3b19126 100644 --- a/x/btcstaking/client/cli/query.go +++ b/x/btcstaking/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" ) diff --git a/x/btcstaking/client/cli/query_params.go b/x/btcstaking/client/cli/query_params.go index 1672274c1..bec7606ae 100644 --- a/x/btcstaking/client/cli/query_params.go +++ b/x/btcstaking/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/btcstaking/client/cli/tx.go b/x/btcstaking/client/cli/tx.go index 813e70a50..7ce982784 100644 --- a/x/btcstaking/client/cli/tx.go +++ b/x/btcstaking/client/cli/tx.go @@ -12,10 +12,10 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) const ( diff --git a/x/btcstaking/genesis.go b/x/btcstaking/genesis.go index 4b89af9ff..5d37bec53 100644 --- a/x/btcstaking/genesis.go +++ b/x/btcstaking/genesis.go @@ -3,8 +3,8 @@ package btcstaking import ( "context" - "github.com/babylonchain/babylon/x/btcstaking/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/btcstaking/genesis_test.go b/x/btcstaking/genesis_test.go index 357ccfe0d..dc034bdf3 100644 --- a/x/btcstaking/genesis_test.go +++ b/x/btcstaking/genesis_test.go @@ -3,10 +3,10 @@ package btcstaking_test import ( "testing" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/testutil/nullify" - "github.com/babylonchain/babylon/x/btcstaking" - "github.com/babylonchain/babylon/x/btcstaking/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/nullify" + "github.com/babylonlabs-io/babylon/x/btcstaking" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/keeper/bench_test.go b/x/btcstaking/keeper/bench_test.go index 9e217a7aa..27fe36b65 100644 --- a/x/btcstaking/keeper/bench_test.go +++ b/x/btcstaking/keeper/bench_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - bsmodule "github.com/babylonchain/babylon/x/btcstaking" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + bsmodule "github.com/babylonlabs-io/babylon/x/btcstaking" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/golang/mock/gomock" ) diff --git a/x/btcstaking/keeper/btc_delegations.go b/x/btcstaking/keeper/btc_delegations.go index 9ebcb6bea..4e98d1a81 100644 --- a/x/btcstaking/keeper/btc_delegations.go +++ b/x/btcstaking/keeper/btc_delegations.go @@ -5,9 +5,9 @@ import ( "fmt" "cosmossdk.io/store/prefix" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/btcstaking/keeper/btc_delegators.go b/x/btcstaking/keeper/btc_delegators.go index a8023166a..550a899fa 100644 --- a/x/btcstaking/keeper/btc_delegators.go +++ b/x/btcstaking/keeper/btc_delegators.go @@ -8,8 +8,8 @@ import ( "cosmossdk.io/store/prefix" "github.com/btcsuite/btcd/chaincfg/chainhash" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) // getBTCDelegatorDelegationIndex gets the BTC delegation index with a given BTC PK under a given finality provider diff --git a/x/btcstaking/keeper/btc_height_index.go b/x/btcstaking/keeper/btc_height_index.go index 60b3ce84f..1f7adcc64 100644 --- a/x/btcstaking/keeper/btc_height_index.go +++ b/x/btcstaking/keeper/btc_height_index.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btcstaking/keeper/btc_height_index_test.go b/x/btcstaking/keeper/btc_height_index_test.go index 819e92dd3..a40b5d4d3 100644 --- a/x/btcstaking/keeper/btc_height_index_test.go +++ b/x/btcstaking/keeper/btc_height_index_test.go @@ -4,10 +4,10 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/keeper/finality_providers.go b/x/btcstaking/keeper/finality_providers.go index b978dda34..f590ffc94 100644 --- a/x/btcstaking/keeper/finality_providers.go +++ b/x/btcstaking/keeper/finality_providers.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) // SetFinalityProvider adds the given finality provider to KVStore diff --git a/x/btcstaking/keeper/genesis.go b/x/btcstaking/keeper/genesis.go index 211329c43..1e4a59a58 100644 --- a/x/btcstaking/keeper/genesis.go +++ b/x/btcstaking/keeper/genesis.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - btcstk "github.com/babylonchain/babylon/btcstaking" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + btcstk "github.com/babylonlabs-io/babylon/btcstaking" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btcstaking/keeper/genesis_test.go b/x/btcstaking/keeper/genesis_test.go index cbcc60ead..f9d5e7d0f 100644 --- a/x/btcstaking/keeper/genesis_test.go +++ b/x/btcstaking/keeper/genesis_test.go @@ -6,10 +6,10 @@ import ( "strings" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/testutil/helper" - btclightclientt "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/helper" + btclightclientt "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/keeper/grpc_query.go b/x/btcstaking/keeper/grpc_query.go index f687cdb36..714515ebe 100644 --- a/x/btcstaking/keeper/grpc_query.go +++ b/x/btcstaking/keeper/grpc_query.go @@ -11,8 +11,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/btcstaking/keeper/grpc_query_test.go b/x/btcstaking/keeper/grpc_query_test.go index 661836a97..af2b03d47 100644 --- a/x/btcstaking/keeper/grpc_query_test.go +++ b/x/btcstaking/keeper/grpc_query_test.go @@ -12,12 +12,12 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) func FuzzActivatedHeight(f *testing.F) { diff --git a/x/btcstaking/keeper/hooks.go b/x/btcstaking/keeper/hooks.go index 1ae540dc9..c7283e95a 100644 --- a/x/btcstaking/keeper/hooks.go +++ b/x/btcstaking/keeper/hooks.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) var _ types.FinalityHooks = Hooks{} diff --git a/x/btcstaking/keeper/incentive.go b/x/btcstaking/keeper/incentive.go index d55135281..ac65638b9 100644 --- a/x/btcstaking/keeper/incentive.go +++ b/x/btcstaking/keeper/incentive.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btcstaking/keeper/incentive_test.go b/x/btcstaking/keeper/incentive_test.go index ec60f11c1..ea7d699d5 100644 --- a/x/btcstaking/keeper/incentive_test.go +++ b/x/btcstaking/keeper/incentive_test.go @@ -7,9 +7,9 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) func FuzzRecordVotingPowerDistCache(f *testing.F) { diff --git a/x/btcstaking/keeper/keeper.go b/x/btcstaking/keeper/keeper.go index 56d1ac41f..5a992423a 100644 --- a/x/btcstaking/keeper/keeper.go +++ b/x/btcstaking/keeper/keeper.go @@ -11,7 +11,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) type ( diff --git a/x/btcstaking/keeper/keeper_test.go b/x/btcstaking/keeper/keeper_test.go index 49da3cdaf..1ce64721e 100644 --- a/x/btcstaking/keeper/keeper_test.go +++ b/x/btcstaking/keeper/keeper_test.go @@ -13,13 +13,13 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) var ( diff --git a/x/btcstaking/keeper/msg_server.go b/x/btcstaking/keeper/msg_server.go index 2a97b6662..a1617d9ed 100644 --- a/x/btcstaking/keeper/msg_server.go +++ b/x/btcstaking/keeper/msg_server.go @@ -8,9 +8,9 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/btcstaking" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/btcstaking" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" diff --git a/x/btcstaking/keeper/msg_server_test.go b/x/btcstaking/keeper/msg_server_test.go index 5038d7d58..24d2b2cec 100644 --- a/x/btcstaking/keeper/msg_server_test.go +++ b/x/btcstaking/keeper/msg_server_test.go @@ -17,13 +17,13 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - "github.com/babylonchain/babylon/x/btcstaking/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) func FuzzMsgCreateFinalityProvider(f *testing.F) { diff --git a/x/btcstaking/keeper/params.go b/x/btcstaking/keeper/params.go index 4a9978c7a..0f47ba169 100644 --- a/x/btcstaking/keeper/params.go +++ b/x/btcstaking/keeper/params.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/math" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/runtime" ) diff --git a/x/btcstaking/keeper/params_test.go b/x/btcstaking/keeper/params_test.go index 18056c153..58f8500f4 100644 --- a/x/btcstaking/keeper/params_test.go +++ b/x/btcstaking/keeper/params_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/keeper/power_dist_change.go b/x/btcstaking/keeper/power_dist_change.go index 0d6aa3e2c..bde774ce7 100644 --- a/x/btcstaking/keeper/power_dist_change.go +++ b/x/btcstaking/keeper/power_dist_change.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) /* power distribution update */ diff --git a/x/btcstaking/keeper/power_dist_change_test.go b/x/btcstaking/keeper/power_dist_change_test.go index da4ec9502..65320c5df 100644 --- a/x/btcstaking/keeper/power_dist_change_test.go +++ b/x/btcstaking/keeper/power_dist_change_test.go @@ -4,9 +4,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" diff --git a/x/btcstaking/keeper/query.go b/x/btcstaking/keeper/query.go index 7a46601f8..ae817f28f 100644 --- a/x/btcstaking/keeper/query.go +++ b/x/btcstaking/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/btcstaking/keeper/query_params.go b/x/btcstaking/keeper/query_params.go index 51e391d52..eed444b02 100644 --- a/x/btcstaking/keeper/query_params.go +++ b/x/btcstaking/keeper/query_params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/btcstaking/keeper/query_params_test.go b/x/btcstaking/keeper/query_params_test.go index fefd0ae45..6d0239d0b 100644 --- a/x/btcstaking/keeper/query_params_test.go +++ b/x/btcstaking/keeper/query_params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/keeper/voting_power_table.go b/x/btcstaking/keeper/voting_power_table.go index 7b5297c5e..f7abc715b 100644 --- a/x/btcstaking/keeper/voting_power_table.go +++ b/x/btcstaking/keeper/voting_power_table.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btcstaking/keeper/voting_power_table_test.go b/x/btcstaking/keeper/voting_power_table_test.go index 82ac32e6d..a8c743afe 100644 --- a/x/btcstaking/keeper/voting_power_table_test.go +++ b/x/btcstaking/keeper/voting_power_table_test.go @@ -5,9 +5,9 @@ import ( "sort" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/module.go b/x/btcstaking/module.go index a415eee5a..e8e431b76 100644 --- a/x/btcstaking/module.go +++ b/x/btcstaking/module.go @@ -11,9 +11,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/btcstaking/client/cli" - "github.com/babylonchain/babylon/x/btcstaking/keeper" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/client/cli" + "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/btcstaking/types/btc_delegation.go b/x/btcstaking/types/btc_delegation.go index 66a621751..b17ef18ee 100644 --- a/x/btcstaking/types/btc_delegation.go +++ b/x/btcstaking/types/btc_delegation.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/btcstaking" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/btcstaking" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcutil" diff --git a/x/btcstaking/types/btc_delegation_test.go b/x/btcstaking/types/btc_delegation_test.go index c2b53094c..a97535c43 100644 --- a/x/btcstaking/types/btc_delegation_test.go +++ b/x/btcstaking/types/btc_delegation_test.go @@ -5,15 +5,15 @@ import ( "testing" sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg" "github.com/stretchr/testify/require" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - btctest "github.com/babylonchain/babylon/testutil/bitcoin" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + btctest "github.com/babylonlabs-io/babylon/testutil/bitcoin" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) func FuzzBTCDelegation(f *testing.F) { diff --git a/x/btcstaking/types/btc_slashing_tx.go b/x/btcstaking/types/btc_slashing_tx.go index e6c249d63..2bd135905 100644 --- a/x/btcstaking/types/btc_slashing_tx.go +++ b/x/btcstaking/types/btc_slashing_tx.go @@ -10,9 +10,9 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/babylonchain/babylon/btcstaking" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/btcstaking" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" ) type BTCSlashingTx []byte diff --git a/x/btcstaking/types/btc_slashing_tx_test.go b/x/btcstaking/types/btc_slashing_tx_test.go index adee66e84..aa90099ad 100644 --- a/x/btcstaking/types/btc_slashing_tx_test.go +++ b/x/btcstaking/types/btc_slashing_tx_test.go @@ -5,11 +5,11 @@ import ( "testing" sdkmath "cosmossdk.io/math" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - btctest "github.com/babylonchain/babylon/testutil/bitcoin" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + btctest "github.com/babylonlabs-io/babylon/testutil/bitcoin" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/chaincfg" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/types/btc_undelegation.go b/x/btcstaking/types/btc_undelegation.go index fdbee5495..177bcbf0e 100644 --- a/x/btcstaking/types/btc_undelegation.go +++ b/x/btcstaking/types/btc_undelegation.go @@ -1,8 +1,8 @@ package types import ( - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" ) func (ud *BTCUndelegation) HasCovenantQuorumOnSlashing(quorum uint32) bool { diff --git a/x/btcstaking/types/btc_undelegation_test.go b/x/btcstaking/types/btc_undelegation_test.go index 1306184d0..75b72c7bf 100644 --- a/x/btcstaking/types/btc_undelegation_test.go +++ b/x/btcstaking/types/btc_undelegation_test.go @@ -5,11 +5,11 @@ import ( "testing" sdkmath "cosmossdk.io/math" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - btctest "github.com/babylonchain/babylon/testutil/bitcoin" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + btctest "github.com/babylonlabs-io/babylon/testutil/bitcoin" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/chaincfg" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/types/btcstaking.go b/x/btcstaking/types/btcstaking.go index 8f22d7838..f907537f2 100644 --- a/x/btcstaking/types/btcstaking.go +++ b/x/btcstaking/types/btcstaking.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) func (fp *FinalityProvider) IsSlashed() bool { diff --git a/x/btcstaking/types/btcstaking.pb.go b/x/btcstaking/types/btcstaking.pb.go index 5fd7ae838..09e42a299 100644 --- a/x/btcstaking/types/btcstaking.pb.go +++ b/x/btcstaking/types/btcstaking.pb.go @@ -6,7 +6,7 @@ package types import ( cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/x/staking/types" _ "github.com/cosmos/gogoproto/gogoproto" @@ -78,7 +78,7 @@ type FinalityProvider struct { Commission *cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=commission,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"commission,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // pop is the proof of possession of the btc_pk, where the BTC // private key signs the bech32 bbn addr of the finality provider. Pop *ProofOfPossessionBTC `protobuf:"bytes,5,opt,name=pop,proto3" json:"pop,omitempty"` @@ -173,7 +173,7 @@ func (m *FinalityProvider) GetSluggish() bool { type FinalityProviderWithMeta struct { // btc_pk is the Bitcoin secp256k1 PK of thisfinality provider // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // height is the queried Babylon height Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // voting_power is the voting power of this finality provider at the given height @@ -264,14 +264,14 @@ type BTCDelegation struct { StakerAddr string `protobuf:"bytes,1,opt,name=staker_addr,json=stakerAddr,proto3" json:"staker_addr,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of this BTC delegation // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // pop is the proof of possession of babylon_pk and btc_pk Pop *ProofOfPossessionBTC `protobuf:"bytes,3,opt,name=pop,proto3" json:"pop,omitempty"` // fp_btc_pk_list is the list of BIP-340 PKs of the finality providers that // this BTC delegation delegates to // If there is more than 1 PKs, then this means the delegation is restaked // to multiple finality providers - FpBtcPkList []github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,rep,name=fp_btc_pk_list,json=fpBtcPkList,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk_list,omitempty"` + FpBtcPkList []github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,4,rep,name=fp_btc_pk_list,json=fpBtcPkList,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk_list,omitempty"` // start_height is the start BTC height of the BTC delegation // it is the start BTC height of the timelock StartHeight uint64 `protobuf:"varint,5,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` @@ -292,7 +292,7 @@ type BTCDelegation struct { // delegator_sig is the signature on the slashing tx // by the delegator (i.e., SK corresponding to btc_pk). // It will be a part of the witness for the staking tx output. - DelegatorSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,11,opt,name=delegator_sig,json=delegatorSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"delegator_sig,omitempty"` + DelegatorSig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,11,opt,name=delegator_sig,json=delegatorSig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"delegator_sig,omitempty"` // covenant_sigs is a list of adaptor signatures on the slashing tx // by each covenant member // It will be a part of the witness for the staking tx output. @@ -431,11 +431,11 @@ type BTCUndelegation struct { // It effectively proves that the delegator wants to unbond and thus // Babylon will consider this BTC delegation unbonded. Delegator's BTC // on Bitcoin will be unbonded after timelock - DelegatorUnbondingSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,3,opt,name=delegator_unbonding_sig,json=delegatorUnbondingSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"delegator_unbonding_sig,omitempty"` + DelegatorUnbondingSig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,3,opt,name=delegator_unbonding_sig,json=delegatorUnbondingSig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"delegator_unbonding_sig,omitempty"` // delegator_slashing_sig is the signature on the slashing tx // by the delegator (i.e., SK corresponding to btc_pk). // It will be a part of the witness for the unbonding tx output. - DelegatorSlashingSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,4,opt,name=delegator_slashing_sig,json=delegatorSlashingSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"delegator_slashing_sig,omitempty"` + DelegatorSlashingSig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,4,opt,name=delegator_slashing_sig,json=delegatorSlashingSig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"delegator_slashing_sig,omitempty"` // covenant_slashing_sigs is a list of adaptor signatures on the slashing tx // by each covenant member // It will be a part of the witness for the staking tx output. @@ -592,8 +592,8 @@ func (m *BTCDelegatorDelegationIndex) GetStakingTxHashList() [][]byte { // SignatureInfo is a BIP-340 signature together with its signer's BIP-340 PK type SignatureInfo struct { - Pk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=pk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"pk,omitempty"` - Sig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,2,opt,name=sig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"sig,omitempty"` + Pk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=pk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"pk,omitempty"` + Sig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,2,opt,name=sig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"sig,omitempty"` } func (m *SignatureInfo) Reset() { *m = SignatureInfo{} } @@ -633,7 +633,7 @@ var xxx_messageInfo_SignatureInfo proto.InternalMessageInfo // covenant with different finality provider's public keys as encryption keys type CovenantAdaptorSignatures struct { // cov_pk is the public key of the covenant emulator, used as the public key of the adaptor signature - CovPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=cov_pk,json=covPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"cov_pk,omitempty"` + CovPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=cov_pk,json=covPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"cov_pk,omitempty"` // adaptor_sigs is a list of adaptor signatures, each encrypted by a restaked BTC finality provider's public key AdaptorSigs [][]byte `protobuf:"bytes,2,rep,name=adaptor_sigs,json=adaptorSigs,proto3" json:"adaptor_sigs,omitempty"` } @@ -690,7 +690,7 @@ type SelectiveSlashingEvidence struct { StakingTxHash string `protobuf:"bytes,1,opt,name=staking_tx_hash,json=stakingTxHash,proto3" json:"staking_tx_hash,omitempty"` // fp_btc_pk is the BTC PK of the finality provider who // launches the selective slashing offence - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // recovered_fp_btc_sk is the finality provider's BTC SK recovered from // the covenant adaptor/Schnorr signature pair. It is the consequence // of selective slashing. @@ -762,83 +762,83 @@ func init() { } var fileDescriptor_3851ae95ccfaf7db = []byte{ - // 1210 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0x13, 0xc7, - 0x1b, 0xce, 0xda, 0x8e, 0x93, 0xbc, 0xb6, 0x89, 0x19, 0x42, 0x58, 0x12, 0xfd, 0x12, 0xff, 0x5c, - 0x8a, 0xac, 0x96, 0xd8, 0x10, 0x68, 0x55, 0x0e, 0x3d, 0xc4, 0x71, 0x28, 0x11, 0x10, 0xdc, 0xb5, - 0x43, 0xd5, 0x56, 0xea, 0x6a, 0xbc, 0x3b, 0x59, 0x8f, 0x6c, 0xef, 0x6c, 0x77, 0xc6, 0xae, 0xf3, - 0x21, 0x2a, 0xf5, 0xda, 0x3b, 0x1f, 0x81, 0xcf, 0x50, 0xf5, 0x88, 0x38, 0x55, 0x39, 0x44, 0x15, - 0xf4, 0xda, 0xef, 0x50, 0xcd, 0xec, 0x7a, 0x77, 0x9d, 0x12, 0x0a, 0x98, 0x9b, 0xe7, 0xfd, 0xf7, - 0xbc, 0xf3, 0x3e, 0x8f, 0xdf, 0x59, 0xb8, 0xde, 0xc1, 0x9d, 0xe3, 0x3e, 0x73, 0x6b, 0x1d, 0x61, - 0x71, 0x81, 0x7b, 0xd4, 0x75, 0x6a, 0xa3, 0x5b, 0x89, 0x53, 0xd5, 0xf3, 0x99, 0x60, 0xe8, 0x72, - 0x18, 0x57, 0x4d, 0x78, 0x46, 0xb7, 0xd6, 0x56, 0x1c, 0xe6, 0x30, 0x15, 0x51, 0x93, 0xbf, 0x82, - 0xe0, 0xb5, 0xab, 0x16, 0xe3, 0x03, 0xc6, 0xcd, 0xc0, 0x11, 0x1c, 0x42, 0xd7, 0xb5, 0xe0, 0x54, - 0x8b, 0xb1, 0x3a, 0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 0xcd, - 0xf8, 0xc6, 0x2e, 0x84, 0xaf, 0x19, 0xda, 0x82, 0x4b, 0x3e, 0x91, 0x9a, 0xf4, 0x89, 0x6d, 0x86, - 0xd5, 0x79, 0x2f, 0x58, 0x11, 0x46, 0x31, 0x72, 0xdd, 0x93, 0xe1, 0xad, 0xde, 0x27, 0x7b, 0x70, - 0x69, 0x4a, 0x66, 0x2d, 0x81, 0xc5, 0x90, 0xa3, 0x1c, 0x2c, 0x34, 0xf7, 0x0e, 0x1a, 0xfb, 0x07, - 0x5f, 0x15, 0xe7, 0x10, 0x40, 0x76, 0x67, 0xb7, 0xbd, 0xff, 0x64, 0xaf, 0xa8, 0xa1, 0x3c, 0x2c, - 0x1e, 0x1e, 0xd4, 0x1f, 0x1f, 0x34, 0xf6, 0x1a, 0xc5, 0x14, 0x5a, 0x80, 0xf4, 0xce, 0xc1, 0xb7, - 0xc5, 0x74, 0xfd, 0xe1, 0xef, 0x2f, 0x37, 0xb4, 0xe7, 0x2f, 0x37, 0xb4, 0x3f, 0x5f, 0x6e, 0x68, - 0xbf, 0xbc, 0xda, 0x98, 0x7b, 0xfe, 0x6a, 0x63, 0xee, 0x8f, 0x57, 0x1b, 0x73, 0xdf, 0xfd, 0xe7, - 0x65, 0xc6, 0xc9, 0x4f, 0x7b, 0x75, 0xb3, 0x4e, 0x56, 0x7d, 0xda, 0xdf, 0xfe, 0x27, 0x00, 0x00, - 0xff, 0xff, 0xbf, 0xab, 0xbe, 0x1d, 0x93, 0x0c, 0x00, 0x00, + // 1213 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdf, 0x6e, 0x1a, 0xc7, + 0x17, 0xf6, 0x02, 0xc6, 0xf6, 0x01, 0x62, 0x32, 0x71, 0x9c, 0x8d, 0xad, 0x9f, 0xcd, 0x8f, 0xa6, + 0x11, 0x6a, 0x63, 0xc8, 0x3f, 0xa9, 0xa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, 0x5e, + 0x43, 0x59, 0x58, 0x3c, 0xa8, 0x57, 0xf7, 0xeb, 0xb5, 0xdd, 0x5a, 0x3e, 0x81, 0x16, 0x20, 0xb9, + 0x5d, 0xff, 0x2e, 0x9f, 0xac, 0xd6, 0x5f, 0xbe, 0xd9, 0xd0, 0x5e, 0xbd, 0xd9, 0xd0, 0xfe, 0x7a, + 0xb3, 0xa1, 0xfd, 0xfa, 0x76, 0x63, 0xee, 0xd5, 0xdb, 0x8d, 0xb9, 0x3f, 0xdf, 0x6e, 0xcc, 0x7d, + 0x7f, 0x8e, 0xeb, 0x8c, 0xe3, 0x9f, 0xfc, 0xea, 0x6e, 0xed, 0xb4, 0xfa, 0xe4, 0x7f, 0xf0, 0x6f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x12, 0x9b, 0x63, 0xae, 0xab, 0x0c, 0x00, 0x00, } func (m *FinalityProvider) Marshal() (dAtA []byte, err error) { @@ -1898,7 +1898,7 @@ func (m *FinalityProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2077,7 +2077,7 @@ func (m *FinalityProviderWithMeta) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2290,7 +2290,7 @@ func (m *BTCDelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2361,7 +2361,7 @@ func (m *BTCDelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPkList = append(m.FpBtcPkList, v) if err := m.FpBtcPkList[len(m.FpBtcPkList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2541,7 +2541,7 @@ func (m *BTCDelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.DelegatorSig = &v if err := m.DelegatorSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2803,7 +2803,7 @@ func (m *BTCUndelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.DelegatorUnbondingSig = &v if err := m.DelegatorUnbondingSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2838,7 +2838,7 @@ func (m *BTCUndelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.DelegatorSlashingSig = &v if err := m.DelegatorSlashingSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3157,7 +3157,7 @@ func (m *SignatureInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.Pk = &v if err := m.Pk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3192,7 +3192,7 @@ func (m *SignatureInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.Sig = &v if err := m.Sig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3277,7 +3277,7 @@ func (m *CovenantAdaptorSignatures) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.CovPk = &v if err := m.CovPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3426,7 +3426,7 @@ func (m *SelectiveSlashingEvidence) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btcstaking/types/events.go b/x/btcstaking/types/events.go index 6b94d3ca2..a87dbf10e 100644 --- a/x/btcstaking/types/events.go +++ b/x/btcstaking/types/events.go @@ -1,7 +1,7 @@ package types import ( - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" ) func NewEventPowerDistUpdateWithBTCDel(ev *EventBTCDelegationStateUpdate) *EventPowerDistUpdate { diff --git a/x/btcstaking/types/events.pb.go b/x/btcstaking/types/events.pb.go index 38b23f396..c945e1f8d 100644 --- a/x/btcstaking/types/events.pb.go +++ b/x/btcstaking/types/events.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -270,7 +270,7 @@ func (*EventPowerDistUpdate) XXX_OneofWrappers() []interface{} { // is slashed // TODO: unify with existing slashing events type EventPowerDistUpdate_EventSlashedFinalityProvider struct { - Pk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=pk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"pk,omitempty"` + Pk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=pk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"pk,omitempty"` } func (m *EventPowerDistUpdate_EventSlashedFinalityProvider) Reset() { @@ -323,36 +323,37 @@ func init() { } var fileDescriptor_74118427820fff75 = []byte{ - // 463 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4f, 0x6f, 0xd3, 0x40, - 0x10, 0xc5, 0x6d, 0x0b, 0xa1, 0x66, 0xcb, 0x1f, 0x61, 0x05, 0x14, 0x45, 0x60, 0x2a, 0x1f, 0x4a, - 0xc5, 0xc1, 0x6e, 0xd3, 0x0a, 0xee, 0x26, 0x0d, 0x41, 0x54, 0x28, 0xb2, 0xcb, 0x85, 0x8b, 0xb5, - 0x76, 0x26, 0xf6, 0x2a, 0x66, 0xd7, 0xca, 0x4e, 0x9c, 0xe4, 0x5b, 0xf4, 0x63, 0x71, 0xec, 0xb1, - 0xe2, 0x80, 0x50, 0xf2, 0x45, 0x90, 0x37, 0xa6, 0x44, 0x6d, 0x1c, 0x6e, 0xc9, 0xe8, 0xbd, 0xf7, - 0x7b, 0x33, 0xb6, 0x89, 0x1d, 0xd1, 0x68, 0x91, 0x09, 0xee, 0x46, 0x18, 0x4b, 0xa4, 0x63, 0xc6, - 0x13, 0xb7, 0x38, 0x71, 0xa1, 0x00, 0x8e, 0xd2, 0xc9, 0x27, 0x02, 0x85, 0xf9, 0xbc, 0xd2, 0x38, - 0xff, 0x34, 0x4e, 0x71, 0xd2, 0x6e, 0x26, 0x22, 0x11, 0x4a, 0xe1, 0x96, 0xbf, 0xd6, 0xe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, 0x80, 0xf5, 0x30, 0x58, 0x47, 0xdc, 0xbd, 0x7a, 0x5f, 0xf3, 0x1b, 0x55, - 0x7a, 0x2f, 0x37, 0x13, 0xd2, 0x8c, 0x30, 0x0e, 0x87, 0x90, 0xad, 0x0f, 0x17, 0x4e, 0x55, 0x82, - 0xba, 0xdf, 0x7e, 0xe7, 0x6c, 0x17, 0xb4, 0xee, 0x81, 0xf5, 0x35, 0xff, 0x59, 0x84, 0x71, 0x17, - 0xb2, 0x8d, 0x61, 0x7b, 0x44, 0x5e, 0xee, 0x6a, 0x65, 0xf6, 0x88, 0x91, 0x8f, 0xd5, 0xae, 0x8f, - 0xbc, 0x77, 0x3f, 0x7f, 0xbd, 0xee, 0x24, 0x0c, 0xd3, 0x69, 0xe4, 0xc4, 0xe2, 0xbb, 0x5b, 0x95, - 0x88, 0x53, 0xca, 0xf8, 0xdf, 0x3f, 0x2e, 0x2e, 0x72, 0x90, 0x8e, 0xf7, 0x69, 0x70, 0x7a, 0x76, - 0x3c, 0x98, 0x46, 0x9f, 0x61, 0xe1, 0x1b, 0xf9, 0xd8, 0x7b, 0x40, 0x0c, 0x28, 0xbc, 0x8b, 0x1f, - 0x4b, 0x4b, 0xbf, 0x5e, 0x5a, 0xfa, 0xef, 0xa5, 0xa5, 0x5f, 0xad, 0x2c, 0xed, 0x7a, 0x65, 0x69, - 0x37, 0x2b, 0x4b, 0xfb, 0xf6, 0xdf, 0xdc, 0xf9, 0xe6, 0x67, 0xa0, 0x20, 0xd1, 0x43, 0xf5, 0xfe, - 0x9f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xc4, 0x7d, 0x08, 0x7a, 0x03, 0x00, 0x00, + // 466 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcd, 0x6e, 0xd3, 0x40, + 0x14, 0x85, 0x6d, 0x0b, 0xa1, 0x66, 0xca, 0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0x4b, 0x72, + 0x2c, 0x72, 0xc5, 0x69, 0x44, 0x8f, 0xf5, 0xf8, 0x7c, 0x16, 0x62, 0x91, 0xdb, 0x9f, 0x50, 0x83, + 0xc1, 0x34, 0x11, 0xb5, 0xb5, 0x65, 0xed, 0x99, 0x07, 0x4f, 0x3a, 0x6f, 0xb7, 0x34, 0xb9, 0xc5, + 0x9a, 0x88, 0x68, 0x87, 0xc1, 0x54, 0x61, 0xdd, 0x21, 0x7a, 0xa1, 0x1a, 0xc5, 0x50, 0x40, 0x2a, + 0x69, 0x05, 0x71, 0x81, 0x45, 0x4e, 0x59, 0x66, 0x7f, 0x45, 0x3b, 0x50, 0x57, 0x67, 0x29, 0xe8, + 0x5d, 0x0f, 0xb7, 0x10, 0x6e, 0x79, 0x4f, 0xb4, 0x2f, 0xba, 0x4e, 0x70, 0xaf, 0x2c, 0xd4, 0x54, + 0xa0, 0x3e, 0x9f, 0xc2, 0xb8, 0x47, 0x85, 0xd4, 0x1b, 0x53, 0x84, 0x44, 0x6d, 0x83, 0x41, 0x72, + 0x7d, 0xd4, 0x70, 0x0b, 0x68, 0x53, 0xc0, 0x6a, 0x18, 0xaf, 0x22, 0x6e, 0x5e, 0x3d, 0x34, 0xa2, + 0x86, 0x4e, 0x3f, 0x2d, 0xed, 0x0c, 0x35, 0x89, 0x4c, 0x93, 0x01, 0x14, 0xab, 0xc3, 0x25, 0x13, + 0x95, 0xa0, 0xee, 0xb7, 0xdb, 0xe9, 0xde, 0x05, 0xdd, 0xf6, 0xc1, 0x42, 0x23, 0x7a, 0x46, 0x64, + 0xda, 0x83, 0x62, 0x6d, 0xd8, 0xce, 0xd1, 0xcb, 0xbb, 0x5a, 0xd9, 0x21, 0xb2, 0xca, 0x91, 0xda, + 0xf5, 0x51, 0xf0, 0xe1, 0xea, 0xf7, 0xeb, 0x6e, 0x46, 0x65, 0x3e, 0x21, 0x5e, 0xca, 0x7f, 0xf8, + 0xba, 0x44, 0x81, 0x89, 0x78, 0x47, 0xf9, 0xbf, 0xbf, 0xbe, 0x9c, 0x97, 0x20, 0xbc, 0xe0, 0x73, + 0xff, 0xb8, 0x7b, 0xd8, 0x9f, 0x90, 0x2f, 0x30, 0x8f, 0xac, 0x72, 0x14, 0x3c, 0x40, 0x16, 0x54, + 0xc1, 0xd9, 0xcf, 0x85, 0x63, 0x5e, 0x2e, 0x1c, 0xf3, 0xcf, 0xc2, 0x31, 0x2f, 0x96, 0x8e, 0x71, + 0xb9, 0x74, 0x8c, 0x5f, 0x4b, 0xc7, 0xf8, 0x7e, 0x8f, 0xe4, 0xd9, 0xfa, 0x53, 0x50, 0x18, 0xf2, + 0x50, 0xbd, 0x81, 0xe3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x5a, 0xe3, 0x63, 0x7e, 0x03, + 0x00, 0x00, } func (m *EventNewFinalityProvider) Marshal() (dAtA []byte, err error) { @@ -1128,7 +1129,7 @@ func (m *EventPowerDistUpdate_EventSlashedFinalityProvider) Unmarshal(dAtA []byt if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.Pk = &v if err := m.Pk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btcstaking/types/expected_keepers.go b/x/btcstaking/types/expected_keepers.go index c36571416..237879011 100644 --- a/x/btcstaking/types/expected_keepers.go +++ b/x/btcstaking/types/expected_keepers.go @@ -4,10 +4,10 @@ import ( "context" "math/big" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - etypes "github.com/babylonchain/babylon/x/epoching/types" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + etypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) type BTCLightClientKeeper interface { diff --git a/x/btcstaking/types/genesis.pb.go b/x/btcstaking/types/genesis.pb.go index 087dcb664..3994319ac 100644 --- a/x/btcstaking/types/genesis.pb.go +++ b/x/btcstaking/types/genesis.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -140,7 +140,7 @@ type VotingPowerFP struct { // block_height is the height of the block the voting power was stored. BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // fp_btc_pk the finality provider btc public key. - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // voting_power is the power of the finality provider at this specific block height. VotingPower uint64 `protobuf:"varint,3,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` } @@ -307,9 +307,9 @@ type BTCDelegator struct { // idx the btc delegator index. Idx *BTCDelegatorDelegationIndex `protobuf:"bytes,1,opt,name=idx,proto3" json:"idx,omitempty"` // fp_btc_pk the finality provider btc public key. - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // del_btc_pk the delegator btc public key. - DelBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,3,opt,name=del_btc_pk,json=delBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"del_btc_pk,omitempty"` + DelBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,3,opt,name=del_btc_pk,json=delBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"del_btc_pk,omitempty"` } func (m *BTCDelegator) Reset() { *m = BTCDelegator{} } @@ -431,50 +431,50 @@ func init() { var fileDescriptor_85d7b95fa5620238 = []byte{ // 694 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xdd, 0x4e, 0xd4, 0x4e, - 0x18, 0xc6, 0x29, 0xbb, 0x2c, 0xfc, 0x67, 0x97, 0x05, 0x86, 0xbf, 0x49, 0x43, 0xc2, 0x0a, 0xc5, - 0x8f, 0x8d, 0x26, 0x5d, 0x59, 0xd0, 0xc4, 0x43, 0xcb, 0x8a, 0xe2, 0x47, 0xd2, 0xd4, 0x95, 0x03, - 0x4e, 0x9a, 0x4e, 0x3b, 0xdb, 0x9d, 0x6c, 0x99, 0x69, 0x3a, 0x43, 0x65, 0xaf, 0xc1, 0x13, 0x0f, - 0xbd, 0x05, 0xef, 0xc4, 0x43, 0x0e, 0x8d, 0x07, 0xc6, 0xc0, 0x1d, 0x78, 0x01, 0xc6, 0x74, 0x5a, - 0x68, 0xc1, 0x5d, 0xc0, 0x18, 0xcf, 0x3a, 0x93, 0xe7, 0xfd, 0xcd, 0xfb, 0xbc, 0xf3, 0x4c, 0x0a, - 0xd6, 0x90, 0x83, 0x86, 0x01, 0xa3, 0x2d, 0x24, 0x5c, 0x2e, 0x9c, 0x01, 0xa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 0x87, 0xf6, 0x7e, 0x0a, 0x5c, 0xba, 0x33, 0x5c, 0x93, 0xc3, 0x27, 0xba, 0xdb, 0xc3, 0x75, 0x84, + 0x3a, 0x98, 0x0a, 0x12, 0xe1, 0xcb, 0x8f, 0xc4, 0x11, 0xa6, 0x22, 0x3d, 0xb2, 0xfe, 0xab, 0x08, + 0x2a, 0xcf, 0x13, 0x57, 0x6f, 0x85, 0x2d, 0x30, 0x7c, 0x04, 0x4a, 0x49, 0x4f, 0xaa, 0xb2, 0x52, + 0x68, 0x94, 0x5b, 0xcb, 0xda, 0x50, 0x97, 0x9a, 0x21, 0x45, 0x66, 0x2a, 0x86, 0x1d, 0x00, 0xbb, + 0x84, 0xda, 0x3e, 0x11, 0x03, 0x2b, 0x08, 0x59, 0x44, 0x5c, 0x1c, 0x72, 0x75, 0x52, 0x22, 0xee, + 0x8e, 0x40, 0x6c, 0xa7, 0x05, 0x46, 0xaa, 0x37, 0x17, 0xba, 0x17, 0x76, 0x38, 0x7c, 0x0d, 0xe6, + 0x90, 0x70, 0x2c, 0x17, 0xfb, 0xd8, 0xb3, 0x05, 0x61, 0x94, 0xab, 0x05, 0x09, 0xbd, 0x35, 0x02, + 0xaa, 0xef, 0x6e, 0xb5, 0xcf, 0xc4, 0x66, 0x15, 0x09, 0x27, 0x5b, 0x72, 0xb8, 0x03, 0x66, 0x23, + 0x26, 0x08, 0xf5, 0xac, 0x80, 0xbd, 0x8f, 0x3b, 0x2c, 0x5e, 0x0a, 0xeb, 0x48, 0xad, 0x11, 0x4b, + 0xb7, 0x0d, 0xb3, 0x12, 0x65, 0x4b, 0x0e, 0xf7, 0xc0, 0x22, 0xf2, 0x99, 0xd3, 0xb7, 0x7a, 0x98, + 0x78, 0x3d, 0x61, 0x39, 0x3d, 0x9b, 0x50, 0xae, 0x4e, 0x49, 0xe0, 0xbd, 0x51, 0xdd, 0xc5, 0x15, + 0x2f, 0x64, 0x81, 0x8e, 0xe8, 0x2e, 0xd3, 0x85, 0x63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m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -1397,7 +1397,7 @@ func (m *VotingPowerFP) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1730,7 +1730,7 @@ func (m *BTCDelegator) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1765,7 +1765,7 @@ func (m *BTCDelegator) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.DelBtcPk = &v if err := m.DelBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btcstaking/types/genesis_test.go b/x/btcstaking/types/genesis_test.go index 6de9bc033..8e1720227 100644 --- a/x/btcstaking/types/genesis_test.go +++ b/x/btcstaking/types/genesis_test.go @@ -5,7 +5,7 @@ import ( sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/stretchr/testify/require" ) diff --git a/x/btcstaking/types/hooks.go b/x/btcstaking/types/hooks.go index 450ef8c26..89307fe1e 100644 --- a/x/btcstaking/types/hooks.go +++ b/x/btcstaking/types/hooks.go @@ -3,7 +3,7 @@ package types import ( "context" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" ) // combine multiple BTC staking hooks, all hook functions are run in array sequence diff --git a/x/btcstaking/types/incentive.pb.go b/x/btcstaking/types/incentive.pb.go index 4eba382f5..e1234e074 100644 --- a/x/btcstaking/types/incentive.pb.go +++ b/x/btcstaking/types/incentive.pb.go @@ -6,7 +6,7 @@ package types import ( cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" @@ -85,7 +85,7 @@ func (m *VotingPowerDistCache) GetFinalityProviders() []*FinalityProviderDistInf type FinalityProviderDistInfo struct { // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // addr is the address to receive commission from delegations. Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // commission defines the commission rate of finality provider @@ -154,7 +154,7 @@ func (m *FinalityProviderDistInfo) GetBtcDels() []*BTCDelDistInfo { type BTCDelDistInfo struct { // btc_pk is the Bitcoin secp256k1 PK of this BTC delegation // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // staker_addr is the address to receive rewards from BTC delegation. StakerAddr string `protobuf:"bytes,2,opt,name=staker_addr,json=stakerAddr,proto3" json:"staker_addr,omitempty"` // staking_tx_hash is the staking tx hash of the BTC delegation @@ -228,39 +228,39 @@ func init() { } var fileDescriptor_ac354c3bd6d7a66b = []byte{ - // 502 bytes of a gzipped FileDescriptorProto + // 504 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0x9b, 0xae, 0x1b, 0xe0, 0x8e, 0x7f, 0x56, 0x91, 0xc2, 0x90, 0xb2, 0x52, 0x69, 0xa8, - 0x87, 0x35, 0x61, 0x1b, 0x42, 0xe2, 0x06, 0x59, 0x84, 0x98, 0xd8, 0xa4, 0x28, 0x4c, 0x1c, 0x38, - 0x10, 0x39, 0x8e, 0x9b, 0x58, 0x4d, 0xec, 0x2a, 0xf6, 0x42, 0xf3, 0x2d, 0xf8, 0x10, 0x7c, 0x84, - 0x7d, 0x08, 0x8e, 0xd3, 0x0e, 0x08, 0xed, 0x30, 0xa1, 0x56, 0x7c, 0x0f, 0x14, 0x27, 0xb0, 0x82, - 0x5a, 0xc1, 0x81, 0x9b, 0xed, 0xe7, 0x79, 0xfd, 0xbe, 0xcf, 0x4f, 0x7a, 0xc1, 0x56, 0x80, 0x82, - 0x22, 0xe1, 0xcc, 0x0a, 0x24, 0x16, 0x12, 0x8d, 0x28, 0x8b, 0xac, 0x7c, 0xc7, 0xa2, 0x0c, 0x13, - 0x26, 0x69, 0x4e, 0xcc, 0x71, 0xc6, 0x25, 0x87, 0xf7, 0x6a, 0x9b, 0x79, 0x65, 0x33, 0xf3, 0x9d, - 0x8d, 0x4e, 0xc4, 0x23, 0xae, 0x1c, 0x56, 0x79, 0xaa, 0xcc, 0x1b, 0xf7, 0x31, 0x17, 0x29, 0x17, - 0x7e, 0x25, 0x54, 0x97, 0x4a, 0xea, 0x7d, 0x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0xb8, - 0xdc, 0x7c, 0x50, 0xd5, 0x88, 0x70, 0x64, 0x52, 0x6e, 0xa5, 0x48, 0xc6, 0xe6, 0x21, 0x89, 0x10, - 0x2e, 0x1c, 0x82, 0xcf, 0x4f, 0x07, 0xa0, 0xfe, 0xd2, 0x21, 0xd8, 0x9b, 0xfb, 0x60, 0x09, 0xf6, - 0xd6, 0x12, 0xec, 0xcf, 0xc1, 0xf5, 0x32, 0x79, 0x48, 0x12, 0xa1, 0xaf, 0x2a, 0xd8, 0x5b, 0x4b, - 0x60, 0xdb, 0xc7, 0xfb, 0x0e, 0x49, 0x7e, 0x21, 0xbe, 0x16, 0x48, 0xec, 0x90, 0x44, 0xf4, 0xbe, - 0x6b, 0xe0, 0xd6, 0xef, 0xda, 0xff, 0xc6, 0xf9, 0x0c, 0xb4, 0xcb, 0x39, 0x48, 0xe6, 0xff, 0x13, - 0x55, 0x50, 0x99, 0xcb, 0x47, 0xf8, 0x08, 0xdc, 0xae, 0x23, 0xf8, 0x72, 0xe2, 0xc7, 0x48, 0xc4, - 0x15, 0x60, 0xef, 0x66, 0xfd, 0x7c, 0x3c, 0x79, 0x85, 0x44, 0x0c, 0x1f, 0x82, 0xf5, 0x05, 0xb8, - 0xda, 0xf9, 0x15, 0x29, 0xfb, 0xf0, 0xf3, 0xd4, 0xd0, 0xce, 0xa6, 0x86, 0xf6, 0x6d, 0x6a, 0x68, - 0x1f, 0x67, 0x46, 0xe3, 0x6c, 0x66, 0x34, 0xbe, 0xce, 0x8c, 0xc6, 0xbb, 0xbf, 0x46, 0x9b, 0xcc, - 0xaf, 0xa2, 0xca, 0x19, 0xac, 0xa9, 0xe5, 0xd9, 0xfb, 0x11, 0x00, 0x00, 0xff, 0xff, 0x42, 0x6b, - 0x62, 0xab, 0xad, 0x03, 0x00, 0x00, + 0x87, 0x35, 0x61, 0x6c, 0x07, 0xb8, 0x41, 0x16, 0x21, 0x26, 0xfe, 0x45, 0x61, 0xe2, 0xc0, 0x81, + 0xc8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 0x76, 0x39, 0x09, 0xcd, 0xfc, + 0xa5, 0xb8, 0x82, 0xca, 0x5c, 0x3e, 0xc2, 0x47, 0xe0, 0x76, 0x1d, 0xc2, 0x97, 0x13, 0x3f, 0x42, + 0x22, 0xaa, 0x10, 0x7b, 0x37, 0xeb, 0xe7, 0xc3, 0xc9, 0x2b, 0x24, 0x22, 0xf8, 0x10, 0xac, 0x5f, + 0x01, 0xac, 0x9d, 0x5f, 0xb2, 0xb2, 0xdf, 0x7d, 0x9f, 0x1a, 0xda, 0xc9, 0xd4, 0xd0, 0x7e, 0x4c, + 0x0d, 0xed, 0xeb, 0xcc, 0x68, 0x9c, 0xcc, 0x8c, 0xc6, 0xd9, 0xcc, 0x68, 0x7c, 0x5a, 0x22, 0xdc, + 0x64, 0x7e, 0x21, 0x55, 0x52, 0xbc, 0xa6, 0x56, 0x68, 0xf7, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x84, 0x61, 0x20, 0xde, 0xb3, 0x03, 0x00, 0x00, } func (m *VotingPowerDistCache) Marshal() (dAtA []byte, err error) { @@ -682,7 +682,7 @@ func (m *FinalityProviderDistInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -888,7 +888,7 @@ func (m *BTCDelDistInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btcstaking/types/mocked_keepers.go b/x/btcstaking/types/mocked_keepers.go index e3a42ecb0..d68d89080 100644 --- a/x/btcstaking/types/mocked_keepers.go +++ b/x/btcstaking/types/mocked_keepers.go @@ -9,10 +9,10 @@ import ( big "math/big" reflect "reflect" - types "github.com/babylonchain/babylon/types" - types0 "github.com/babylonchain/babylon/x/btccheckpoint/types" - types1 "github.com/babylonchain/babylon/x/btclightclient/types" - types2 "github.com/babylonchain/babylon/x/epoching/types" + types "github.com/babylonlabs-io/babylon/types" + types0 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types1 "github.com/babylonlabs-io/babylon/x/btclightclient/types" + types2 "github.com/babylonlabs-io/babylon/x/epoching/types" gomock "github.com/golang/mock/gomock" ) diff --git a/x/btcstaking/types/msg.go b/x/btcstaking/types/msg.go index 8abc851e5..e7e3efe46 100644 --- a/x/btcstaking/types/msg.go +++ b/x/btcstaking/types/msg.go @@ -4,8 +4,8 @@ import ( "fmt" math "math" - "github.com/babylonchain/babylon/btcstaking" - bbn "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/btcstaking" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/chaincfg/chainhash" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btcstaking/types/msg_test.go b/x/btcstaking/types/msg_test.go index c6f66678a..ba69fd302 100644 --- a/x/btcstaking/types/msg_test.go +++ b/x/btcstaking/types/msg_test.go @@ -6,9 +6,9 @@ import ( "testing" "cosmossdk.io/errors" - "github.com/babylonchain/babylon/testutil/datagen" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" stktypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" diff --git a/x/btcstaking/types/params.go b/x/btcstaking/types/params.go index cd1835a46..f3fc1fd92 100644 --- a/x/btcstaking/types/params.go +++ b/x/btcstaking/types/params.go @@ -5,8 +5,8 @@ import ( "math" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/btcstaking" - bbn "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/btcstaking" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" diff --git a/x/btcstaking/types/params.pb.go b/x/btcstaking/types/params.pb.go index a8ccd45f3..097fff47a 100644 --- a/x/btcstaking/types/params.pb.go +++ b/x/btcstaking/types/params.pb.go @@ -6,7 +6,7 @@ package types import ( cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" @@ -30,7 +30,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Params struct { // covenant_pks is the list of public keys held by the covenant committee // each PK follows encoding in BIP-340 spec on Bitcoin - CovenantPks []github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,rep,name=covenant_pks,json=covenantPks,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"covenant_pks,omitempty"` + CovenantPks []github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,rep,name=covenant_pks,json=covenantPks,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"covenant_pks,omitempty"` // covenant_quorum is the minimum number of signatures needed for the covenant // multisignature CovenantQuorum uint32 `protobuf:"varint,2,opt,name=covenant_quorum,json=covenantQuorum,proto3" json:"covenant_quorum,omitempty"` @@ -192,40 +192,40 @@ func init() { var fileDescriptor_8d1392776a3e15b9 = []byte{ // 547 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c,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 0xfb, 0x8a, 0xc6, 0x04, 0x9d, 0x52, 0x8e, - 0xa7, 0x54, 0xa5, 0xd9, 0x6f, 0x8c, 0x69, 0x40, 0x22, 0x69, 0x6e, 0xe8, 0x23, 0x36, 0x19, 0x4e, - 0xfa, 0x9a, 0x73, 0x54, 0x50, 0x86, 0x25, 0x03, 0xde, 0x03, 0x30, 0xdb, 0x77, 0xce, 0x3d, 0xc1, - 0x03, 0x7d, 0x26, 0xca, 0x88, 0x79, 0x49, 0xd7, 0xed, 0x32, 0xca, 0x5f, 0x96, 0x89, 0x13, 0xca, - 0x08, 0x44, 0xbf, 0xb2, 0xf5, 0x36, 0x9b, 0xff, 0xba, 0xcd, 0x4f, 0x0d, 0xb2, 0x8d, 0x1e, 0xd5, - 0xde, 0x7f, 0x68, 0x55, 0x3a, 0x04, 0x34, 0x46, 0x4a, 0x44, 0x24, 0x28, 0x9c, 0x67, 0x82, 0x8d, - 0x98, 0x44, 0xd9, 0x39, 0x4d, 0x43, 0x4f, 0x56, 0x86, 0xf0, 0x31, 0xa8, 0xe7, 0xb6, 0xd7, 0x7e, - 0xd9, 0xda, 0xdf, 0xb3, 0x7f, 0xeb, 0x7b, 0x3b, 0x17, 0x1a, 0xd4, 0xb2, 0x19, 0xdd, 0xa2, 0x64, - 0x70, 0x7c, 0xb6, 0xb4, 0x8c, 0xf3, 0xa5, 0x65, 0x7c, 0x59, 0x5a, 0xc6, 0xbb, 0x95, 0x55, 0x39, - 0x5f, 0x59, 0x95, 0xcf, 0x2b, 0xab, 0xf2, 0xe6, 0x8f, 0x86, 0x4e, 0x7e, 0x7c, 0x7b, 0xda, 0xdd, - 0x5e, 0x5d, 0x3f, 0x98, 0x83, 0x6f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x91, 0xdb, 0xb2, 0x9e, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0x8d, 0x49, 0x48, 0xe9, 0x34, 0xa5, 0x65, 0x00, 0x61, 0x82, 0xea, 0x44, 0x61, 0x41, 0x90, + 0xa8, 0x4d, 0x68, 0x16, 0x08, 0x56, 0x09, 0xa8, 0x12, 0x02, 0xa1, 0xe0, 0x14, 0x16, 0xb0, 0x18, + 0x8d, 0xed, 0xa9, 0x33, 0x4a, 0x66, 0x26, 0x78, 0x26, 0x56, 0xfc, 0x17, 0x2c, 0x59, 0xf2, 0x11, + 0x7c, 0x44, 0x97, 0x15, 0x2b, 0xd4, 0x45, 0x84, 0x92, 0x5f, 0xe0, 0x03, 0x90, 0xc7, 0x76, 0x78, + 0x88, 0x45, 0xd5, 0x9d, 0xef, 0xb9, 0xe7, 0x9e, 0xfb, 0xf0, 0x19, 0xd0, 0xf2, 0xb0, 0x97, 0x4c, + 0x04, 0x77, 0x3c, 0xe5, 0x4b, 0x85, 0xc7, 0x94, 0x87, 0x4e, 0xdc, 0x71, 0xa6, 0x38, 0xc2, 0x4c, + 0xda, 0xd3, 0x48, 0x28, 0x01, 0x6f, 0xe6, 0x1c, 0xfb, 0x37, 0xc7, 0x8e, 0x3b, 0xf5, 0x1b, 0xa1, + 0x08, 0x85, 0x66, 0x38, 0xe9, 0x57, 0x46, 0xae, 0xdf, 0xf6, 0x85, 0x64, 0x42, 0xa2, 0x2c, 0x91, + 0x05, 0x59, 0xaa, 0xf5, 0xb3, 0x02, 0xaa, 0x03, 0x2d, 0x0c, 0x3f, 0x80, 0x9a, 0x2f, 0x62, 0xc2, + 0x31, 0x57, 0x68, 0x3a, 0x96, 0xa6, 0xd1, 0x2c, 0xb7, 0x6b, 0xfd, 0xc7, 0x67, 0x8b, 0x46, 0x37, + 0xa4, 0x6a, 0x34, 0xf3, 0x6c, 0x5f, 0x30, 0x27, 0xef, 0x3b, 0xc1, 0x9e, 0xdc, 0xa7, 0xa2, 0x08, + 0x1d, 0x95, 0x4c, 0x89, 0xb4, 0xfb, 0x2f, 0x06, 0x07,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0x9e, 0x50, 0x95, 0xa4, 0x3f, 0x32, 0xa6, 0x01, 0x89, 0xa4, 0xb9, 0xa1, 0x8f, 0x58, 0x67, 0x78, + 0xde, 0xd3, 0x9c, 0xc3, 0x9c, 0x32, 0x28, 0x18, 0xf0, 0x01, 0x80, 0xe9, 0xbe, 0x33, 0xee, 0x09, + 0x1e, 0xe8, 0x33, 0x51, 0x46, 0xcc, 0x2b, 0xba, 0x6e, 0x97, 0x51, 0xfe, 0xb6, 0x48, 0x1c, 0x51, + 0x46, 0x20, 0xfa, 0x97, 0xad, 0xb7, 0xd9, 0xbc, 0xe8, 0x36, 0x7f, 0x35, 0x48, 0x37, 0x7a, 0x52, + 0xf9, 0xfc, 0xa5, 0x51, 0x6a, 0x11, 0x50, 0x1b, 0x2a, 0x11, 0x91, 0x20, 0xf7, 0x9e, 0x09, 0x36, + 0x62, 0x12, 0xa5, 0xe7, 0x34, 0x0d, 0x3d, 0x59, 0x11, 0xc2, 0xa7, 0xa0, 0x9a, 0x19, 0x5f, 0xfb, + 0x65, 0xeb, 0xd1, 0x9e, 0xfd, 0x5f, 0xe7, 0xdb, 0x99, 0x50, 0xbf, 0x92, 0xce, 0xe8, 0xe6, 0x25, + 0xfd, 0xd7, 0x27, 0x4b, 0xcb, 0x38, 0x5d, 0x5a, 0xc6, 0x8f, 0xa5, 0x65, 0x7c, 0x5a, 0x59, 0xa5, + 0xd3, 0x95, 0x55, 0xfa, 0xbe, 0xb2, 0x4a, 0xef, 0xcf, 0x61, 0xe9, 0xf9, 0x9f, 0xef, 0x4f, 0xfb, + 0xdb, 0xab, 0xea, 0x47, 0x73, 0xf0, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x60, 0x31, 0x6e, 0xa0, 0xa2, 0x03, 0x00, 0x00, } @@ -487,7 +487,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.CovenantPks = append(m.CovenantPks, v) if err := m.CovenantPks[len(m.CovenantPks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btcstaking/types/pop.go b/x/btcstaking/types/pop.go index dd5a562ae..004b31ca1 100644 --- a/x/btcstaking/types/pop.go +++ b/x/btcstaking/types/pop.go @@ -5,9 +5,9 @@ import ( "encoding/hex" "fmt" - "github.com/babylonchain/babylon/crypto/bip322" - "github.com/babylonchain/babylon/crypto/ecdsa" - bbn "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/crypto/bip322" + "github.com/babylonlabs-io/babylon/crypto/ecdsa" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcutil" diff --git a/x/btcstaking/types/pop.pb.go b/x/btcstaking/types/pop.pb.go index 32bfca102..f0d4519ef 100644 --- a/x/btcstaking/types/pop.pb.go +++ b/x/btcstaking/types/pop.pb.go @@ -178,25 +178,25 @@ func init() { func init() { proto.RegisterFile("babylon/btcstaking/v1/pop.proto", fileDescriptor_9d6ceb088d9e9f3a) } var fileDescriptor_9d6ceb088d9e9f3a = []byte{ - // 285 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x41, 0x4b, 0xc3, 0x30, - 0x1c, 0xc5, 0x9b, 0x89, 0x1b, 0xfb, 0x33, 0xa4, 0x04, 0xc5, 0x9d, 0xe2, 0xdc, 0x69, 0x78, 0x48, - 0x5c, 0x26, 0x78, 0xb6, 0xd5, 0x83, 0x20, 0x38, 0xd6, 0x9e, 0xbc, 0x8c, 0xa6, 0xeb, 0xba, 0xa0, - 0x36, 0xa5, 0x89, 0xc3, 0x7e, 0x0b, 0x3f, 0x96, 0xc7, 0x1d, 0x3d, 0x4a, 0xfb, 0x45, 0xa4, 0xb3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27, 0x1e, 0x4b, 0xb3, 0x79, 0x13, 0x34, 0x54, 0xaf, 0xac, 0xbe, 0x2a, - 0xdc, 0x04, 0x32, 0x69, 0x0c, 0x7b, 0xff, 0xcb, 0xb2, 0x82, 0xa0, 0x45, 0x77, 0xcf, 0x72, 0xf6, - 0x13, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x31, 0xf3, 0x97, 0x6e, 0x01, 0x00, 0x00, + // 287 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x31, 0x4b, 0xc3, 0x40, + 0x1c, 0xc5, 0x73, 0x15, 0x5b, 0xfa, 0xa7, 0x48, 0x38, 0x14, 0x3b, 0x9d, 0xb5, 0x53, 0x11, 0xbc, + 0xb3, 0x69, 0xc1, 0xd9, 0x44, 0x07, 0x17, 0x2d, 0x49, 0x26, 0x97, 0x92, 0x4b, 0xd3, 0x78, 0x58, + 0x73, 0x21, 0x77, 0x16, 0xf3, 0x2d, 0xfc, 0x58, 0x8e, 0x1d, 0x1d, 0x25, 0xf9, 0x22, 0x92, 0x9a, + 0x10, 0x07, 0xb7, 0xf7, 0xb8, 0x77, 0xef, 0xf1, 0xff, 0xc1, 0x19, 0x0f, 0x78, 0xbe, 0x91, 0x09, + 0xe3, 0x3a, 0x54, 0x3a, 0x78, 0x11, 0x49, 0xcc, 0xb6, 0x53, 0x96, 0xca, 0x94, 0xa6, 0x99, 0xd4, + 0x12, 0x9f, 0xd4, 0x01, 0xda, 0x06, 0xe8, 0x76, 0x3a, 0xd6, 0x70, 0xbc, 0xc8, 0xa4, 0x5c, 0x3f, + 0xae, 0x17, 0x52, 0xa9, 0x48, 0x29, 0x21, 0x13, 0xdb, 0x77, 0xb0, 0x03, 0x03, 0xae, 0xc3, 0xa5, + 0x12, 0xf1, 0x52, 0xe7, 0x69, 0x34, 0x44, 0x23, 0x34, 0x39, 0xb2, 0xce, 0xe9, 0xbf, 0x2d, 0xd4, + 0xf6, 0x1d, 0x4f, 0xc4, 0x7e, 0x9e, 0x46, 0x2e, 0x70, 0x1d, 0xd6, 0x1a, 0x9f, 0x42, 0xaf, 0x2e, + 0x19, 0x76, 0x46, 0x68, 0x32, 0x70, 0xbb, 0xbf, 0x8f, 0xe3, 0x6b, 0xe8, 0xdb, 0xf7, 0x8b, 0x99, + 0x65, 0x79, 0x22, 0xc6, 0x43, 0xe8, 0x05, 0xab, 0x55, 0x16, 0x29, 0xb5, 0x5f, 0xe9, 0xbb, 0x8d, + 0xc5, 0x26, 0x1c, 0xb4, 0x7f, 0x2b, 0x79, 0xc1, 0x00, 0xda, 0x2d, 0x0c, 0xd0, 0xad, 0x6a, 0xe6, + 0x57, 0xa6, 0xd1, 0x68, 0xcb, 0x32, 0x11, 0xee, 0xc3, 0xe1, 0x9d, 0x73, 0xeb, 0xdd, 0x98, 0x1d, + 0xfb, 0xe1, 0xb3, 0x20, 0x68, 0x57, 0x10, 0xf4, 0x5d, 0x10, 0xf4, 0x51, 0x12, 0x63, 0x57, 0x12, + 0xe3, 0xab, 0x24, 0xc6, 0xd3, 0x3c, 0x16, 0xfa, 0xf9, 0x8d, 0xd3, 0x50, 0xbe, 0xb2, 0xfa, 0xaa, + 0x4d, 0xc0, 0xd5, 0xa5, 0x90, 0x8d, 0x65, 0xef, 0x7f, 0x69, 0x56, 0x18, 0x14, 0xef, 0xee, 0x69, + 0xce, 0x7e, 0x02, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xd5, 0x14, 0x5e, 0x70, 0x01, 0x00, 0x00, } func (m *ProofOfPossessionBTC) Marshal() (dAtA []byte, err error) { diff --git a/x/btcstaking/types/pop_test.go b/x/btcstaking/types/pop_test.go index dc58f6dfd..86bd8ceff 100644 --- a/x/btcstaking/types/pop_test.go +++ b/x/btcstaking/types/pop_test.go @@ -11,9 +11,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) var ( diff --git a/x/btcstaking/types/query.pb.go b/x/btcstaking/types/query.pb.go index 369f69ab9..dc710bb9f 100644 --- a/x/btcstaking/types/query.pb.go +++ b/x/btcstaking/types/query.pb.go @@ -7,7 +7,7 @@ import ( context "context" cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" types "github.com/cosmos/cosmos-sdk/x/staking/types" @@ -1159,10 +1159,10 @@ type BTCDelegationResponse struct { StakerAddr string `protobuf:"bytes,1,opt,name=staker_addr,json=stakerAddr,proto3" json:"staker_addr,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of this BTC delegation // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // fp_btc_pk_list is the list of BIP-340 PKs of the finality providers that // this BTC delegation delegates to - FpBtcPkList []github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,3,rep,name=fp_btc_pk_list,json=fpBtcPkList,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk_list,omitempty"` + FpBtcPkList []github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,3,rep,name=fp_btc_pk_list,json=fpBtcPkList,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk_list,omitempty"` // start_height is the start BTC height of the BTC delegation // it is the start BTC height of the timelock StartHeight uint64 `protobuf:"varint,4,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` @@ -1488,7 +1488,7 @@ type FinalityProviderResponse struct { Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // pop is the proof of possession of the BTC_PK by the fp addr. // Essentially is the signature where the BTC SK sigs the fp addr. Pop *ProofOfPossessionBTC `protobuf:"bytes,5,opt,name=pop,proto3" json:"pop,omitempty"` @@ -1629,125 +1629,126 @@ func init() { func init() { proto.RegisterFile("babylon/btcstaking/v1/query.proto", fileDescriptor_74d49d26f7429697) } var fileDescriptor_74d49d26f7429697 = []byte{ - // 1884 bytes of a gzipped FileDescriptorProto + // 1889 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4b, 0x6c, 0xdb, 0xc8, 0x19, 0x0e, 0x6d, 0x45, 0xb1, 0x7f, 0xd9, 0x8e, 0x33, 0xeb, 0x24, 0x8c, 0x1c, 0xdb, 0x09, 0x9b, - 0x4d, 0x9c, 0x97, 0x18, 0x2b, 0xde, 0x14, 0xed, 0x76, 0x37, 0xb1, 0xec, 0xdd, 0x24, 0xbb, 0x31, - 0xa2, 0x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9, 0xe2, 0xcd, 0xa2, 0xf2, 0xe5, 0x9b, 0x45, + 0xe5, 0xef, 0x6f, 0x16, 0x95, 0x5f, 0xbe, 0x5d, 0x3c, 0xf1, 0xe5, 0xdb, 0xc5, 0x13, 0x7f, 0x7b, + 0xbb, 0x78, 0xe2, 0x07, 0x43, 0x7c, 0xf0, 0xb5, 0xe3, 0x2e, 0xf9, 0xd7, 0x5f, 0x35, 0xcb, 0xff, + 0xd7, 0x74, 0xe7, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x53, 0x66, 0x0a, 0xb8, 0xb5, 0x1b, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -5924,7 +5925,7 @@ func (m *BTCDelegationResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -5959,7 +5960,7 @@ func (m *BTCDelegationResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPkList = append(m.FpBtcPkList, v) if err := m.FpBtcPkList[len(m.FpBtcPkList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -6810,7 +6811,7 @@ func (m *FinalityProviderResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btcstaking/types/tx.pb.go b/x/btcstaking/types/tx.pb.go index b2f595e61..316cac6f8 100644 --- a/x/btcstaking/types/tx.pb.go +++ b/x/btcstaking/types/tx.pb.go @@ -7,8 +7,8 @@ import ( context "context" cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" - types1 "github.com/babylonchain/babylon/x/btccheckpoint/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" + types1 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" types "github.com/cosmos/cosmos-sdk/x/staking/types" @@ -45,7 +45,7 @@ type MsgCreateFinalityProvider struct { Commission *cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=commission,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"commission,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // pop is the proof of possession of btc_pk over the FP signer address. Pop *ProofOfPossessionBTC `protobuf:"bytes,5,opt,name=pop,proto3" json:"pop,omitempty"` } @@ -251,10 +251,10 @@ type MsgCreateBTCDelegation struct { // pop is the proof of possession of btc_pk by the staker_addr. Pop *ProofOfPossessionBTC `protobuf:"bytes,2,opt,name=pop,proto3" json:"pop,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of the BTC delegator - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,3,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,3,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // fp_btc_pk_list is the list of Bitcoin secp256k1 PKs of the finality providers, if there is more than one // finality provider pk it means that delegation is re-staked - FpBtcPkList []github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,rep,name=fp_btc_pk_list,json=fpBtcPkList,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk_list,omitempty"` + FpBtcPkList []github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,4,rep,name=fp_btc_pk_list,json=fpBtcPkList,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk_list,omitempty"` // staking_time is the time lock used in staking transaction StakingTime uint32 `protobuf:"varint,5,opt,name=staking_time,json=stakingTime,proto3" json:"staking_time,omitempty"` // staking_value is the amount of satoshis locked in staking output @@ -268,7 +268,7 @@ type MsgCreateBTCDelegation struct { // It will be a part of the witness for the staking tx output. // The staking tx output further needs signatures from covenant and finality provider in // order to be spendable. - DelegatorSlashingSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,9,opt,name=delegator_slashing_sig,json=delegatorSlashingSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"delegator_slashing_sig,omitempty"` + DelegatorSlashingSig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,9,opt,name=delegator_slashing_sig,json=delegatorSlashingSig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"delegator_slashing_sig,omitempty"` // unbonding_time is the time lock used when funds are being unbonded. It is be used in: // - unbonding transaction, time lock spending path // - staking slashing transaction, change output @@ -286,7 +286,7 @@ type MsgCreateBTCDelegation struct { // Note that the tx itself does not contain signatures, which are off-chain. UnbondingSlashingTx *BTCSlashingTx `protobuf:"bytes,13,opt,name=unbonding_slashing_tx,json=unbondingSlashingTx,proto3,customtype=BTCSlashingTx" json:"unbonding_slashing_tx,omitempty"` // delegator_unbonding_slashing_sig is the signature on the slashing tx by the delegator (i.e., SK corresponding to btc_pk). - DelegatorUnbondingSlashingSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,14,opt,name=delegator_unbonding_slashing_sig,json=delegatorUnbondingSlashingSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"delegator_unbonding_slashing_sig,omitempty"` + DelegatorUnbondingSlashingSig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,14,opt,name=delegator_unbonding_slashing_sig,json=delegatorUnbondingSlashingSig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"delegator_unbonding_slashing_sig,omitempty"` } func (m *MsgCreateBTCDelegation) Reset() { *m = MsgCreateBTCDelegation{} } @@ -419,7 +419,7 @@ var xxx_messageInfo_MsgCreateBTCDelegationResponse proto.InternalMessageInfo type MsgAddCovenantSigs struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // pk is the BTC public key of the covenant member - Pk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=pk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"pk,omitempty"` + Pk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=pk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"pk,omitempty"` // staking_tx_hash is the hash of the staking tx. // It uniquely identifies a BTC delegation StakingTxHash string `protobuf:"bytes,3,opt,name=staking_tx_hash,json=stakingTxHash,proto3" json:"staking_tx_hash,omitempty"` @@ -429,7 +429,7 @@ type MsgAddCovenantSigs struct { SlashingTxSigs [][]byte `protobuf:"bytes,4,rep,name=slashing_tx_sigs,json=slashingTxSigs,proto3" json:"slashing_tx_sigs,omitempty"` // unbonding_tx_sig is the signature of the covenant on the unbonding tx submitted to babylon // the signature follows encoding in BIP-340 spec - UnbondingTxSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,5,opt,name=unbonding_tx_sig,json=unbondingTxSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"unbonding_tx_sig,omitempty"` + UnbondingTxSig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,5,opt,name=unbonding_tx_sig,json=unbondingTxSig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"unbonding_tx_sig,omitempty"` // slashing_unbonding_tx_sigs is a list of adaptor signatures of the covenant // on slashing tx corresponding to unbonding tx submitted to babylon // the order of sigs should respect the order of finality providers @@ -545,7 +545,7 @@ type MsgBTCUndelegate struct { StakingTxHash string `protobuf:"bytes,2,opt,name=staking_tx_hash,json=stakingTxHash,proto3" json:"staking_tx_hash,omitempty"` // unbonding_tx_sig is the signature of the staker on the unbonding tx submitted to babylon // the signature follows encoding in BIP-340 spec - UnbondingTxSig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,3,opt,name=unbonding_tx_sig,json=unbondingTxSig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"unbonding_tx_sig,omitempty"` + UnbondingTxSig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,3,opt,name=unbonding_tx_sig,json=unbondingTxSig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"unbonding_tx_sig,omitempty"` } func (m *MsgBTCUndelegate) Reset() { *m = MsgBTCUndelegate{} } @@ -854,86 +854,86 @@ func init() { func init() { proto.RegisterFile("babylon/btcstaking/v1/tx.proto", fileDescriptor_4baddb53e97f38f2) } var fileDescriptor_4baddb53e97f38f2 = []byte{ - // 1259 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4f, 0x6f, 0x13, 0x47, - 0x14, 0xcf, 0xda, 0x89, 0x69, 0x9e, 0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0x70, 0x76, 0xdc, 0x3b, 0x67, - 0xfd, 0x6d, 0x09, 0x0d, 0xc1, 0xe5, 0xdb, 0xa7, 0x82, 0x87, 0xce, 0x09, 0x2c, 0x8c, 0x9e, 0xbc, - 0xd7, 0x92, 0x99, 0x46, 0xa0, 0xf2, 0xc6, 0x89, 0xa1, 0xa1, 0x43, 0x0c, 0xb9, 0xe1, 0x43, 0xe5, - 0x6a, 0x32, 0xc7, 0x10, 0x50, 0x2e, 0x9f, 0x10, 0x18, 0xba, 0xfa, 0x51, 0x80, 0x95, 0xe4, 0xe9, - 0xbe, 0x95, 0x4c, 0x97, 0x68, 0x24, 0xdf, 0x7b, 0x07, 0xa3, 0x30, 0x9e, 0x7d, 0x98, 0x1b, 0x9a, - 0xd3, 0x2b, 0xc9, 0x64, 0x71, 0x9c, 0xac, 0x9c, 0x0c, 0x17, 0xf8, 0x91, 0x67, 0xbe, 0x7f, 0xf3, - 0xf4, 0xba, 0x50, 0x79, 0xfc, 0xfc, 0x55, 0x5e, 0x78, 0xf1, 0x2a, 0x2f, 0xfc, 0xf1, 0x2a, 0x2f, - 0xfc, 0xf4, 0x3a, 0x3f, 0xf5, 0xe2, 0x75, 0x7e, 0xea, 0xf7, 0xd7, 0xf9, 0xa9, 0xaf, 0xdf, 0x7a, - 0x67, 0x0e, 0xe2, 0xff, 0x2e, 0xf9, 0xb1, 0xdb, 0xca, 0xf0, 0x7f, 0x97, 0xb7, 0xfe, 0x0d, 0x00, - 0x00, 0xff, 0xff, 0xf6, 0xe9, 0xb3, 0x62, 0x79, 0x0f, 0x00, 0x00, + // 1263 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x13, 0xc7, + 0x17, 0xcf, 0xda, 0x89, 0xf9, 0xe6, 0x39, 0x4e, 0xf2, 0x5d, 0x42, 0xd8, 0x6c, 0xc1, 0x76, 0x0c, + 0x85,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, 0x0d, 0xc1, 0xe5, 0x0f, 0x4f, 0x04, 0x0f, 0x9d, 0x13, 0x98, + 0x3b, 0x7a, 0xfe, 0x5e, 0x4b, 0x66, 0x3a, 0x02, 0x95, 0xd7, 0x8e, 0x0d, 0x0d, 0x1d, 0x62, 0xc8, + 0x0d, 0x1f, 0x2b, 0x57, 0x93, 0x39, 0x86, 0x80, 0x72, 0xf9, 0x98, 0xc0, 0xd0, 0xd5, 0x0f, 0x02, + 0x2c, 0x25, 0x4f, 0xf7, 0xed, 0x64, 0xba, 0x44, 0x23, 0x79, 0xe3, 0x1d, 0x8c, 0xc2, 0x78, 0x76, + 0x61, 0x66, 0x68, 0x4e, 0xaf, 0x24, 0x93, 0xc5, 0x71, 0xb2, 0x72, 0x3c, 0x5c, 0xe0, 0x47, 0x9e, + 0xfa, 0xf6, 0xcd, 0xd3, 0xeb, 0x42, 0xe5, 0xb3, 0xe7, 0xaf, 0xf2, 0xc2, 0x8b, 0x57, 0x79, 0xe1, + 0xf7, 0x57, 0x79, 0xe1, 0xc7, 0xd7, 0xf9, 0x89, 0x17, 0xaf, 0xf3, 0x13, 0xbf, 0xbd, 0xce, 0x4f, + 0x7c, 0x71, 0x8c, 0x9b, 0x73, 0x10, 0xff, 0xbf, 0xc9, 0x0f, 0xde, 0x56, 0x86, 0xff, 0xdf, 0xbc, + 0xfd, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x82, 0xd4, 0xb3, 0x90, 0x8b, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2368,7 +2368,7 @@ func (m *MsgCreateFinalityProvider) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2845,7 +2845,7 @@ func (m *MsgCreateBTCDelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2880,7 +2880,7 @@ func (m *MsgCreateBTCDelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPkList = append(m.FpBtcPkList, v) if err := m.FpBtcPkList[len(m.FpBtcPkList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3024,7 +3024,7 @@ func (m *MsgCreateBTCDelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.DelegatorSlashingSig = &v if err := m.DelegatorSlashingSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3166,7 +3166,7 @@ func (m *MsgCreateBTCDelegation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.DelegatorUnbondingSlashingSig = &v if err := m.DelegatorUnbondingSlashingSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3333,7 +3333,7 @@ func (m *MsgAddCovenantSigs) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.Pk = &v if err := m.Pk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3432,7 +3432,7 @@ func (m *MsgAddCovenantSigs) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.UnbondingTxSig = &v if err := m.UnbondingTxSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3663,7 +3663,7 @@ func (m *MsgBTCUndelegate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.UnbondingTxSig = &v if err := m.UnbondingTxSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/checkpointing/README.md b/x/checkpointing/README.md index e95bfdc6d..565e5d467 100644 --- a/x/checkpointing/README.md +++ b/x/checkpointing/README.md @@ -102,7 +102,7 @@ message RawCheckpoint { // sigs bytes bls_multi_sig = 4 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.Signature" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" ]; } // RawCheckpointWithMeta wraps the raw checkpoint with metadata. @@ -115,7 +115,7 @@ message RawCheckpointWithMeta { // bls_aggr_pk defines the aggregated BLS public key bytes bls_aggr_pk = 3 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.PublicKey" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.PublicKey" ]; // power_sum defines the accumulated voting power for the checkpoint uint64 power_sum = 4; // lifecycle defines the lifecycle of this checkpoint, i.e., each state @@ -300,7 +300,7 @@ message VoteExtension { // bls_sig is the BLS signature bytes bls_sig = 6 [ (gogoproto.customtype) = - "github.com/babylonchain/babylon/crypto/bls12381.Signature" ]; + "github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" ]; } ``` diff --git a/x/checkpointing/abci.go b/x/checkpointing/abci.go index 15f5d4db9..760fbf895 100644 --- a/x/checkpointing/abci.go +++ b/x/checkpointing/abci.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" - "github.com/babylonchain/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" "github.com/cosmos/cosmos-sdk/telemetry" ) diff --git a/x/checkpointing/client/cli/query.go b/x/checkpointing/client/cli/query.go index d26a5bb07..fa5b4d59a 100644 --- a/x/checkpointing/client/cli/query.go +++ b/x/checkpointing/client/cli/query.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/checkpointing/client/cli/tx.go b/x/checkpointing/client/cli/tx.go index 371caa21a..8de4578b0 100644 --- a/x/checkpointing/client/cli/tx.go +++ b/x/checkpointing/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "cosmossdk.io/core/address" authcodec "github.com/cosmos/cosmos-sdk/x/auth/codec" - appparams "github.com/babylonchain/babylon/app/params" + appparams "github.com/babylonlabs-io/babylon/app/params" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" @@ -18,7 +18,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/checkpointing/client/cli/tx_test.go b/x/checkpointing/client/cli/tx_test.go index 1f35f1106..bee75d842 100644 --- a/x/checkpointing/client/cli/tx_test.go +++ b/x/checkpointing/client/cli/tx_test.go @@ -26,11 +26,11 @@ import ( authcodec "github.com/cosmos/cosmos-sdk/x/auth/codec" "github.com/stretchr/testify/suite" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/privval" - testutilcli "github.com/babylonchain/babylon/testutil/cli" - checkpointcli "github.com/babylonchain/babylon/x/checkpointing/client/cli" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/privval" + testutilcli "github.com/babylonlabs-io/babylon/testutil/cli" + checkpointcli "github.com/babylonlabs-io/babylon/x/checkpointing/client/cli" ) type mockCometRPC struct { diff --git a/x/checkpointing/client/cli/utils.go b/x/checkpointing/client/cli/utils.go index 50d049123..c30ad96dd 100644 --- a/x/checkpointing/client/cli/utils.go +++ b/x/checkpointing/client/cli/utils.go @@ -23,8 +23,8 @@ import ( staketypes "github.com/cosmos/cosmos-sdk/x/staking/types" flag "github.com/spf13/pflag" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // validator struct to define the fields of the validator diff --git a/x/checkpointing/genesis.go b/x/checkpointing/genesis.go index f285f08d1..b8449d647 100644 --- a/x/checkpointing/genesis.go +++ b/x/checkpointing/genesis.go @@ -3,8 +3,8 @@ package checkpointing import ( "context" - "github.com/babylonchain/babylon/x/checkpointing/keeper" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/checkpointing/genesis_test.go b/x/checkpointing/genesis_test.go index ba7e05bac..e6e9c18cf 100644 --- a/x/checkpointing/genesis_test.go +++ b/x/checkpointing/genesis_test.go @@ -3,17 +3,17 @@ package checkpointing_test import ( "testing" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/x/checkpointing" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/x/checkpointing" "github.com/cometbft/cometbft/crypto/ed25519" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" cosmosed "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - simapp "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/x/checkpointing/types" + simapp "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) func TestInitGenesis(t *testing.T) { diff --git a/x/checkpointing/keeper/bls_signer.go b/x/checkpointing/keeper/bls_signer.go index 54e3ba974..8e7eb0ad8 100644 --- a/x/checkpointing/keeper/bls_signer.go +++ b/x/checkpointing/keeper/bls_signer.go @@ -4,8 +4,8 @@ import ( "github.com/cometbft/cometbft/crypto" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) type BlsSigner interface { diff --git a/x/checkpointing/keeper/bls_signer_test.go b/x/checkpointing/keeper/bls_signer_test.go index a6b367238..d11ee3727 100644 --- a/x/checkpointing/keeper/bls_signer_test.go +++ b/x/checkpointing/keeper/bls_signer_test.go @@ -4,8 +4,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/crypto/bls12381" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) var ( diff --git a/x/checkpointing/keeper/ckpt_state.go b/x/checkpointing/keeper/ckpt_state.go index 3cc30b4e2..72bf7a290 100644 --- a/x/checkpointing/keeper/ckpt_state.go +++ b/x/checkpointing/keeper/ckpt_state.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/store/prefix" storetypes "cosmossdk.io/store/types" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/checkpointing/keeper/genesis_bls.go b/x/checkpointing/keeper/genesis_bls.go index 71c3cab2e..7c404179e 100644 --- a/x/checkpointing/keeper/genesis_bls.go +++ b/x/checkpointing/keeper/genesis_bls.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/checkpointing/keeper/grpc_query_bls.go b/x/checkpointing/keeper/grpc_query_bls.go index ce9dfe4ac..35efb113f 100644 --- a/x/checkpointing/keeper/grpc_query_bls.go +++ b/x/checkpointing/keeper/grpc_query_bls.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/jinzhu/copier" "google.golang.org/grpc/codes" diff --git a/x/checkpointing/keeper/grpc_query_bls_test.go b/x/checkpointing/keeper/grpc_query_bls_test.go index 8ec938bd8..d6f74661f 100644 --- a/x/checkpointing/keeper/grpc_query_bls_test.go +++ b/x/checkpointing/keeper/grpc_query_bls_test.go @@ -10,11 +10,11 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - checkpointingkeeper "github.com/babylonchain/babylon/x/checkpointing/keeper" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + checkpointingkeeper "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // FuzzQueryBLSKeySet does the following checks diff --git a/x/checkpointing/keeper/grpc_query_checkpoint.go b/x/checkpointing/keeper/grpc_query_checkpoint.go index b4f1810d9..fa56c1843 100644 --- a/x/checkpointing/keeper/grpc_query_checkpoint.go +++ b/x/checkpointing/keeper/grpc_query_checkpoint.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/checkpointing/keeper/grpc_query_checkpoint_test.go b/x/checkpointing/keeper/grpc_query_checkpoint_test.go index c19342ecc..9da76a426 100644 --- a/x/checkpointing/keeper/grpc_query_checkpoint_test.go +++ b/x/checkpointing/keeper/grpc_query_checkpoint_test.go @@ -7,18 +7,18 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" - "github.com/babylonchain/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" "github.com/golang/mock/gomock" - "github.com/babylonchain/babylon/testutil/mocks" - "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/testutil/mocks" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" ) func FuzzQueryEpoch(f *testing.F) { diff --git a/x/checkpointing/keeper/hooks.go b/x/checkpointing/keeper/hooks.go index 5dcd29a80..8018c800f 100644 --- a/x/checkpointing/keeper/hooks.go +++ b/x/checkpointing/keeper/hooks.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/checkpointing/keeper/keeper.go b/x/checkpointing/keeper/keeper.go index e33ed4f79..59f9a9c7f 100644 --- a/x/checkpointing/keeper/keeper.go +++ b/x/checkpointing/keeper/keeper.go @@ -7,7 +7,7 @@ import ( corestoretypes "cosmossdk.io/core/store" - txformat "github.com/babylonchain/babylon/btctxformatter" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" "cosmossdk.io/log" "github.com/cosmos/cosmos-sdk/codec" @@ -15,9 +15,9 @@ import ( cmtprotocrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) type ( diff --git a/x/checkpointing/keeper/keeper_test.go b/x/checkpointing/keeper/keeper_test.go index 4dd46f58d..1316f363a 100644 --- a/x/checkpointing/keeper/keeper_test.go +++ b/x/checkpointing/keeper/keeper_test.go @@ -10,12 +10,12 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/testutil/mocks" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/mocks" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // FuzzKeeperAddRawCheckpoint checks diff --git a/x/checkpointing/keeper/msg_server.go b/x/checkpointing/keeper/msg_server.go index 04a088763..40c084723 100644 --- a/x/checkpointing/keeper/msg_server.go +++ b/x/checkpointing/keeper/msg_server.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) type msgServer struct { diff --git a/x/checkpointing/keeper/msg_server_test.go b/x/checkpointing/keeper/msg_server_test.go index e8b32e471..fffba8d6e 100644 --- a/x/checkpointing/keeper/msg_server_test.go +++ b/x/checkpointing/keeper/msg_server_test.go @@ -11,15 +11,15 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - appparams "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - checkpointingkeeper "github.com/babylonchain/babylon/x/checkpointing/keeper" - "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/app" + appparams "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + checkpointingkeeper "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) // FuzzWrappedCreateValidator_InsufficientTokens tests adding new validators with zero voting power diff --git a/x/checkpointing/keeper/registration_state.go b/x/checkpointing/keeper/registration_state.go index 84a052c68..968a4d185 100644 --- a/x/checkpointing/keeper/registration_state.go +++ b/x/checkpointing/keeper/registration_state.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/store/prefix" storetypes "cosmossdk.io/store/types" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/checkpointing/keeper/val_bls_set.go b/x/checkpointing/keeper/val_bls_set.go index a3ba8df88..96815405e 100644 --- a/x/checkpointing/keeper/val_bls_set.go +++ b/x/checkpointing/keeper/val_bls_set.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/store/prefix" "fmt" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/checkpointing/keeper/val_bls_set_test.go b/x/checkpointing/keeper/val_bls_set_test.go index 1c4e84292..36f4cf822 100644 --- a/x/checkpointing/keeper/val_bls_set_test.go +++ b/x/checkpointing/keeper/val_bls_set_test.go @@ -9,11 +9,11 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - checkpointingkeeper "github.com/babylonchain/babylon/x/checkpointing/keeper" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + checkpointingkeeper "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) func FuzzGetValidatorBlsKeySet(f *testing.F) { diff --git a/x/checkpointing/module.go b/x/checkpointing/module.go index 7e5cb77cc..ff29c666f 100644 --- a/x/checkpointing/module.go +++ b/x/checkpointing/module.go @@ -13,9 +13,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/checkpointing/client/cli" - "github.com/babylonchain/babylon/x/checkpointing/keeper" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/client/cli" + "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/checkpointing/proposal.go b/x/checkpointing/proposal.go index b9d3a3696..68748c460 100644 --- a/x/checkpointing/proposal.go +++ b/x/checkpointing/proposal.go @@ -13,7 +13,7 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) const defaultInjectedTxIndex = 0 diff --git a/x/checkpointing/proposal_expected_keeper.go b/x/checkpointing/proposal_expected_keeper.go index 920c2eeb2..697ed90d6 100644 --- a/x/checkpointing/proposal_expected_keeper.go +++ b/x/checkpointing/proposal_expected_keeper.go @@ -3,9 +3,9 @@ package checkpointing import ( "context" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" cmtprotocrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/checkpointing/proposal_test.go b/x/checkpointing/proposal_test.go index b754547a7..afd88afd4 100644 --- a/x/checkpointing/proposal_test.go +++ b/x/checkpointing/proposal_test.go @@ -20,13 +20,13 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/testutil/helper" - "github.com/babylonchain/babylon/testutil/mocks" - "github.com/babylonchain/babylon/x/checkpointing" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - et "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/testutil/mocks" + "github.com/babylonlabs-io/babylon/x/checkpointing" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + et "github.com/babylonlabs-io/babylon/x/epoching/types" ) type TestValidator struct { diff --git a/x/checkpointing/types/bls_key.pb.go b/x/checkpointing/types/bls_key.pb.go index cc2cd6b74..ca65cdc8f 100644 --- a/x/checkpointing/types/bls_key.pb.go +++ b/x/checkpointing/types/bls_key.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - github_com_babylonchain_babylon_crypto_bls12381 "github.com/babylonchain/babylon/crypto/bls12381" + github_com_babylonlabs_io_babylon_crypto_bls12381 "github.com/babylonlabs-io/babylon/crypto/bls12381" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -27,7 +27,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // BlsKey wraps BLS public key with PoP type BlsKey struct { // pubkey is the BLS public key of a validator - Pubkey *github_com_babylonchain_babylon_crypto_bls12381.PublicKey `protobuf:"bytes,1,opt,name=pubkey,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.PublicKey" json:"pubkey,omitempty"` + Pubkey *github_com_babylonlabs_io_babylon_crypto_bls12381.PublicKey `protobuf:"bytes,1,opt,name=pubkey,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.PublicKey" json:"pubkey,omitempty"` // pop is the proof-of-possession of the BLS key Pop *ProofOfPossession `protobuf:"bytes,2,opt,name=pop,proto3" json:"pop,omitempty"` } @@ -80,7 +80,7 @@ type ProofOfPossession struct { Ed25519Sig []byte `protobuf:"bytes,1,opt,name=ed25519_sig,json=ed25519Sig,proto3" json:"ed25519_sig,omitempty"` // bls_sig is the result of PoP, bls_sig = sign(key = BLS_sk, data = // ed25519_sig) - BlsSig *github_com_babylonchain_babylon_crypto_bls12381.Signature `protobuf:"bytes,2,opt,name=bls_sig,json=blsSig,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.Signature" json:"bls_sig,omitempty"` + BlsSig *github_com_babylonlabs_io_babylon_crypto_bls12381.Signature `protobuf:"bytes,2,opt,name=bls_sig,json=blsSig,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" json:"bls_sig,omitempty"` } func (m *ProofOfPossession) Reset() { *m = ProofOfPossession{} } @@ -246,7 +246,7 @@ type VoteExtension struct { // height is the height of the vote extension Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` // bls_sig is the BLS signature - BlsSig *github_com_babylonchain_babylon_crypto_bls12381.Signature `protobuf:"bytes,6,opt,name=bls_sig,json=blsSig,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.Signature" json:"bls_sig,omitempty"` + BlsSig *github_com_babylonlabs_io_babylon_crypto_bls12381.Signature `protobuf:"bytes,6,opt,name=bls_sig,json=blsSig,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" json:"bls_sig,omitempty"` } func (m *VoteExtension) Reset() { *m = VoteExtension{} } @@ -324,40 +324,40 @@ func init() { var fileDescriptor_3a8c0d37ce63f038 = []byte{ // 534 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 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0x25, 0xf5, 0x3e, 0xd5, 0xf1, 0xd6, 0x11, 0x48, 0xfa, 0xf4, 0x54, 0xd2, + 0xa8, 0x88, 0x7d, 0x07, 0x6b, 0x82, 0x05, 0x11, 0x4d, 0xaa, 0x63, 0xab, 0xdd, 0x6a, 0xb2, 0xfa, + 0x1a, 0xb2, 0xbb, 0x18, 0x13, 0x0e, 0xfe, 0xcc, 0x0d, 0x3d, 0x11, 0x16, 0xe7, 0xb6, 0x47, 0x5b, + 0xe7, 0x17, 0x9d, 0xe6, 0x48, 0xa9, 0xcf, 0x3d, 0x11, 0x2a, 0xce, 0x6a, 0xa9, 0xdf, 0xc2, 0x4d, + 0x1a, 0x83, 0x1f, 0xba, 0x51, 0x3a, 0x37, 0x36, 0x0a, 0xc8, 0xab, 0x85, 0xf0, 0x22, 0x9d, 0x2b, + 0x9e, 0x90, 0xb2, 0x20, 0x94, 0xc6, 0x95, 0xa2, 0x52, 0xed, 0x7e, 0xbe, 0x7d, 0xed, 0xbf, 0xde, + 0xfe, 0xe8, 0xd5, 0x97, 0x85, 0x89, 0xce, 0x16, 0x26, 0xfa, 0xb6, 0x30, 0xd1, 0xc7, 0xa5, 0x59, + 0x3b, 0x5b, 0x9a, 0xb5, 0xaf, 0x4b, 0xb3, 0xf6, 0xe6, 0xde, 0xdf, 0xed, 0x4f, 0x7f, 0x7b, 0xbf, + 0x32, 0x8f, 0xa9, 0x20, 0x5a, 0xf1, 0x16, 0xf7, 0xbf, 0x07, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x52, + 0xce, 0x8d, 0xe5, 0x03, 0x00, 0x00, } func (m *BlsKey) Marshal() (dAtA []byte, err error) { @@ -774,7 +774,7 @@ func (m *BlsKey) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.PublicKey + var v github_com_babylonlabs_io_babylon_crypto_bls12381.PublicKey m.Pubkey = &v if err := m.Pubkey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -929,7 +929,7 @@ func (m *ProofOfPossession) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.Signature + var v github_com_babylonlabs_io_babylon_crypto_bls12381.Signature m.BlsSig = &v if err := m.BlsSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1370,7 +1370,7 @@ func (m *VoteExtension) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.Signature + var v github_com_babylonlabs_io_babylon_crypto_bls12381.Signature m.BlsSig = &v if err := m.BlsSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/checkpointing/types/checkpoint.pb.go b/x/checkpointing/types/checkpoint.pb.go index 4d3fdb84c..801ac381d 100644 --- a/x/checkpointing/types/checkpoint.pb.go +++ b/x/checkpointing/types/checkpoint.pb.go @@ -6,7 +6,7 @@ package types import ( bytes "bytes" fmt "fmt" - github_com_babylonchain_babylon_crypto_bls12381 "github.com/babylonchain/babylon/crypto/bls12381" + github_com_babylonlabs_io_babylon_crypto_bls12381 "github.com/babylonlabs-io/babylon/crypto/bls12381" types "github.com/cometbft/cometbft/abci/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" @@ -81,7 +81,7 @@ type RawCheckpoint struct { Bitmap []byte `protobuf:"bytes,3,opt,name=bitmap,proto3" json:"bitmap,omitempty"` // bls_multi_sig defines the multi sig that is aggregated from individual BLS // sigs - BlsMultiSig *github_com_babylonchain_babylon_crypto_bls12381.Signature `protobuf:"bytes,4,opt,name=bls_multi_sig,json=blsMultiSig,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.Signature" json:"bls_multi_sig,omitempty"` + BlsMultiSig *github_com_babylonlabs_io_babylon_crypto_bls12381.Signature `protobuf:"bytes,4,opt,name=bls_multi_sig,json=blsMultiSig,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" json:"bls_multi_sig,omitempty"` } func (m *RawCheckpoint) Reset() { *m = RawCheckpoint{} } @@ -137,7 +137,7 @@ type RawCheckpointWithMeta struct { // status defines the status of the checkpoint Status CheckpointStatus `protobuf:"varint,2,opt,name=status,proto3,enum=babylon.checkpointing.v1.CheckpointStatus" json:"status,omitempty"` // bls_aggr_pk defines the aggregated BLS public key - BlsAggrPk *github_com_babylonchain_babylon_crypto_bls12381.PublicKey `protobuf:"bytes,3,opt,name=bls_aggr_pk,json=blsAggrPk,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.PublicKey" json:"bls_aggr_pk,omitempty"` + BlsAggrPk *github_com_babylonlabs_io_babylon_crypto_bls12381.PublicKey `protobuf:"bytes,3,opt,name=bls_aggr_pk,json=blsAggrPk,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.PublicKey" json:"bls_aggr_pk,omitempty"` // power_sum defines the accumulated voting power for the checkpoint PowerSum uint64 `protobuf:"varint,4,opt,name=power_sum,json=powerSum,proto3" json:"power_sum,omitempty"` // lifecycle defines the lifecycle of this checkpoint, i.e., each state @@ -334,8 +334,8 @@ type BlsSig struct { EpochNum uint64 `protobuf:"varint,1,opt,name=epoch_num,json=epochNum,proto3" json:"epoch_num,omitempty"` // block_hash defines the 'BlockID.Hash', which is the hash of // the block that individual BLS sigs are signed on - BlockHash *BlockHash `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3,customtype=BlockHash" json:"block_hash,omitempty"` - BlsSig *github_com_babylonchain_babylon_crypto_bls12381.Signature `protobuf:"bytes,3,opt,name=bls_sig,json=blsSig,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.Signature" json:"bls_sig,omitempty"` + BlockHash *BlockHash `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3,customtype=BlockHash" json:"block_hash,omitempty"` + BlsSig *github_com_babylonlabs_io_babylon_crypto_bls12381.Signature `protobuf:"bytes,3,opt,name=bls_sig,json=blsSig,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" json:"bls_sig,omitempty"` // can't find cosmos_proto.scalar when compiling due to cosmos v0.45.4 does // not support scalar string signer_address = 4 [(cosmos_proto.scalar) = // "cosmos.AddressString"] @@ -414,61 +414,61 @@ func init() { } var fileDescriptor_73996df9c6aabde4 = []byte{ - // 853 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6f, 0xe3, 0x44, - 0x1c, 0x8d, 0x5b, 0x37, 0x6c, 0x26, 0xcd, 0x2a, 0x8c, 0xb6, 0x28, 0xca, 0x4a, 0x49, 0x28, 0x42, - 0x94, 0x05, 0xd9, 0x6a, 0x56, 0x48, 0xfc, 0x11, 0x82, 0xc4, 0x4d, 0x21, 0xda, 0xa6, 0x5b, 0xd9, - 0x09, 0x48, 0x2b, 0x21, 0x6b, 0x6c, 0x4f, 0xec, 0x21, 0xb6, 0xc7, 0xf2, 0x8c, 0xbb, 0x1b, 0xee, - 0x48, 0xa8, 0xa7, 0xfd, 0x02, 0x95, 0x90, 0xf8, 0x02, 0x7c, 0x07, 0x2e, 0x1c, 0xf7, 0x88, 0x16, - 0x69, 0x41, 0xed, 0x05, 0xf8, 0x14, 0x68, 0xc6, 0x4e, 0xd3, 0x6c, 0x59, 0xb1, 0xa0, 0xde, 0x26, - 0xcf, 0xef, 0x4d, 0x66, 0xde, 0xef, 0x3d, 0x0d, 0x78, 0xdb, 0x41, 0xce, 0x3c, 0xa4, 0xb1, 0xee, - 0x06, 0xd8, 0x9d, 0x25, 0x94, 0xc4, 0x9c, 0xc4, 0xbe, 0x7e, 0xbc, 0x7b, 0x09, 0xd0, 0x92, 0x94, - 0x72, 0x0a, 0x1b, 0x05, 0x55, 0x5b, 0xa1, 0x6a, 0xc7, 0xbb, 0xcd, 0xb6, 0x4f, 0xa9, 0x1f, 0x62, - 0x5d, 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0xa5, 0x66, 0xfd, 0xe4, 0xb4, 0xb3, 0xd9, 0x73, 0xdd, 0x2c, 0xca, 0x42, 0x24, - 0x26, 0x0a, 0xb7, 0x01, 0xbc, 0xcc, 0xb7, 0x06, 0xbd, 0x83, 0xc1, 0x5e, 0x5d, 0x69, 0x82, 0x93, - 0xd3, 0x4e, 0xd9, 0xc2, 0x28, 0xc4, 0x1e, 0xdc, 0x01, 0x5b, 0x2b, 0x9c, 0x49, 0x7f, 0x34, 0x1c, - 0x8f, 0x07, 0x7b, 0xf5, 0xb5, 0x66, 0xed, 0xe4, 0xb4, 0x53, 0xb1, 0x32, 0x27, 0x22, 0x9c, 0x5f, - 0x65, 0x1a, 0xf7, 0x0f, 0xf7, 0x87, 0xe6, 0x68, 0xb0, 0x57, 0x5f, 0xcf, 0x99, 0x06, 0x8d, 0xa7, - 0x24, 0x8d, 0xae, 0x32, 0xf7, 0x87, 0x87, 0xbd, 0x83, 0xe1, 0x83, 0xc1, 0x5e, 0x5d, 0xcd, 0x99, - 0xfb, 0x24, 0x46, 0x21, 0xf9, 0x06, 0x7b, 0x4d, 0xf5, 0xbb, 0x1f, 0x5a, 0xa5, 0xfe, 0xfd, 0x9f, - 0xcf, 0x5a, 0xca, 0x93, 0xb3, 0x96, 0xf2, 0xfb, 0x59, 0x4b, 0x79, 0x7c, 0xde, 0x2a, 0x3d, 0x39, - 0x6f, 0x95, 0x7e, 0x39, 0x6f, 0x95, 0x1e, 0xbc, 0xf7, 0x6f, 0x33, 0x7a, 0xf4, 0xdc, 0x23, 0x24, - 0x9f, 0x03, 0xa7, 0x2c, 0x03, 0x77, 0xf7, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x97, 0x52, - 0x24, 0xaa, 0x06, 0x00, 0x00, + // 852 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcf, 0x6e, 0x1b, 0x45, + 0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ad, 0x92, 0x9d, 0xba, 0x21, 0x11, 0xe2, 0x2a, + 0xb3, 0xf7, 0xf9, 0xe1, 0xfe, 0xc0, 0x1a, 0xf6, 0xf7, 0xaa, 0xeb, 0x19, 0xb3, 0xc7, 0xa2, 0x09, + 0x49, 0xc2, 0xab, 0xcc, 0xfd, 0xc1, 0x61, 0xe7, 0x60, 0xf0, 0xb0, 0xbf, 0x57, 0xd5, 0x33, 0xe6, + 0x3e, 0x89, 0x10, 0x25, 0xdf, 0x60, 0xbf, 0xae, 0x7f, 0xf7, 0x43, 0xa3, 0xd0, 0xfd, 0xe2, 0xe7, + 0xb3, 0x86, 0xf6, 0xf4, 0xac, 0xa1, 0xfd, 0x7e, 0xd6, 0xd0, 0x9e, 0x9c, 0x37, 0x0a, 0x4f, 0xcf, + 0x1b, 0x85, 0x5f, 0xce, 0x1b, 0x85, 0x87, 0x1f, 0xfe, 0xbb, 0x4b, 0x8f, 0x5f, 0x78, 0x8c, 0xd4, + 0xb3, 0xe0, 0x16, 0x55, 0xe8, 0xee, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x96, 0x67, 0xaf, 0xba, + 0xb2, 0x06, 0x00, 0x00, } func (this *RawCheckpoint) Equal(that interface{}) bool { @@ -1157,7 +1157,7 @@ func (m *RawCheckpoint) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.Signature + var v github_com_babylonlabs_io_babylon_crypto_bls12381.Signature m.BlsMultiSig = &v if err := m.BlsMultiSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1297,7 +1297,7 @@ func (m *RawCheckpointWithMeta) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.PublicKey + var v github_com_babylonlabs_io_babylon_crypto_bls12381.PublicKey m.BlsAggrPk = &v if err := m.BlsAggrPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1735,7 +1735,7 @@ func (m *BlsSig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.Signature + var v github_com_babylonlabs_io_babylon_crypto_bls12381.Signature m.BlsSig = &v if err := m.BlsSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/checkpointing/types/events.pb.go b/x/checkpointing/types/events.pb.go index 10e283497..7c2030c86 100644 --- a/x/checkpointing/types/events.pb.go +++ b/x/checkpointing/types/events.pb.go @@ -368,26 +368,26 @@ func init() { var fileDescriptor_950b7bd81c59f78a = []byte{ // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0x4a, 0x4c, 0xaa, - 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0xce, 0x48, 0x4d, 0xce, 0x2e, 0xc8, 0xcf, 0xcc, 0x2b, 0xc9, 0xcc, - 0x4b, 0xd7, 0x2f, 0x33, 0xd4, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x92, 0x80, 0x2a, 0xd3, 0x43, 0x51, 0xa6, 0x57, 0x66, 0x28, 0xa5, 0x89, 0xd3, 0x00, - 0x84, 0x00, 0xc4, 0x10, 0xa5, 0x3c, 0x2e, 0x69, 0x57, 0x90, 0xa1, 0xce, 0x70, 0x09, 0xc7, 0xe4, - 0xe4, 0xd2, 0xdc, 0xd2, 0x9c, 0x44, 0x90, 0x16, 0x21, 0x7f, 0x2e, 0x2e, 0x84, 0x16, 0x09, 0x46, - 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x7d, 0x3d, 0x5c, 0x16, 0xeb, 0x05, 0x25, 0x96, 0x23, 0x0c, 0x0a, - 0xcf, 0x2c, 0xc9, 0xf0, 0x4d, 0x2d, 0x49, 0x0c, 0x42, 0x32, 0x42, 0x29, 0x83, 0x4b, 0x14, 0xcd, - 0xbe, 0xe0, 0xd4, 0xc4, 0x9c, 0xd4, 0x14, 0xea, 0xdb, 0x94, 0xcd, 0x25, 0x81, 0x6e, 0x53, 0x69, - 0x52, 0x6e, 0x66, 0x49, 0x09, 0x7d, 0x2c, 0x73, 0xce, 0xcf, 0x4b, 0xcb, 0x2c, 0xca, 0xa5, 0x8f, - 0x65, 0x6e, 0x99, 0x79, 0x89, 0x39, 0x99, 0x55, 0x74, 0xb2, 0x2c, 0xbf, 0x28, 0x3d, 0xbf, 0xa4, - 0x24, 0x35, 0x8f, 0xfa, 0x96, 0xdd, 0x60, 0xe4, 0x92, 0x82, 0xd8, 0x96, 0x9f, 0x97, 0x96, 0x93, - 0x99, 0x0c, 0xd2, 0x89, 0xd0, 0x22, 0x14, 0xc7, 0x25, 0x96, 0x8c, 0x90, 0x88, 0xc7, 0xb0, 0x5b, - 0x9d, 0x48, 0xbb, 0x83, 0x44, 0x93, 0xb1, 0x9a, 0x1f, 0xc5, 0x25, 0x90, 0x93, 0x9f, 0x9c, 0x98, - 0x83, 0x6c, 0x32, 0x13, 0x79, 0xbe, 0xe2, 0x07, 0x1b, 0x84, 0x90, 0x70, 0xf2, 0x3f, 0xf1, 0x48, - 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, - 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xd3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, - 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, 0x2d, 0xc9, 0x19, 0x89, 0x99, 0x79, 0x30, 0x8e, 0x7e, 0x05, 0x5a, - 0x3e, 0x2e, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x67, 0x60, 0x63, 0x40, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x47, 0xbc, 0x3a, 0x24, 0x2e, 0x04, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x93, 0x31, 0x4b, 0x03, 0x31, + 0x18, 0x86, 0x1b, 0x07, 0x87, 0x38, 0x28, 0x85, 0x4a, 0xa9, 0x10, 0xa4, 0x20, 0xea, 0x60, 0x42, + 0x75, 0x70, 0xd6, 0xa2, 0x9b, 0x88, 0x75, 0x10, 0x3a, 0x28, 0x49, 0x4c, 0xef, 0x42, 0x73, 0xc9, + 0x71, 0x97, 0x3b, 0xad, 0xbf, 0xc2, 0x9f, 0xe5, 0xd8, 0xb1, 0xa3, 0xdc, 0xfd, 0x11, 0xb9, 0xb6, + 0x9a, 0x7a, 0x5a, 0x10, 0x29, 0x37, 0x26, 0xef, 0xf7, 0x3e, 0x0f, 0xdf, 0xf0, 0xc1, 0x3d, 0x46, + 0xd9, 0x48, 0x19, 0x4d, 0xb8, 0x2f, 0xf8, 0x30, 0x34, 0x52, 0x5b, 0xa9, 0x3d, 0x92, 0x76, 0x88, + 0x48, 0x85, 0xb6, 0x31, 0x0e, 0x23, 0x63, 0x4d, 0xbd, 0x39, 0x1f, 0xc3, 0xdf, 0xc6, 0x70, 0xda, + 0x69, 0x1d, 0x2e, 0x05, 0xb8, 0x8f, 0x19, 0xa4, 0xad, 0xe1, 0xce, 0x45, 0x01, 0xed, 0x7e, 0x05, + 0x67, 0x9c, 0x27, 0x41, 0xa2, 0x68, 0x51, 0xa9, 0x5f, 0x43, 0xe8, 0x2a, 0x4d, 0xb0, 0x0b, 0x0e, + 0x36, 0x8e, 0x09, 0x5e, 0x26, 0xc6, 0x3d, 0xfa, 0xe4, 0x40, 0x77, 0xd2, 0xfa, 0x57, 0xc2, 0xd2, + 0xde, 0x02, 0xa2, 0xed, 0xc3, 0x46, 0xc9, 0x77, 0x2b, 0xa8, 0x12, 0x8f, 0xab, 0x37, 0x0d, 0x61, + 0xb3, 0x6c, 0x4a, 0x58, 0x20, 0xad, 0xad, 0x46, 0xd6, 0x35, 0x7a, 0x20, 0xa3, 0xa0, 0x1a, 0xd9, + 0xa5, 0xd4, 0x54, 0xc9, 0x97, 0x8a, 0x64, 0x26, 0xf2, 0x8c, 0xb5, 0x42, 0xaf, 0x5e, 0x36, 0x01, + 0xb0, 0x35, 0xb3, 0x19, 0x3d, 0x50, 0x92, 0x17, 0x4d, 0x57, 0xa9, 0xdf, 0xc3, 0x6d, 0xee, 0x82, + 0x87, 0x1f, 0xee, 0xfd, 0x3f, 0xba, 0x7b, 0x0d, 0xfe, 0x2b, 0xbf, 0x0f, 0xb7, 0x94, 0xe1, 0x54, + 0x2d, 0x92, 0xd7, 0xfe, 0xb7, 0xd5, 0xe6, 0x14, 0xe4, 0x82, 0xf3, 0x9b, 0xb7, 0x0c, 0x81, 0x71, + 0x86, 0xc0, 0x7b, 0x86, 0xc0, 0x6b, 0x8e, 0x6a, 0xe3, 0x1c, 0xd5, 0x26, 0x39, 0xaa, 0xf5, 0x4f, + 0x3d, 0x69, 0xfd, 0x84, 0x61, 0x6e, 0x02, 0x32, 0xb7, 0x28, 0xca, 0xe2, 0x23, 0x69, 0x3e, 0x9f, + 0xe4, 0xb9, 0x74, 0xc9, 0x76, 0x14, 0x8a, 0x98, 0xad, 0x4f, 0x4f, 0xf8, 0xe4, 0x23, 0x00, 0x00, + 0xff, 0xff, 0xc6, 0xac, 0x9d, 0x86, 0x30, 0x04, 0x00, 0x00, } func (m *EventCheckpointAccumulating) Marshal() (dAtA []byte, err error) { diff --git a/x/checkpointing/types/expected_keepers.go b/x/checkpointing/types/expected_keepers.go index adeb297d1..53f15112c 100644 --- a/x/checkpointing/types/expected_keepers.go +++ b/x/checkpointing/types/expected_keepers.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) // EpochingKeeper defines the expected interface needed to retrieve epoch info diff --git a/x/checkpointing/types/genesis.go b/x/checkpointing/types/genesis.go index bbe289ea9..065cd2268 100644 --- a/x/checkpointing/types/genesis.go +++ b/x/checkpointing/types/genesis.go @@ -12,7 +12,7 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/crypto/bls12381" ) // DefaultGenesis returns the default Capability genesis state diff --git a/x/checkpointing/types/genesis.pb.go b/x/checkpointing/types/genesis.pb.go index 380afef3d..78fabad09 100644 --- a/x/checkpointing/types/genesis.pb.go +++ b/x/checkpointing/types/genesis.pb.go @@ -143,28 +143,28 @@ func init() { } var fileDescriptor_bf2c524ebc9800de = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xcf, 0x6a, 0x2a, 0x31, - 0x18, 0xc5, 0xcd, 0x15, 0xbc, 0x18, 0x5d, 0xb4, 0xb3, 0x12, 0xa1, 0x61, 0x90, 0x52, 0x84, 0x42, - 0x82, 0x16, 0x17, 0x42, 0x37, 0x75, 0xe3, 0xa2, 0x8b, 0x8a, 0x5d, 0x14, 0xba, 0x91, 0x24, 0x13, - 0xc6, 0x60, 0x9c, 0x0c, 0x93, 0x38, 0x34, 0x6f, 0xd1, 0x67, 0xe9, 0x53, 0x74, 0xe9, 0xb2, 0xcb, - 0xa2, 0x2f, 0x52, 0x66, 0x26, 0xb5, 0xb4, 0x30, 0xab, 0xfc, 0xf9, 0xce, 0xf9, 0xce, 0xe1, 0x07, - 0xaf, 0x18, 0x65, 0x4e, 0xe9, 0x84, 0xf0, 0xb5, 0xe0, 0x9b, 0x54, 0xcb, 0xc4, 0xca, 0x24, 0x26, - 0xf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 0xe3, 0x88, 0x1a, 0xcf, 0x93, 0x58, 0xda, 0xf5, - 0x8e, 0x61, 0xae, 0xb7, 0xc4, 0x77, 0xe1, 0x6b, 0x2a, 0x93, 0xef, 0x07, 0x79, 0xf9, 0x43, 0xda, - 0xba, 0x54, 0x18, 0xd6, 0x2a, 0x29, 0xdf, 0x7c, 0x05, 0x00, 0x00, 0xff, 0xff, 0x1c, 0xab, 0xd1, - 0x3a, 0xf3, 0x01, 0x00, 0x00, + // 327 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x4f, 0x4b, 0xfb, 0x30, + 0x1c, 0xc6, 0x97, 0xdf, 0x60, 0x3f, 0x96, 0xed, 0xa0, 0x3d, 0x8d, 0x81, 0xa1, 0x0c, 0x91, 0x81, + 0x98, 0xb0, 0xc9, 0x90, 0x81, 0x17, 0x77, 0xd9, 0xc1, 0xcb, 0x9c, 0x07, 0xc1, 0xcb, 0x48, 0xda, + 0xd0, 0x85, 0x65, 0x4d, 0x69, 0xb2, 0x62, 0xde, 0x85, 0xaf, 0xc5, 0x57, 0xe1, 0x71, 0x47, 0x8f, + 0xb2, 0xbe, 0x11, 0x69, 0x1b, 0x27, 0x0a, 0x3d, 0xe5, 0xcf, 0xf7, 0x79, 0xbe, 0xcf, 0xc3, 0x07, + 0x5e, 0x30, 0xca, 0xac, 0x54, 0x31, 0x09, 0xd6, 0x3c, 0xd8, 0x24, 0x4a, 0xc4, 0x46, 0xc4, 0x11, + 0xc9, 0x46, 0x24, 0xe2, 0x31, 0xd7, 0x42, 0xe3, 0x24, 0x55, 0x46, 0x79, 0x3d, 0xa7, 0xc3, 0xbf, + 0x74, 0x38, 0x1b, 0xf5, 0xfd, 0x40, 0xe9, 0xad, 0xd2, 0x24, 0x48, 0x6d, 0x62, 0x14, 0xe1, 0xe1, + 0x78, 0x32, 0x19, 0x4d, 0xc9, 0x86, 0x5b, 0xe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 0x75, + 0xb3, 0x01, 0x5c, 0xf5, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/checkpointing/types/keys.go b/x/checkpointing/types/keys.go index 53847c1c4..1db18fc52 100644 --- a/x/checkpointing/types/keys.go +++ b/x/checkpointing/types/keys.go @@ -1,7 +1,7 @@ package types import ( - "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/crypto/bls12381" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/checkpointing/types/msgs.go b/x/checkpointing/types/msgs.go index 4af049c62..869f36578 100644 --- a/x/checkpointing/types/msgs.go +++ b/x/checkpointing/types/msgs.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/crypto/bls12381" ) var ( diff --git a/x/checkpointing/types/msgs_test.go b/x/checkpointing/types/msgs_test.go index f8191cce7..89301ebbf 100644 --- a/x/checkpointing/types/msgs_test.go +++ b/x/checkpointing/types/msgs_test.go @@ -4,10 +4,10 @@ import ( "testing" sdkmath "cosmossdk.io/math" - appparams "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" - "github.com/babylonchain/babylon/x/checkpointing/types" + appparams "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/cometbft/cometbft/crypto/ed25519" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/checkpointing/types/pop.go b/x/checkpointing/types/pop.go index 6e7586157..c5f14fc03 100644 --- a/x/checkpointing/types/pop.go +++ b/x/checkpointing/types/pop.go @@ -1,7 +1,7 @@ package types import ( - "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/crypto/bls12381" "github.com/cometbft/cometbft/crypto/ed25519" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" ) diff --git a/x/checkpointing/types/pop_test.go b/x/checkpointing/types/pop_test.go index 3bd2aec76..10e03df6a 100644 --- a/x/checkpointing/types/pop_test.go +++ b/x/checkpointing/types/pop_test.go @@ -1,8 +1,8 @@ package types_test import ( - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/privval" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/privval" "github.com/cometbft/cometbft/crypto/ed25519" "github.com/cosmos/cosmos-sdk/crypto/codec" "github.com/stretchr/testify/require" diff --git a/x/checkpointing/types/query.pb.go b/x/checkpointing/types/query.pb.go index 485d8e0ec..30aef80a1 100644 --- a/x/checkpointing/types/query.pb.go +++ b/x/checkpointing/types/query.pb.go @@ -6,7 +6,7 @@ package types import ( context "context" fmt "fmt" - github_com_babylonchain_babylon_crypto_bls12381 "github.com/babylonchain/babylon/crypto/bls12381" + github_com_babylonlabs_io_babylon_crypto_bls12381 "github.com/babylonlabs-io/babylon/crypto/bls12381" query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -759,7 +759,7 @@ type RawCheckpointResponse struct { Bitmap []byte `protobuf:"bytes,3,opt,name=bitmap,proto3" json:"bitmap,omitempty"` // bls_multi_sig defines the multi sig that is aggregated from individual BLS // sigs - BlsMultiSig *github_com_babylonchain_babylon_crypto_bls12381.Signature `protobuf:"bytes,4,opt,name=bls_multi_sig,json=blsMultiSig,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.Signature" json:"bls_multi_sig,omitempty"` + BlsMultiSig *github_com_babylonlabs_io_babylon_crypto_bls12381.Signature `protobuf:"bytes,4,opt,name=bls_multi_sig,json=blsMultiSig,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.Signature" json:"bls_multi_sig,omitempty"` } func (m *RawCheckpointResponse) Reset() { *m = RawCheckpointResponse{} } @@ -899,7 +899,7 @@ type RawCheckpointWithMetaResponse struct { // status_desc respresents the description of status enum. StatusDesc string `protobuf:"bytes,3,opt,name=status_desc,json=statusDesc,proto3" json:"status_desc,omitempty"` // bls_aggr_pk defines the aggregated BLS public key - BlsAggrPk *github_com_babylonchain_babylon_crypto_bls12381.PublicKey `protobuf:"bytes,4,opt,name=bls_aggr_pk,json=blsAggrPk,proto3,customtype=github.com/babylonchain/babylon/crypto/bls12381.PublicKey" json:"bls_aggr_pk,omitempty"` + BlsAggrPk *github_com_babylonlabs_io_babylon_crypto_bls12381.PublicKey `protobuf:"bytes,4,opt,name=bls_aggr_pk,json=blsAggrPk,proto3,customtype=github.com/babylonlabs-io/babylon/crypto/bls12381.PublicKey" json:"bls_aggr_pk,omitempty"` // power_sum defines the accumulated voting power for the checkpoint PowerSum uint64 `protobuf:"varint,5,opt,name=power_sum,json=powerSum,proto3" json:"power_sum,omitempty"` // lifecycle defines the lifecycle of this checkpoint, i.e., each state @@ -1002,87 +1002,87 @@ func init() { } var fileDescriptor_113f1ca5c3c2ca44 = []byte{ - // 1266 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x5d, 0x6f, 0x1b, 0x45, - 0x17, 0xee, 0xda, 0x49, 0xf4, 0xfa, 0x38, 0xcd, 0x5b, 0x46, 0xa5, 0x35, 0x6e, 0xeb, 0x94, 0xa5, - 0x94, 0xb4, 0xa8, 0xbb, 0xb2, 0xd3, 0x7c, 0x50, 0xfa, 0x01, 0x2e, 0x81, 0x4a, 0xfd, 0x20, 0x6c, - 0x68, 0x91, 0x90, 0xe8, 0x32, 0xbb, 0x99, 0xae, 0x17, 0xaf, 0x77, 0x37, 0x9e, 0x59, 0x27, 0x56, - 0xa9, 0x90,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0x72, 0x65, 0x5f, 0xc2, 0x47, 0x5e, 0xe0, 0x49, 0xa9, 0xe8, 0xc2, - 0xb0, 0xa4, 0x2e, 0x75, 0x8a, 0x2e, 0xf4, 0x87, 0x04, 0xb9, 0x24, 0x85, 0x81, 0xae, 0x0e, 0x81, - 0x34, 0x44, 0x06, 0xe5, 0xaf, 0x8d, 0x1d, 0x2f, 0x92, 0xba, 0xca, 0x93, 0x5a, 0x46, 0x8b, 0xc9, - 0x49, 0x39, 0x98, 0x32, 0xbd, 0x7b, 0xb6, 0xc5, 0x4e, 0x2a, 0xbf, 0xfb, 0x64, 0xbb, 0x20, 0x3d, - 0xdd, 0x2e, 0x48, 0xcf, 0xb6, 0x0b, 0xd2, 0xe3, 0x9d, 0xc2, 0xa1, 0xa7, 0x3b, 0x85, 0x43, 0xbf, - 0xed, 0x14, 0x0e, 0x7d, 0xb8, 0x30, 0xec, 0xd9, 0xd8, 0xea, 0xba, 0x8a, 0x35, 0x7d, 0x42, 0x8d, - 0x29, 0xfe, 0xee, 0xce, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xee, 0xf6, 0x49, 0x5b, 0xd1, 0x11, - 0x00, 0x00, + // 1265 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xdd, 0x6f, 0xdb, 0x54, + 0x14, 0x9f, 0x93, 0xb6, 0x22, 0x27, 0x5d, 0x19, 0x57, 0x63, 0x0b, 0xd9, 0x96, 0x0e, 0x33, 0x46, + 0x37, 0x34, 0x5b, 0x49, 0xd7, 0x0f, 0xed, 0x13, 0x32, 0x0a, 0x93, 0xf6, 0xa1, 0xce, 0x65, 0x43, + 0xe2, 0x61, 0xe6, 0xda, 0xbd, 0x73, 0x4c, 0x1c, 0xdb, 0xcd, 0xbd, 0x4e, 0x1b, 0x8d, 0x09, 0x09, + 0xfe, 0x81, 0x49, 0x48, 0x3c, 0xf2, 0x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, 0x04, 0x27, 0x79, 0x2a, 0x65, 0x87, 0xae, 0x06, 0x86, 0x63, 0x9b, 0xb7, + 0x48, 0xb3, 0x73, 0xc6, 0x06, 0x15, 0xfb, 0xc0, 0x86, 0xe7, 0x97, 0xd6, 0xa8, 0xf7, 0xa2, 0x10, + 0x94, 0xae, 0xc3, 0xf1, 0x06, 0x76, 0xec, 0x75, 0xcc, 0xbc, 0xba, 0xbe, 0x69, 0xb3, 0x8a, 0x2e, + 0x76, 0x50, 0x8b, 0xda, 0x0b, 0xc9, 0xd4, 0x3e, 0x68, 0x05, 0x86, 0xb4, 0x96, 0x1d, 0x7a, 0x8b, + 0x34, 0xb5, 0xa3, 0x8d, 0x5e, 0xe3, 0x01, 0xd2, 0xba, 0x08, 0xc7, 0x79, 0x3e, 0x2b, 0x21, 0x53, + 0x62, 0xe3, 0xec, 0x65, 0x7a, 0x1e, 0x42, 0xae, 0x37, 0x4e, 0x50, 0x70, 0x00, 0xdb, 0x4e, 0x5e, + 0x01, 0x39, 0x6a, 0x5c, 0x62, 0x12, 0x97, 0x75, 0xdc, 0x72, 0xc3, 0x0b, 0xda, 0x03, 0x3e, 0x0b, + 0xd9, 0x08, 0xa2, 0x19, 0x5a, 0x05, 0x48, 0xe0, 0x26, 0xee, 0x27, 0x7f, 0x9d, 0x82, 0x37, 0x06, + 0x9e, 0x23, 0x20, 0x9f, 0x80, 0x0c, 0xb3, 0x7d, 0x9d, 0x47, 0xb6, 0x72, 0x65, 0xb6, 0xcf, 0xfd, + 0xbb, 0x6f, 0x49, 0x75, 0xdf, 0x82, 0x36, 0x60, 0x3a, 0x82, 0x2d, 0x3c, 0xd2, 0xbc, 0xd0, 0x77, + 0x93, 0xd3, 0xde, 0x03, 0x24, 0xa5, 0xc3, 0xb6, 0xe2, 0xb2, 0x7a, 0x53, 0xcb, 0xd2, 0xb6, 0x25, + 0x7f, 0x0d, 0x8e, 0x74, 0x3b, 0xa0, 0x23, 0x90, 0xae, 0x92, 0x26, 0x87,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xba, 0x30, 0x2c, + 0xa9, 0x4b, 0x9d, 0xc2, 0x0b, 0xfd, 0x29, 0x41, 0x2e, 0x49, 0x65, 0xa0, 0x6b, 0x43, 0x20, 0x0d, + 0x91, 0x42, 0xf9, 0xeb, 0x63, 0xc7, 0x8b, 0xa4, 0xae, 0xf1, 0xa4, 0x96, 0xd1, 0x62, 0x72, 0x52, + 0x0e, 0xa6, 0x4c, 0xef, 0x9e, 0x6d, 0xb1, 0x93, 0xca, 0xf7, 0x9e, 0x6d, 0x17, 0xa4, 0xe7, 0xdb, + 0x05, 0xe9, 0xc5, 0x76, 0x41, 0x7a, 0xba, 0x53, 0x38, 0xf4, 0x7c, 0xa7, 0x70, 0xe8, 0xf7, 0x9d, + 0xc2, 0xa1, 0x8f, 0x97, 0x86, 0x3f, 0x1c, 0x5b, 0x5d, 0x97, 0xb1, 0xa6, 0x4f, 0xa8, 0x31, 0xc5, + 0xdf, 0xde, 0xf9, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xae, 0x51, 0x3c, 0x6e, 0xd7, 0x11, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3930,7 +3930,7 @@ func (m *RawCheckpointResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.Signature + var v github_com_babylonlabs_io_babylon_crypto_bls12381.Signature m.BlsMultiSig = &v if err := m.BlsMultiSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4258,7 +4258,7 @@ func (m *RawCheckpointWithMetaResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_crypto_bls12381.PublicKey + var v github_com_babylonlabs_io_babylon_crypto_bls12381.PublicKey m.BlsAggrPk = &v if err := m.BlsAggrPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/checkpointing/types/tx.pb.go b/x/checkpointing/types/tx.pb.go index 9a309d96a..7ba7e05c5 100644 --- a/x/checkpointing/types/tx.pb.go +++ b/x/checkpointing/types/tx.pb.go @@ -115,30 +115,30 @@ func init() { func init() { proto.RegisterFile("babylon/checkpointing/v1/tx.proto", fileDescriptor_6b16c54750152c21) } var fileDescriptor_6b16c54750152c21 = []byte{ - // 357 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x3d, 0x4b, 0xfb, 0x40, - 0x1c, 0xc7, 0x73, 0xff, 0xf2, 0x77, 0x38, 0xb7, 0x50, 0xb4, 0x66, 0x48, 0x1f, 0x04, 0x91, 0x0e, - 0x77, 0xb4, 0xc5, 0x45, 0xb7, 0x3a, 0x4a, 0x11, 0x3a, 0x28, 0x88, 0x50, 0x2e, 0xe9, 0x71, 0x0d, - 0x79, 0xb8, 0x90, 0xdf, 0x59, 0x9a, 0x4d, 0x9c, 0xc4, 0xc9, 0xd5, 0xad, 0x2f, 0xa1, 0x2f, 0xc3, - 0xb1, 0xa3, 0xa3, 0xb4, 0x43, 0x7d, 0x19, 0xd2, 0x24, 0x45, 0xac, 0xde, 0xe2, 0x76, 0x0f, 0x9f, - 0xdf, 0xf7, 0x81, 0x3b, 0x5c, 0x77, 0x98, 0x93, 0x06, 0x32, 0xa2, 0xee, 0x88, 0xbb, 0x7e, 0x2c, - 0xbd, 0x48, 0x79, 0x91, 0xa0, 0xe3, 0x16, 0x55, 0x13, 0x12, 0x27, 0x52, 0x49, 0xb3, 0x52, 0x20, - 0xe4, 0x1b, 0x42, 0xc6, 0x2d, 0xab, 0x2c, 0xa4, 0x90, 0x19, 0x44, 0xd7, 0xab, 0x9c, 0xb7, 0x8e, - 0xb4, 0x92, 0x4e, 0x00, 0x03, 0x9f, 0xa7, 0x05, 0x57, 0x75, 0x25, 0x84, 0x12, 0x28, 0x28, 0xe6, - 0xe7, 0x80, 0xc3, 0x15, 0xfb, 0x32, 0xb6, 0x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0, 0xc9, 0xd6, 0x4f, 0x51, - 0x69, 0xcc, 0xc1, 0xd9, 0xc9, 0xde, 0xba, 0xf3, 0x19, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x29, 0x9a, - 0x31, 0xa2, 0x02, 0x00, 0x00, + // 360 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xbb, 0x4a, 0x2b, 0x41, + 0x18, 0xc7, 0x77, 0x4e, 0x38, 0xa7, 0x98, 0xd3, 0x2d, 0x41, 0xe3, 0x16, 0x9b, 0x8b, 0x20, 0x12, + 0x70, 0x86, 0x24, 0x85, 0xa0, 0x5d, 0x2c, 0x25, 0x85, 0x29, 0x14, 0x44, 0x08, 0x33, 0x9b, 0x61, + 0xb2, 0xec, 0x65, 0x96, 0xfd, 0xc6, 0x90, 0xed, 0xc4, 0x4a, 0xac, 0x6c, 0xed, 0xf2, 0x08, 0x79, + 0x0c, 0xcb, 0x94, 0x96, 0x92, 0x14, 0xf1, 0x31, 0x24, 0xbb, 0x1b, 0xc4, 0xe8, 0x36, 0x76, 0x73, + 0xf9, 0x7d, 0xff, 0x0b, 0x33, 0xb8, 0xce, 0x19, 0x4f, 0x7c, 0x15, 0x52, 0x67, 0x24, 0x1c, 0x2f, + 0x52, 0x6e, 0xa8, 0xdd, 0x50, 0xd2, 0x71, 0x8b, 0xea, 0x09, 0x89, 0x62, 0xa5, 0x95, 0x59, 0xc9, + 0x11, 0xf2, 0x05, 0x21, 0xe3, 0x96, 0x55, 0x96, 0x4a, 0xaa, 0x14, 0xa2, 0xeb, 0x55, 0xc6, 0x5b, + 0x07, 0x85, 0x92, 0xdc, 0x87, 0x81, 0x27, 0x92, 0x9c, 0xab, 0x3a, 0x0a, 0x02, 0x05, 0x14, 0x34, + 0xf3, 0x32, 0x80, 0x0b, 0xcd, 0x3e, 0x8d, 0xad, 0xdd, 0x1c, 0x08, 0x20, 0x9d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0x15, 0x9d, 0x44, 0x02, 0xf8, 0xbf, 0xf4, 0xb5, 0x3b, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x74, 0x07, 0x94, 0x5c, 0xa4, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/checkpointing/types/types.go b/x/checkpointing/types/types.go index dabec4b71..116728539 100644 --- a/x/checkpointing/types/types.go +++ b/x/checkpointing/types/types.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - txformat "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/crypto/bls12381" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) const ( diff --git a/x/checkpointing/types/types_test.go b/x/checkpointing/types/types_test.go index 3875024c9..ea0f2a791 100644 --- a/x/checkpointing/types/types_test.go +++ b/x/checkpointing/types/types_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // a single validator diff --git a/x/checkpointing/types/utils.go b/x/checkpointing/types/utils.go index faef788dd..8a1c4f8e1 100644 --- a/x/checkpointing/types/utils.go +++ b/x/checkpointing/types/utils.go @@ -7,8 +7,8 @@ import ( "github.com/cometbft/cometbft/crypto/tmhash" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/crypto/bls12381" ) func (m BlsSig) Hash() BlsSigHash { diff --git a/x/checkpointing/types/val_bls_set.go b/x/checkpointing/types/val_bls_set.go index 8db7764e5..9603d4bc5 100644 --- a/x/checkpointing/types/val_bls_set.go +++ b/x/checkpointing/types/val_bls_set.go @@ -3,7 +3,7 @@ package types import ( "fmt" - "github.com/babylonchain/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/crypto/bls12381" "github.com/boljen/go-bitmap" "github.com/cosmos/cosmos-sdk/codec" ) diff --git a/x/checkpointing/vote_ext.go b/x/checkpointing/vote_ext.go index ea4239de3..6bdd10e1d 100644 --- a/x/checkpointing/vote_ext.go +++ b/x/checkpointing/vote_ext.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/checkpointing/keeper" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // VoteExtensionHandler defines a BLS-based vote extension handlers for Babylon. diff --git a/x/checkpointing/vote_ext_test.go b/x/checkpointing/vote_ext_test.go index 3b91aaf6b..90c57342f 100644 --- a/x/checkpointing/vote_ext_test.go +++ b/x/checkpointing/vote_ext_test.go @@ -7,9 +7,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) // FuzzAddBLSSigVoteExtension_MultipleVals tests adding BLS signatures via VoteExtension diff --git a/x/epoching/abci.go b/x/epoching/abci.go index 14fc82c2b..04097d3aa 100644 --- a/x/epoching/abci.go +++ b/x/epoching/abci.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/babylonchain/babylon/x/epoching/keeper" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/keeper" + "github.com/babylonlabs-io/babylon/x/epoching/types" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/telemetry" diff --git a/x/epoching/client/cli/query.go b/x/epoching/client/cli/query.go index 34c439cb6..80656ce80 100644 --- a/x/epoching/client/cli/query.go +++ b/x/epoching/client/cli/query.go @@ -5,7 +5,7 @@ import ( "fmt" "strconv" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" diff --git a/x/epoching/client/cli/tx.go b/x/epoching/client/cli/tx.go index 42923beaf..a3fd11931 100644 --- a/x/epoching/client/cli/tx.go +++ b/x/epoching/client/cli/tx.go @@ -7,8 +7,8 @@ import ( "github.com/spf13/cobra" - "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" diff --git a/x/epoching/genesis.go b/x/epoching/genesis.go index efd7b985d..2c96e3694 100644 --- a/x/epoching/genesis.go +++ b/x/epoching/genesis.go @@ -2,8 +2,8 @@ package epoching import ( "context" - "github.com/babylonchain/babylon/x/epoching/keeper" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/keeper" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/epoching/genesis_test.go b/x/epoching/genesis_test.go index ae92a5024..22c4450d9 100644 --- a/x/epoching/genesis_test.go +++ b/x/epoching/genesis_test.go @@ -3,11 +3,11 @@ package epoching_test import ( "testing" - "github.com/babylonchain/babylon/x/epoching" + "github.com/babylonlabs-io/babylon/x/epoching" "github.com/stretchr/testify/require" - simapp "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/x/epoching/types" + simapp "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) func TestExportGenesis(t *testing.T) { diff --git a/x/epoching/keeper/drop_validator_msg_decorator.go b/x/epoching/keeper/drop_validator_msg_decorator.go index c9f3baa45..c6261b1e3 100644 --- a/x/epoching/keeper/drop_validator_msg_decorator.go +++ b/x/epoching/keeper/drop_validator_msg_decorator.go @@ -1,7 +1,7 @@ package keeper import ( - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) diff --git a/x/epoching/keeper/epoch_msg_queue.go b/x/epoching/keeper/epoch_msg_queue.go index 52970fc52..232bef822 100644 --- a/x/epoching/keeper/epoch_msg_queue.go +++ b/x/epoching/keeper/epoch_msg_queue.go @@ -9,7 +9,7 @@ import ( errorsmod "cosmossdk.io/errors" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/epoching/keeper/epoch_msg_queue_test.go b/x/epoching/keeper/epoch_msg_queue_test.go index 22703df73..b7fe5504d 100644 --- a/x/epoching/keeper/epoch_msg_queue_test.go +++ b/x/epoching/keeper/epoch_msg_queue_test.go @@ -4,16 +4,16 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/x/epoching/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - appparams "github.com/babylonchain/babylon/app/params" + appparams "github.com/babylonlabs-io/babylon/app/params" ) var ( diff --git a/x/epoching/keeper/epoch_slashed_val_set.go b/x/epoching/keeper/epoch_slashed_val_set.go index a52b89624..1fa73f77e 100644 --- a/x/epoching/keeper/epoch_slashed_val_set.go +++ b/x/epoching/keeper/epoch_slashed_val_set.go @@ -5,7 +5,7 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/epoching/keeper/epoch_slashed_val_set_test.go b/x/epoching/keeper/epoch_slashed_val_set_test.go index 90ae8ad4b..8231b9bb1 100644 --- a/x/epoching/keeper/epoch_slashed_val_set_test.go +++ b/x/epoching/keeper/epoch_slashed_val_set_test.go @@ -7,13 +7,13 @@ import ( sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) func FuzzSlashedValSet(f *testing.F) { diff --git a/x/epoching/keeper/epoch_val_set.go b/x/epoching/keeper/epoch_val_set.go index 4095df178..baef32df6 100644 --- a/x/epoching/keeper/epoch_val_set.go +++ b/x/epoching/keeper/epoch_val_set.go @@ -5,7 +5,7 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/epoching/keeper/epoch_val_set_test.go b/x/epoching/keeper/epoch_val_set_test.go index 8bc1e3b89..32b886bbb 100644 --- a/x/epoching/keeper/epoch_val_set_test.go +++ b/x/epoching/keeper/epoch_val_set_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" diff --git a/x/epoching/keeper/epochs.go b/x/epoching/keeper/epochs.go index 8ee863952..089318d63 100644 --- a/x/epoching/keeper/epochs.go +++ b/x/epoching/keeper/epochs.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) func (k Keeper) setEpochInfo(ctx context.Context, epochNumber uint64, epoch *types.Epoch) { diff --git a/x/epoching/keeper/epochs_test.go b/x/epoching/keeper/epochs_test.go index a4a3dff99..30aaf91c3 100644 --- a/x/epoching/keeper/epochs_test.go +++ b/x/epoching/keeper/epochs_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" ) func FuzzEpochs(f *testing.F) { diff --git a/x/epoching/keeper/grpc_query.go b/x/epoching/keeper/grpc_query.go index 9d88cc565..d3ea77434 100644 --- a/x/epoching/keeper/grpc_query.go +++ b/x/epoching/keeper/grpc_query.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/math" errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/query" diff --git a/x/epoching/keeper/grpc_query_test.go b/x/epoching/keeper/grpc_query_test.go index 92fc074fc..fa92bb853 100644 --- a/x/epoching/keeper/grpc_query_test.go +++ b/x/epoching/keeper/grpc_query_test.go @@ -11,9 +11,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) // FuzzParamsQuery fuzzes queryClient.Params diff --git a/x/epoching/keeper/hooks.go b/x/epoching/keeper/hooks.go index 10db4a52a..525e26640 100644 --- a/x/epoching/keeper/hooks.go +++ b/x/epoching/keeper/hooks.go @@ -4,8 +4,8 @@ import ( "context" "cosmossdk.io/math" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - "github.com/babylonchain/babylon/x/epoching/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) diff --git a/x/epoching/keeper/keeper.go b/x/epoching/keeper/keeper.go index 11741f489..f0eacc6c0 100644 --- a/x/epoching/keeper/keeper.go +++ b/x/epoching/keeper/keeper.go @@ -6,7 +6,7 @@ import ( corestoretypes "cosmossdk.io/core/store" "cosmossdk.io/log" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec" ) diff --git a/x/epoching/keeper/keeper_test.go b/x/epoching/keeper/keeper_test.go index 80ea94d3b..cb7068120 100644 --- a/x/epoching/keeper/keeper_test.go +++ b/x/epoching/keeper/keeper_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - testhelper "github.com/babylonchain/babylon/testutil/helper" - "github.com/babylonchain/babylon/x/epoching/types" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) func TestParams(t *testing.T) { diff --git a/x/epoching/keeper/lifecycle_delegation.go b/x/epoching/keeper/lifecycle_delegation.go index d00859908..8213c8e15 100644 --- a/x/epoching/keeper/lifecycle_delegation.go +++ b/x/epoching/keeper/lifecycle_delegation.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/epoching/keeper/lifecycle_validator.go b/x/epoching/keeper/lifecycle_validator.go index 75f6250bf..76026a72e 100644 --- a/x/epoching/keeper/lifecycle_validator.go +++ b/x/epoching/keeper/lifecycle_validator.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/epoching/keeper/modified_staking.go b/x/epoching/keeper/modified_staking.go index 44c193494..d0b122c11 100644 --- a/x/epoching/keeper/modified_staking.go +++ b/x/epoching/keeper/modified_staking.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" abci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/epoching/keeper/msg_server.go b/x/epoching/keeper/msg_server.go index 3db5b554d..280abec88 100644 --- a/x/epoching/keeper/msg_server.go +++ b/x/epoching/keeper/msg_server.go @@ -4,7 +4,7 @@ import ( "context" errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cometbft/cometbft/crypto/tmhash" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/epoching/keeper/msg_server_test.go b/x/epoching/keeper/msg_server_test.go index cd1857f9f..2707c0cde 100644 --- a/x/epoching/keeper/msg_server_test.go +++ b/x/epoching/keeper/msg_server_test.go @@ -8,8 +8,8 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - testhelper "github.com/babylonchain/babylon/testutil/helper" - "github.com/babylonchain/babylon/x/epoching/types" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) // TODO (fuzz tests): replace the following tests with fuzz ones diff --git a/x/epoching/keeper/params.go b/x/epoching/keeper/params.go index 3f0a67762..38d0c8ea2 100644 --- a/x/epoching/keeper/params.go +++ b/x/epoching/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) // SetParams sets the x/epoching module parameters. diff --git a/x/epoching/keeper/params_test.go b/x/epoching/keeper/params_test.go index 01ff49ae6..1c193b7f0 100644 --- a/x/epoching/keeper/params_test.go +++ b/x/epoching/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/epoching/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/stretchr/testify/require" ) diff --git a/x/epoching/keeper/staking_functions.go b/x/epoching/keeper/staking_functions.go index 577e7c88e..3d9e1935c 100644 --- a/x/epoching/keeper/staking_functions.go +++ b/x/epoching/keeper/staking_functions.go @@ -10,7 +10,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" ) // CheckMsgCreateValidator performs checks on a given `MsgCreateValidator` message diff --git a/x/epoching/module.go b/x/epoching/module.go index f21bdcdcb..06e611eb6 100644 --- a/x/epoching/module.go +++ b/x/epoching/module.go @@ -13,9 +13,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/epoching/client/cli" - "github.com/babylonchain/babylon/x/epoching/keeper" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/client/cli" + "github.com/babylonlabs-io/babylon/x/epoching/keeper" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/epoching/types/epoching.pb.go b/x/epoching/types/epoching.pb.go index 4ce345009..09e4bbfd7 100644 --- a/x/epoching/types/epoching.pb.go +++ b/x/epoching/types/epoching.pb.go @@ -651,63 +651,63 @@ func init() { } var fileDescriptor_2f2f209d5311f84c = []byte{ - // 881 bytes of a gzipped FileDescriptorProto + // 883 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdf, 0x6e, 0xe3, 0x44, 0x14, 0xc6, 0xe3, 0xfc, 0x6b, 0x73, 0x92, 0x74, 0xc3, 0xb4, 0x8b, 0xb2, 0x15, 0x4a, 0x4b, 0x10, - 0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, 0xef, 0x6f, 0x7b, 0xda, 0x3f, 0xb7, 0x3d, 0xed, 0xdd, 0x5d, 0xaf, 0xf4, 0xfe, 0xae, 0x57, + 0xfa, 0xeb, 0xae, 0x57, 0xfa, 0x65, 0xe0, 0x05, 0xdc, 0xcf, 0x6c, 0xdd, 0xa1, 0x91, 0x91, 0xcf, + 0x17, 0x62, 0x9b, 0x7d, 0x13, 0xd0, 0xf9, 0xd1, 0xb8, 0x5e, 0xfc, 0x6f, 0xf3, 0x9b, 0x84, 0x30, + 0xbb, 0x2e, 0x91, 0x7f, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x40, 0x5d, 0x2a, 0x76, 0xd8, + 0x07, 0x00, 0x00, } func (m *Epoch) Marshal() (dAtA []byte, err error) { diff --git a/x/epoching/types/epoching_test.go b/x/epoching/types/epoching_test.go index a82e9e303..451f406fb 100644 --- a/x/epoching/types/epoching_test.go +++ b/x/epoching/types/epoching_test.go @@ -1,11 +1,11 @@ package types_test import ( - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "math/rand" "testing" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/stretchr/testify/require" ) diff --git a/x/epoching/types/events.pb.go b/x/epoching/types/events.pb.go index a1b01c203..bd2c2aef1 100644 --- a/x/epoching/types/events.pb.go +++ b/x/epoching/types/events.pb.go @@ -598,48 +598,48 @@ func init() { proto.RegisterFile("babylon/epoching/v1/events.proto", fileDescrip var fileDescriptor_2f0a2c43c7aaeb43 = []byte{ // 674 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xcd, 0x6e, 0xd4, 0x3c, - 0x14, 0x6d, 0xe6, 0xef, 0x53, 0xfd, 0xf5, 0xd7, 0x33, 0x8c, 0x22, 0x2a, 0x86, 0x61, 0xa4, 0x8a, -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96, + 0xbf, 0x18, 0x21, 0x72, 0xe5, 0x2a, 0xe5, 0x45, 0x68, 0xed, 0x1f, 0x3f, 0x32, 0xfa, 0x2e, 0x73, + 0x5b, 0xfa, 0xd9, 0xb8, 0xfd, 0x33, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x85, 0x55, 0x11, 0x85, 0x06, 0x00, 0x00, } diff --git a/x/epoching/types/genesis.pb.go b/x/epoching/types/genesis.pb.go index 77f300cdf..6120270f5 100644 --- a/x/epoching/types/genesis.pb.go +++ b/x/epoching/types/genesis.pb.go @@ -75,7 +75,7 @@ func init() { func init() { proto.RegisterFile("babylon/epoching/v1/genesis.proto", fileDescriptor_2ef836361c424501) } var fileDescriptor_2ef836361c424501 = []byte{ - // 200 bytes of a gzipped FileDescriptorProto + // 202 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2d, 0xc8, 0x4f, 0xce, 0xc8, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, @@ -83,12 +83,12 @@ var fileDescriptor_2ef836361c424501 = []byte{ 0x83, 0x58, 0x10, 0xa5, 0x52, 0x0a, 0xd8, 0x4c, 0x2b, 0x48, 0x2c, 0x4a, 0xcc, 0x85, 0x1a, 0xa6, 0xe4, 0xc9, 0xc5, 0xe3, 0x0e, 0x31, 0x3d, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x92, 0x8b, 0x0d, 0x22, 0x2f, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xad, 0x87, 0xc5, 0x36, 0xbd, 0x00, 0xb0, - 0x12, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0x1a, 0x9c, 0xbc, 0x4e, 0x3c, 0x92, 0x63, + 0x12, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0x1a, 0x9c, 0x7c, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, - 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x20, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, - 0x3f, 0x57, 0x1f, 0x6a, 0x5c, 0x72, 0x46, 0x62, 0x66, 0x1e, 0x8c, 0xa3, 0x5f, 0x81, 0x70, 0x60, - 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x75, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xa9, 0x51, 0x6f, 0x4e, 0x0f, 0x01, 0x00, 0x00, + 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x28, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, + 0x3f, 0x57, 0x1f, 0x6a, 0x5c, 0x4e, 0x62, 0x52, 0xb1, 0x6e, 0x66, 0x3e, 0x8c, 0xab, 0x5f, 0x81, + 0x70, 0x62, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x7d, 0xc6, 0x80, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x30, 0xa3, 0x4a, 0x33, 0x11, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/epoching/types/genesis_test.go b/x/epoching/types/genesis_test.go index 925ae1db6..a974f6572 100644 --- a/x/epoching/types/genesis_test.go +++ b/x/epoching/types/genesis_test.go @@ -3,10 +3,10 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/nullify" - "github.com/babylonchain/babylon/x/epoching" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/nullify" + "github.com/babylonlabs-io/babylon/x/epoching" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/stretchr/testify/require" ) diff --git a/x/epoching/types/msg_test.go b/x/epoching/types/msg_test.go index f5822d564..b94157622 100644 --- a/x/epoching/types/msg_test.go +++ b/x/epoching/types/msg_test.go @@ -5,11 +5,11 @@ import ( "time" sdkmath "cosmossdk.io/math" - appparams "github.com/babylonchain/babylon/app/params" + appparams "github.com/babylonlabs-io/babylon/app/params" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" diff --git a/x/epoching/types/params.pb.go b/x/epoching/types/params.pb.go index 21ae0f84b..94aed1d31 100644 --- a/x/epoching/types/params.pb.go +++ b/x/epoching/types/params.pb.go @@ -76,7 +76,7 @@ func init() { func init() { proto.RegisterFile("babylon/epoching/v1/params.proto", fileDescriptor_c9e38cfe55335900) } var fileDescriptor_c9e38cfe55335900 = []byte{ - // 201 bytes of a gzipped FileDescriptorProto + // 203 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2d, 0xc8, 0x4f, 0xce, 0xc8, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xaa, @@ -84,12 +84,12 @@ var fileDescriptor_c9e38cfe55335900 = []byte{ 0x58, 0x10, 0xa5, 0x4a, 0x01, 0x5c, 0x6c, 0x01, 0x60, 0xad, 0x42, 0x0e, 0x5c, 0x7c, 0x60, 0xe5, 0xf1, 0x99, 0x79, 0x25, 0xa9, 0x45, 0x65, 0x89, 0x39, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x2c, 0x4e, 0x92, 0x9f, 0xee, 0xc9, 0x8b, 0x56, 0x26, 0xe6, 0xe6, 0x58, 0x29, 0xa1, 0xca, 0x2b, 0x05, 0xf1, - 0x82, 0x05, 0x3c, 0xa1, 0x7c, 0x2b, 0x96, 0x17, 0x0b, 0xe4, 0x19, 0x9d, 0xbc, 0x4e, 0x3c, 0x92, + 0x82, 0x05, 0x3c, 0xa1, 0x7c, 0x2b, 0x96, 0x17, 0x0b, 0xe4, 0x19, 0x9d, 0x7c, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, - 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x20, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, - 0x39, 0x3f, 0x57, 0x1f, 0xea, 0xc2, 0xe4, 0x8c, 0xc4, 0xcc, 0x3c, 0x18, 0x47, 0xbf, 0x02, 0xe1, - 0xa5, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x23, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xa6, 0x7d, 0x61, 0x54, 0xf3, 0x00, 0x00, 0x00, + 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x28, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, + 0x39, 0x3f, 0x57, 0x1f, 0xea, 0xc2, 0x9c, 0xc4, 0xa4, 0x62, 0xdd, 0xcc, 0x7c, 0x18, 0x57, 0xbf, + 0x02, 0xe1, 0xa9, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x33, 0x8d, 0x01, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x12, 0xc9, 0x0a, 0x86, 0xf5, 0x00, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/x/epoching/types/params_test.go b/x/epoching/types/params_test.go index 83424dd41..c8096638d 100644 --- a/x/epoching/types/params_test.go +++ b/x/epoching/types/params_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/stretchr/testify/require" ) diff --git a/x/epoching/types/query.pb.go b/x/epoching/types/query.pb.go index ab85b879b..4d5e795ae 100644 --- a/x/epoching/types/query.pb.go +++ b/x/epoching/types/query.pb.go @@ -1268,94 +1268,94 @@ func init() { func init() { proto.RegisterFile("babylon/epoching/v1/query.proto", fileDescriptor_1821b530f2ec2711) } var fileDescriptor_1821b530f2ec2711 = []byte{ - // 1384 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x1b, 0xce, 0x3a, 0x4e, 0xbe, 0xe6, 0x4d, 0xf3, 0x25, 0x9d, 0xb4, 0xfd, 0x52, 0xa7, 0x75, 0xfa, - 0x6d, 0xa1, 0x2d, 0x49, 0xb3, 0xdb, 0x34, 0x29, 0xd0, 0x1f, 0x50, 0x35, 0x2d, 0x25, 0x41, 0x2d, - 0x4a, 0x17, 0xe8, 0x81, 0xcb, 0x32, 0xf6, 0x4e, 0xd6, 0x2b, 0xd6, 0xbb, 0xdb, 0x9d, 0xb1, 0x49, - 0x54, 0x8a, 0x10, 0xe2, 0xc8, 0xa1, 0x12, 0x07, 0x84, 0x90, 0x10, 0x88, 0x23, 0x7f, 0x01, 0x2a, - 0x07, 0x8e, 0x3d, 0x16, 0x71, 0xe1, 0x04, 0xa8, 0xe5, 0x0f, 0x41, 0xfb, 0xce, 0xac, 0xbd, 0x76, - 0xd6, 0xb5, 0x13, 0x55, 0xdc, 0xec, 0xf7, 0xe7, 0xf3, 0x3e, 0xef, 0xcc, 0xec, 0x03, 0x73, 0x15, - 0x5a, 0xd9, 0xf6, 0xc3, 0xc0, 0x64, 0x51, 0x58, 0xad, 0x79, 0x81, 0x6b, 0x36, 0x97, 0xcc, 0xbb, - 0x0d, 0x16, 0x6f, 0x1b, 0x51, 0x1c, 0x8a, 0x90, 0x4c, 0xab, 0x00, 0x23, 0x0d, 0x30, 0x9a, 0x4b, - 0xa5, 0x83, 0x6e, 0xe8, 0x86, 0xe8, 0x37, 0x93, 0x5f, 0x32, 0xb4, 0x34, 0xe7, 0x86, 0xa1, 0xeb, - 0x33, 0x13, 0xff, 0x55, 0x1a, 0x9b, 0xa6, 0xf0, 0xea, 0x8c, 0x0b, 0x5a, 0x8f, 0x54, 0xc0, 0x51, - 0x15, 0x40, 0x23, 0xcf, 0xa4, 0x41, 0x10, 0x0a, 0x2a, 0xbc, 0x30, 0xe0, 0xca, 0x3b, 0x5f, 0x0d, - 0x79, 0x3d, 0xe4, 0x66, 0x85, 0x72, 0x26, 0x21, 0x98, 0xcd, 0xa5, 0x0a, 0x13, 0x74, 0xc9, 0x8c, - 0xa8, 0xeb, 0x05, 0x18, 0xac, 0x62, 0x8f, 0xe7, 0xc1, 0x8e, 0x68, 0x4c, 0xeb, 0x69, 0x35, 0x3d, - 0x2f, 0xa2, 0x35, 0x03, 0xc6, 0xe8, 0x07, 0x81, 0xdc, 0x4e, 0xfa, 0x6c, 0x60, 0xa2, 0xc5, 0xee, - 0x36, 0x18, 0x17, 0xfa, 0x06, 0x4c, 0x77, 0x58, 0x79, 0x14, 0x06, 0x9c, 0x91, 0x0b, 0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, 0xac, 0xa7, 0xc5, 0xab, 0x35, 0xea, 0x05, 0xad, 0x4e, 0x5b, 0xed, - 0x5e, 0x62, 0x3b, 0x62, 0xbc, 0x32, 0x8a, 0xdf, 0x90, 0xe5, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, - 0xad, 0xee, 0x6f, 0xab, 0xf3, 0x11, 0x00, 0x00, + // 1381 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x4d, 0x6f, 0xdc, 0x44, + 0x18, 0x8e, 0x37, 0x9b, 0xd0, 0xbc, 0x69, 0x48, 0x3a, 0x69, 0x4b, 0xba, 0x69, 0x37, 0xc5, 0x85, + 0xb6, 0x24, 0x8d, 0xcd, 0x26, 0x29, 0xd0, 0x0f, 0xa8, 0x9a, 0x96, 0x92, 0x48, 0x29, 0x4a, 0x0d, + 0xf4, 0xc0, 0xc5, 0x8c, 0xd7, 0x13, 0xaf, 0x85, 0xbf, 0xea, 0x99, 0x5d, 0x12, 0x95, 0x22, 0x84, + 0x38, 0x72, 0xa8, 0xc4, 0x01, 0x21, 0x24, 0x04, 0xe2, 0xc8, 0x2f, 0x40, 0xe5, 0xc0, 0xb1, 0xc7, + 0x22, 0x2e, 0x9c, 0x00, 0xb5, 0xfc, 0x10, 0xe4, 0x99, 0xf1, 0xae, 0x77, 0x63, 0x77, 0x37, 0x51, + 0xc5, 0x6d, 0xf7, 0xfd, 0x7c, 0xde, 0xe7, 0x9d, 0x19, 0x3f, 0x30, 0x67, 0x61, 0x6b, 0xc7, 0x0b, + 0x03, 0x9d, 0x44, 0x61, 0xbd, 0xe1, 0x06, 0x8e, 0xde, 0xaa, 0xe9, 0x77, 0x9a, 0x24, 0xde, 0xd1, + 0xa2, 0x38, 0x64, 0x21, 0x9a, 0x96, 0x01, 0x5a, 0x1a, 0xa0, 0xb5, 0x6a, 0x95, 0xc3, 0x4e, 0xe8, + 0x84,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a6, 0x7e, 0x37, 0x95, 0x70, 0xf7, 0xd0, 0x6f, 0x0a, 0x4c, + 0xe7, 0xc8, 0x1c, 0xf4, 0x14, 0x28, 0xc5, 0xba, 0xac, 0x72, 0x7e, 0x8f, 0x59, 0x72, 0x82, 0xcb, + 0x7c, 0x82, 0xd7, 0xd0, 0x4a, 0xee, 0x04, 0x76, 0x3b, 0x33, 0x3b, 0x42, 0xaa, 0xff, 0xee, 0x25, + 0xe7, 0x65, 0x3c, 0xa3, 0x81, 0x50, 0xbf, 0x1b, 0xdd, 0xa5, 0xd5, 0x2a, 0x8b, 0x03, 0x46, 0x4b, + 0xa8, 0x57, 0x38, 0xd4, 0x0b, 0xe8, 0xf5, 0xc1, 0x0f, 0x76, 0x67, 0x03, 0x94, 0xb0, 0xd5, 0x8d, + 0x87, 0x8f, 0xab, 0xca, 0xa3, 0xc7, 0x55, 0xe5, 0x9f, 0xc7, 0x55, 0xe5, 0xfe, 0x93, 0xea, 0xd0, + 0xa3, 0x27, 0xd5, 0xa1, 0x3f, 0x9f, 0x54, 0x87, 0x3e, 0x5c, 0x72, 0x5c, 0xd6, 0x68, 0x5a, 0x5a, + 0x3d, 0xf4, 0xd3, 0xe2, 0x1e, 0xb6, 0xe8, 0xa2, 0x1b, 0xb6, 0x7b, 0x6d, 0x77, 0xba, 0xb1, 0x9d, + 0x88, 0x50, 0x6b, 0x94, 0x7f, 0x45, 0x96, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x29, 0x2d, 0xf8, + 0x0c, 0xf5, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/epoching/types/tx.pb.go b/x/epoching/types/tx.pb.go index fd16d4af4..71db40e2d 100644 --- a/x/epoching/types/tx.pb.go +++ b/x/epoching/types/tx.pb.go @@ -453,44 +453,44 @@ func init() { func init() { proto.RegisterFile("babylon/epoching/v1/tx.proto", fileDescriptor_a5fc8fed8f4e58b6) } var fileDescriptor_a5fc8fed8f4e58b6 = []byte{ - // 585 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x4f, 0x6f, 0x12, 0x41, - 0x18, 0xc6, 0x77, 0x6d, 0x6d, 0xd2, 0x57, 0x63, 0x75, 0x25, 0x16, 0x56, 0xb2, 0x20, 0x68, 0x54, - 0xb4, 0xbb, 0x52, 0xb5, 0x6a, 0xe3, 0x41, 0xd1, 0x78, 0x30, 0x21, 0x31, 0x98, 0xc6, 0xc4, 0xc4, - 0x98, 0x59, 0x76, 0x32, 0x6c, 0x60, 0x67, 0xd6, 0x9d, 0x69, 0x53, 0x4e, 0x36, 0x9e, 0x3c, 0x7a, - 0xf0, 0x6c, 0xfa, 0x11, 0x7a, 0xf0, 0x43, 0xf4, 0xd8, 0x78, 0xf2, 0x64, 0x0c, 0x1c, 0xea, 0x07, - 0xf0, 0x03, 0x18, 0xf6, 0x2f, 0x02, 0x0b, 0xe8, 0x8d, 0xe1, 0x7d, 0xde, 0xe7, 0xf9, 0xc1, 0x3e, - 0x3b, 0x90, 0x37, 0x91, 0xd9, 0xed, 0x30, 0x6a, 0x60, 0x97, 0x35, 0x5b, 0x36, 0x25, 0xc6, 0x4e, - 0xd5, 0x10, 0xbb, 0xba, 0xeb, 0x31, 0xc1, 0x94, 0xf3, 0xe1, 0x54, 0x8f, 0xa6, 0xfa, 0x4e, 0x55, - 0xcd, 0x10, 0x46, 0x98, 0x3f, 0x37, 0x06, 0x9f, 0x02, 0xa9, 0x5a, 0x68, 0x32, 0xee, 0x30, 0x6e, - 0x70, 0x81, 0xda, 0x81, 0x8d, 0x89, 0x05, 0x4a, 0xbc, 0xd4, 0xe2, 0xa4, 0x24, 0x17, 0x79, 0xc8, - 0xe1, 0xa1, 0x22, 0x17, 0x58, 0xbc, 0x0d, 0xbc, 0x83, 0x43, 0x38, 0x5a, 0x0d, 0xdd, 0x1d, 0xee, - 0xaf, 0x39, 0x9c, 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 0x11, 0x5b, - 0xb4, 0xb6, 0x4d, 0xbd, 0xc9, 0x1c, 0x23, 0x34, 0x6e, 0xb6, 0x90, 0x4d, 0xa3, 0x83, 0xb1, 0x9b, - 0x5c, 0xfa, 0xa2, 0xeb, 0x62, 0x6e, 0x2e, 0xf9, 0xb7, 0xf7, 0xed, 0x3f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xdf, 0xdb, 0xcd, 0x7f, 0x7f, 0x06, 0x00, 0x00, + // 586 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xc1, 0x8e, 0xd2, 0x40, + 0x1c, 0xc6, 0x5b, 0x77, 0xdd, 0x64, 0x47, 0xe3, 0x6a, 0x25, 0x2e, 0x54, 0x52, 0x10, 0x34, 0x2a, + 0x4a, 0x1b, 0x50, 0x57, 0xdd, 0x78, 0x50, 0x34, 0x9e, 0x24, 0x31, 0x98, 0x8d, 0x89, 0x89, 0x31, + 0x53, 0x3a, 0x19, 0x1a, 0xe8, 0x4c, 0xed, 0xcc, 0x6e, 0x96, 0x93, 0x1b, 0x4f, 0x1e, 0x3d, 0x78, + 0x36, 0xfb, 0x08, 0x7b, 0xf0, 0x21, 0xf6, 0xb8, 0xf1, 0xe4, 0xc9, 0x18, 0x38, 0xac, 0x0f, 0xe0, + 0x03, 0x98, 0xb6, 0xd3, 0x16, 0x81, 0x02, 0xee, 0x8d, 0xe1, 0xff, 0xfd, 0xbf, 0xef, 0x07, 0xfd, + 0x3a, 0x20, 0x6f, 0x42, 0xb3, 0xdf, 0xa3, 0xc4, 0x40, 0x2e, 0x6d, 0x77, 0x6c, 0x82, 0x8d, 0x9d, + 0x9a, 0xc1, 0x77, 0x75, 0xd7, 0xa3, 0x9c, 0x2a, 0x17, 0xc5, 0x54, 0x8f, 0xa6, 0xfa, 0x4e, 0x4d, + 0xcd, 0x60, 0x8a, 0x69, 0x30, 0x37, 0xfc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xe6, 0x5e, 0x4d, 0x73, 0x1c, 0x55, 0xa9, 0xb7, 0x17, 0x51, 0x45, 0x19, 0xea, + 0xe9, 0xbd, 0xe3, 0x83, 0x8a, 0xdc, 0x78, 0x71, 0x38, 0xd0, 0xe4, 0xa3, 0x81, 0x26, 0xff, 0x1a, + 0x68, 0xf2, 0xe7, 0xa1, 0x26, 0x1d, 0x0d, 0x35, 0xe9, 0xc7, 0x50, 0x93, 0xde, 0xd4, 0xb1, 0xcd, + 0x3b, 0xdb, 0xa6, 0xde, 0xa6, 0x8e, 0x21, 0x8c, 0x7b, 0xd0, 0x64, 0x55, 0x9b, 0x46, 0x47, 0x63, + 0x37, 0xb9, 0xf6, 0x79, 0xdf, 0x45, 0xcc, 0x5c, 0x09, 0xee, 0xef, 0x3b, 0x7f, 0x03, 0x00, 0x00, + 0xff, 0xff, 0xdc, 0x26, 0x42, 0x47, 0x81, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/epoching/types/validator_test.go b/x/epoching/types/validator_test.go index d885c0d32..ba6468dc9 100644 --- a/x/epoching/types/validator_test.go +++ b/x/epoching/types/validator_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" ) diff --git a/x/finality/README.md b/x/finality/README.md index 2f8954dcf..aae159c08 100644 --- a/x/finality/README.md +++ b/x/finality/README.md @@ -159,7 +159,7 @@ secp256k1 secret key, as per EOTS's extractability property. // signatures with correct public randomness on two conflicting Babylon headers message Evidence { // fp_btc_pk is the BTC PK of the finality provider that casts this vote - bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // block_height is the height of the conflicting blocks uint64 block_height = 2; // master_pub_rand is the master public randomness the finality provider has committed to @@ -173,10 +173,10 @@ message Evidence { // where finality signature is an EOTS signature, i.e., // the `s` in a Schnorr signature `(r, s)` // `r` is the public randomness that is already committed by the finality provider - bytes canonical_finality_sig = 6 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; + bytes canonical_finality_sig = 6 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" ]; // fork_finality_sig is the finality signature to the fork block // where finality signature is an EOTS signature - bytes fork_finality_sig = 7 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; + bytes fork_finality_sig = 7 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" ]; } ``` @@ -214,7 +214,7 @@ The information stored for tracking finality provider liveness is as follows: message FinalityProviderSigningInfo { // fp_btc_pk is the BTC PK of the finality provider that casts this finality // signature - bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 1 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // start_height is the block height at which finality provider become active int64 start_height = 2; // missed_blocks_counter defines a counter to avoid unnecessary array reads. @@ -254,7 +254,7 @@ message MsgAddFinalitySig { string signer = 1; // fp_btc_pk is the BTC PK of the finality provider that casts this vote - bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes fp_btc_pk = 2 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // block_height is the height of the voted block uint64 block_height = 3; // block_app_hash is the AppHash of the voted block @@ -263,7 +263,7 @@ message MsgAddFinalitySig { // where finality signature is an EOTS signature, i.e., // the `s` in a Schnorr signature `(r, s)` // `r` is the public randomness that is already committed by the finality provider - bytes finality_sig = 5 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.SchnorrEOTSSig" ]; + bytes finality_sig = 5 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" ]; } ``` diff --git a/x/finality/abci.go b/x/finality/abci.go index 1b62dac38..93ef8852a 100644 --- a/x/finality/abci.go +++ b/x/finality/abci.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" ) func BeginBlocker(ctx context.Context, k keeper.Keeper) error { diff --git a/x/finality/client/cli/query.go b/x/finality/client/cli/query.go index 78ece2d87..da6ef9361 100644 --- a/x/finality/client/cli/query.go +++ b/x/finality/client/cli/query.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) const ( diff --git a/x/finality/client/cli/query_params.go b/x/finality/client/cli/query_params.go index 16ff79e70..ea616d06b 100644 --- a/x/finality/client/cli/query_params.go +++ b/x/finality/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/finality/client/cli/tx.go b/x/finality/client/cli/tx.go index d1ed88abd..384d87448 100644 --- a/x/finality/client/cli/tx.go +++ b/x/finality/client/cli/tx.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" cmtcrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/x/finality/genesis.go b/x/finality/genesis.go index bf1974280..43018ece9 100644 --- a/x/finality/genesis.go +++ b/x/finality/genesis.go @@ -3,8 +3,8 @@ package finality import ( "context" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/finality/genesis_test.go b/x/finality/genesis_test.go index e99999e4e..f66eb3555 100644 --- a/x/finality/genesis_test.go +++ b/x/finality/genesis_test.go @@ -3,10 +3,10 @@ package finality_test import ( "testing" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/testutil/nullify" - "github.com/babylonchain/babylon/x/finality" - "github.com/babylonchain/babylon/x/finality/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/nullify" + "github.com/babylonlabs-io/babylon/x/finality" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/stretchr/testify/require" ) diff --git a/x/finality/keeper/evidence.go b/x/finality/keeper/evidence.go index 393058d4b..4a18c7d69 100644 --- a/x/finality/keeper/evidence.go +++ b/x/finality/keeper/evidence.go @@ -4,8 +4,8 @@ import ( "context" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/finality/keeper/genesis.go b/x/finality/keeper/genesis.go index 9a70531cb..1c41be585 100644 --- a/x/finality/keeper/genesis.go +++ b/x/finality/keeper/genesis.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - btcstk "github.com/babylonchain/babylon/btcstaking" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + btcstk "github.com/babylonlabs-io/babylon/btcstaking" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) // InitGenesis initializes the keeper state from a provided initial genesis state. diff --git a/x/finality/keeper/genesis_test.go b/x/finality/keeper/genesis_test.go index bbec05549..cdad29119 100644 --- a/x/finality/keeper/genesis_test.go +++ b/x/finality/keeper/genesis_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) func FuzzTestExportGenesis(f *testing.F) { diff --git a/x/finality/keeper/grpc_query.go b/x/finality/keeper/grpc_query.go index 5f38bba40..1478f8f26 100644 --- a/x/finality/keeper/grpc_query.go +++ b/x/finality/keeper/grpc_query.go @@ -12,8 +12,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/finality/keeper/grpc_query_test.go b/x/finality/keeper/grpc_query_test.go index e4a360197..d8d878696 100644 --- a/x/finality/keeper/grpc_query_test.go +++ b/x/finality/keeper/grpc_query_test.go @@ -11,11 +11,11 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" ) func FuzzBlock(f *testing.F) { diff --git a/x/finality/keeper/hooks.go b/x/finality/keeper/hooks.go index 8d18422c7..ba2140001 100644 --- a/x/finality/keeper/hooks.go +++ b/x/finality/keeper/hooks.go @@ -7,8 +7,8 @@ import ( "cosmossdk.io/collections" sdk "github.com/cosmos/cosmos-sdk/types" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) var _ types.BtcStakingHooks = Hooks{} diff --git a/x/finality/keeper/indexed_blocks.go b/x/finality/keeper/indexed_blocks.go index 07455ffb1..00d3bd649 100644 --- a/x/finality/keeper/indexed_blocks.go +++ b/x/finality/keeper/indexed_blocks.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/finality/keeper/keeper.go b/x/finality/keeper/keeper.go index 8b131d070..fe185a569 100644 --- a/x/finality/keeper/keeper.go +++ b/x/finality/keeper/keeper.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) type ( diff --git a/x/finality/keeper/liveness.go b/x/finality/keeper/liveness.go index ae2fbb5db..59cf453cc 100644 --- a/x/finality/keeper/liveness.go +++ b/x/finality/keeper/liveness.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/types" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/types" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" ) // HandleLiveness handles liveness of each active finality provider for a given height diff --git a/x/finality/keeper/liveness_test.go b/x/finality/keeper/liveness_test.go index 563cba5ee..da92702e5 100644 --- a/x/finality/keeper/liveness_test.go +++ b/x/finality/keeper/liveness_test.go @@ -7,10 +7,10 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) func FuzzHandleLiveness(f *testing.F) { diff --git a/x/finality/keeper/msg_server.go b/x/finality/keeper/msg_server.go index f0cd17b80..3576f7cd1 100644 --- a/x/finality/keeper/msg_server.go +++ b/x/finality/keeper/msg_server.go @@ -7,9 +7,9 @@ import ( "time" errorsmod "cosmossdk.io/errors" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/finality/types" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" diff --git a/x/finality/keeper/msg_server_test.go b/x/finality/keeper/msg_server_test.go index 1401db82e..231ef895e 100644 --- a/x/finality/keeper/msg_server_test.go +++ b/x/finality/keeper/msg_server_test.go @@ -7,12 +7,12 @@ import ( "time" "cosmossdk.io/core/header" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" ) diff --git a/x/finality/keeper/params.go b/x/finality/keeper/params.go index 15241fefc..7ee128b5f 100644 --- a/x/finality/keeper/params.go +++ b/x/finality/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) // SetParams sets the x/finality module parameters. diff --git a/x/finality/keeper/params_test.go b/x/finality/keeper/params_test.go index b34d260d5..649fd3eda 100644 --- a/x/finality/keeper/params_test.go +++ b/x/finality/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/finality/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/stretchr/testify/require" ) diff --git a/x/finality/keeper/public_randomness.go b/x/finality/keeper/public_randomness.go index a46a630fd..68cb87e84 100644 --- a/x/finality/keeper/public_randomness.go +++ b/x/finality/keeper/public_randomness.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/finality/keeper/query.go b/x/finality/keeper/query.go index 8d23eb5b1..43483804f 100644 --- a/x/finality/keeper/query.go +++ b/x/finality/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/finality/keeper/query_params.go b/x/finality/keeper/query_params.go index 6d3d896f0..a24021da4 100644 --- a/x/finality/keeper/query_params.go +++ b/x/finality/keeper/query_params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/finality/keeper/query_params_test.go b/x/finality/keeper/query_params_test.go index 857747a54..2bdbfcc07 100644 --- a/x/finality/keeper/query_params_test.go +++ b/x/finality/keeper/query_params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/finality/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/stretchr/testify/require" ) diff --git a/x/finality/keeper/signing_info.go b/x/finality/keeper/signing_info.go index 80d80cc82..85fb5f605 100644 --- a/x/finality/keeper/signing_info.go +++ b/x/finality/keeper/signing_info.go @@ -8,8 +8,8 @@ import ( errorsmod "cosmossdk.io/errors" "github.com/bits-and-blooms/bitset" - bbntypes "github.com/babylonchain/babylon/types" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" ) // GetMissedBlockBitmapValue returns true if a finality provider missed signing diff --git a/x/finality/keeper/tallying.go b/x/finality/keeper/tallying.go index 6a10d4afa..9af4c6fec 100644 --- a/x/finality/keeper/tallying.go +++ b/x/finality/keeper/tallying.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/finality/keeper/tallying_bench_test.go b/x/finality/keeper/tallying_bench_test.go index 1e93139d9..abe4c38ca 100644 --- a/x/finality/keeper/tallying_bench_test.go +++ b/x/finality/keeper/tallying_bench_test.go @@ -8,11 +8,11 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" ) diff --git a/x/finality/keeper/tallying_test.go b/x/finality/keeper/tallying_test.go index 6605afc50..881985136 100644 --- a/x/finality/keeper/tallying_test.go +++ b/x/finality/keeper/tallying_test.go @@ -5,12 +5,12 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" diff --git a/x/finality/keeper/votes.go b/x/finality/keeper/votes.go index ffc13a8dc..8014fa751 100644 --- a/x/finality/keeper/votes.go +++ b/x/finality/keeper/votes.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/finality/keeper/votes_bench_test.go b/x/finality/keeper/votes_bench_test.go index ec35ffcdc..2f78a75c4 100644 --- a/x/finality/keeper/votes_bench_test.go +++ b/x/finality/keeper/votes_bench_test.go @@ -8,11 +8,11 @@ import ( "time" "cosmossdk.io/core/header" - "github.com/babylonchain/babylon/testutil/datagen" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" ) diff --git a/x/finality/module.go b/x/finality/module.go index 81a1f8df0..1ab4e359e 100644 --- a/x/finality/module.go +++ b/x/finality/module.go @@ -11,9 +11,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/finality/client/cli" - "github.com/babylonchain/babylon/x/finality/keeper" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/client/cli" + "github.com/babylonlabs-io/babylon/x/finality/keeper" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/finality/types/events.go b/x/finality/types/events.go index 6e16582b4..6c6f400ca 100644 --- a/x/finality/types/events.go +++ b/x/finality/types/events.go @@ -1,6 +1,6 @@ package types -import "github.com/babylonchain/babylon/types" +import "github.com/babylonlabs-io/babylon/types" func NewEventSlashedFinalityProvider(evidence *Evidence) *EventSlashedFinalityProvider { return &EventSlashedFinalityProvider{ diff --git a/x/finality/types/events.pb.go b/x/finality/types/events.pb.go index 1f7fdd4b7..b6d9a35f6 100644 --- a/x/finality/types/events.pb.go +++ b/x/finality/types/events.pb.go @@ -172,7 +172,7 @@ func init() { func init() { proto.RegisterFile("babylon/finality/v1/events.proto", fileDescriptor_c34c03aae5e3e6bf) } var fileDescriptor_c34c03aae5e3e6bf = []byte{ - // 250 bytes of a gzipped FileDescriptorProto + // 252 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0xcb, 0xcc, 0x4b, 0xcc, 0xc9, 0x2c, 0xa9, 0xd4, 0x2f, 0x33, 0xd4, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xaa, @@ -183,12 +183,12 @@ var fileDescriptor_c34c03aae5e3e6bf = []byte{ 0x51, 0x10, 0x5c, 0xb9, 0x92, 0x1b, 0x97, 0x2a, 0xd4, 0xe8, 0xd2, 0xf4, 0xf4, 0xcc, 0xe2, 0x0c, 0x74, 0xb3, 0x5d, 0x52, 0x4b, 0x52, 0x93, 0x4b, 0x52, 0x53, 0x84, 0x64, 0xb9, 0xb8, 0x0a, 0x4a, 0x93, 0x72, 0x32, 0x93, 0xe3, 0xb3, 0x53, 0x2b, 0xc1, 0xb6, 0x70, 0x06, 0x71, 0x42, 0x44, 0xbc, - 0x53, 0x2b, 0x09, 0x9a, 0x13, 0x94, 0x5a, 0x96, 0x5a, 0x44, 0xd8, 0x1c, 0x27, 0xaf, 0x13, 0x8f, + 0x53, 0x2b, 0x09, 0x9a, 0x13, 0x94, 0x5a, 0x96, 0x5a, 0x44, 0xd8, 0x1c, 0x27, 0x9f, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, - 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, - 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x7a, 0x2e, 0x39, 0x23, 0x31, 0x33, 0x0f, 0xc6, 0xd1, 0xaf, 0x40, - 0x04, 0x61, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xf4, 0x8c, 0x01, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x62, 0xf7, 0x2c, 0xf5, 0x9a, 0x01, 0x00, 0x00, + 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4a, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, + 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x7a, 0x2e, 0x27, 0x31, 0xa9, 0x58, 0x37, 0x33, 0x1f, 0xc6, 0xd5, + 0xaf, 0x40, 0x04, 0x62, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xfc, 0x8c, 0x01, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x58, 0x3c, 0x4f, 0x58, 0x9c, 0x01, 0x00, 0x00, } func (m *EventSlashedFinalityProvider) Marshal() (dAtA []byte, err error) { diff --git a/x/finality/types/expected_keepers.go b/x/finality/types/expected_keepers.go index 1be3bdab0..f4d6e58d9 100644 --- a/x/finality/types/expected_keepers.go +++ b/x/finality/types/expected_keepers.go @@ -3,8 +3,8 @@ package types import ( "context" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) type BTCStakingKeeper interface { diff --git a/x/finality/types/finality.go b/x/finality/types/finality.go index 9c40441a9..1338273cf 100644 --- a/x/finality/types/finality.go +++ b/x/finality/types/finality.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/babylonchain/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/crypto/eots" "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/finality/types/finality.pb.go b/x/finality/types/finality.pb.go index 466fe2bd9..8d2eb5f4b 100644 --- a/x/finality/types/finality.pb.go +++ b/x/finality/types/finality.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -160,11 +160,11 @@ func (m *PubRandCommit) GetCommitment() []byte { // signatures with correct public randomness on two conflicting Babylon headers type Evidence struct { // fp_btc_pk is the BTC PK of the finality provider that casts this vote - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // block_height is the height of the conflicting blocks BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // pub_rand is the public randomness the finality provider has committed to - PubRand *github_com_babylonchain_babylon_types.SchnorrPubRand `protobuf:"bytes,3,opt,name=pub_rand,json=pubRand,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrPubRand" json:"pub_rand,omitempty"` + PubRand *github_com_babylonlabs_io_babylon_types.SchnorrPubRand `protobuf:"bytes,3,opt,name=pub_rand,json=pubRand,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrPubRand" json:"pub_rand,omitempty"` // canonical_app_hash is the AppHash of the canonical block CanonicalAppHash []byte `protobuf:"bytes,4,opt,name=canonical_app_hash,json=canonicalAppHash,proto3" json:"canonical_app_hash,omitempty"` // fork_app_hash is the AppHash of the fork block @@ -173,10 +173,10 @@ type Evidence struct { // where finality signature is an EOTS signature, i.e., // the `s` in a Schnorr signature `(r, s)` // `r` is the public randomness that is already committed by the finality provider - CanonicalFinalitySig *github_com_babylonchain_babylon_types.SchnorrEOTSSig `protobuf:"bytes,6,opt,name=canonical_finality_sig,json=canonicalFinalitySig,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrEOTSSig" json:"canonical_finality_sig,omitempty"` + CanonicalFinalitySig *github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig `protobuf:"bytes,6,opt,name=canonical_finality_sig,json=canonicalFinalitySig,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" json:"canonical_finality_sig,omitempty"` // fork_finality_sig is the finality signature to the fork block // where finality signature is an EOTS signature - ForkFinalitySig *github_com_babylonchain_babylon_types.SchnorrEOTSSig `protobuf:"bytes,7,opt,name=fork_finality_sig,json=forkFinalitySig,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrEOTSSig" json:"fork_finality_sig,omitempty"` + ForkFinalitySig *github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig `protobuf:"bytes,7,opt,name=fork_finality_sig,json=forkFinalitySig,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" json:"fork_finality_sig,omitempty"` } func (m *Evidence) Reset() { *m = Evidence{} } @@ -237,7 +237,7 @@ func (m *Evidence) GetForkAppHash() []byte { // liveness activity. type FinalityProviderSigningInfo struct { // fp_btc_pk is the BTC PK of the finality provider that casts this vote - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // start_height is the block height at which finality provider become active StartHeight int64 `protobuf:"varint,2,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` // missed_blocks_counter defines a counter to avoid unnecessary array reads. @@ -304,41 +304,41 @@ func init() { } var fileDescriptor_ca5b87e52e3e6d02 = []byte{ - // 533 bytes of a gzipped FileDescriptorProto + // 539 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4d, 0x6f, 0xd3, 0x30, - 0x18, 0x6e, 0x68, 0x69, 0x3b, 0x37, 0x13, 0x90, 0x8d, 0xa9, 0x7c, 0x28, 0x2b, 0x39, 0xf5, 0x80, - 0xda, 0x7d, 0x09, 0x71, 0x25, 0xd3, 0xd0, 0x0a, 0x07, 0x2a, 0x87, 0x13, 0x17, 0xcb, 0x71, 0xdc, - 0xc4, 0x6a, 0x63, 0x5b, 0x89, 0x53, 0xad, 0xfc, 0x0a, 0x7e, 0xd6, 0x8e, 0x3b, 0xa2, 0x1d, 0x26, - 0xd4, 0xfe, 0x0f, 0x84, 0xe2, 0xa4, 0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16, 0x04, 0x3b, - 0x13, 0x89, 0x7c, 0x45, 0x90, 0x9c, 0x6a, 0x3a, 0xd3, 0x7d, 0x73, 0x7b, 0x77, 0x78, 0x12, 0x32, - 0x15, 0x65, 0xfe, 0x80, 0x88, 0x78, 0x58, 0x2e, 0x8c, 0x44, 0x98, 0xf1, 0xf5, 0x61, 0xa8, 0x16, - 0x92, 0xa6, 0x03, 0x77, 0x34, 0x3e, 0x3d, 0x3b, 0x1a, 0x67, 0xfe, 0x47, 0xba, 0x80, 0xad, 0x89, - 0x74, 0x15, 0x19, 0x4f, 0x73, 0x17, 0x7e, 0xbe, 0xb0, 0xb5, 0x8b, 0x42, 0x62, 0x47, 0xd7, 0x4a, - 0x17, 0x1e, 0x68, 0x57, 0x0e, 0xb4, 0x42, 0xf7, 0xed, 0xed, 0xdd, 0xe1, 0xd9, 0x9f, 0xb1, 0x7a, - 0x24, 0xe2, 0x22, 0x49, 0x4a, 0xbf, 0xb0, 0x25, 0x4b, 0xe3, 0xaf, 0x81, 0x45, 0x30, 0x17, 0x9c, - 0x11, 0x3c, 0x43, 0xd5, 0x8d, 0x34, 0xf4, 0x02, 0x1e, 0x57, 0x9d, 0x77, 0xe5, 0xd5, 0x38, 0x60, - 0x77, 0x22, 0x92, 0xe9, 0x66, 0xf0, 0xa1, 0x1e, 0xec, 0xe4, 0xc5, 0xf5, 0x0c, 0x07, 0x07, 0x1b, - 0xc4, 0x75, 0x60, 0x50, 0xca, 0xc2, 0x6e, 0xf3, 0x2f, 0x45, 0x5f, 0x7c, 0xfa, 0xec, 0x79, 0x2c, - 0x84, 0xfb, 0x15, 0xee, 0xfb, 0x12, 0xd6, 0x63, 0xa1, 0x15, 0x80, 0x27, 0x5a, 0xd3, 0x16, 0x55, - 0xeb, 0x1f, 0xa9, 0x1e, 0xe5, 0x90, 0xf7, 0x58, 0x9c, 0x6b, 0x03, 0xbc, 0x58, 0x9f, 0xc7, 0x89, - 0xc8, 0xa3, 0x90, 0x78, 0x2c, 0x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0x3e, 0x54, 0x89, 0x11, 0xd0, 0x63, 0x29, 0x95, 0x38, 0x51, 0x41, 0xa9, 0x3b, 0x3b, + 0x79, 0x53, 0xfd, 0x94, 0xe2, 0x24, 0x6f, 0xd9, 0x1f, 0xbe, 0x2f, 0x4d, 0xed, 0x72, 0x69, 0x6a, + 0xbf, 0x96, 0xa6, 0xf6, 0x6d, 0x65, 0xd6, 0x2e, 0x57, 0x66, 0xed, 0xe7, 0xca, 0xac, 0x7d, 0x3e, + 0xfc, 0xb3, 0xde, 0x8b, 0xf5, 0x8b, 0xa1, 0xa4, 0xbb, 0x4d, 0xf5, 0x02, 0x1c, 0xfd, 0x0e, 0x00, + 0x00, 0xff, 0xff, 0xb1, 0x31, 0x31, 0x81, 0x52, 0x04, 0x00, 0x00, } func (m *IndexedBlock) Marshal() (dAtA []byte, err error) { @@ -974,7 +974,7 @@ func (m *Evidence) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1028,7 +1028,7 @@ func (m *Evidence) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.SchnorrPubRand + var v github_com_babylonlabs_io_babylon_types.SchnorrPubRand m.PubRand = &v if err := m.PubRand.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1131,7 +1131,7 @@ func (m *Evidence) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.SchnorrEOTSSig + var v github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig m.CanonicalFinalitySig = &v if err := m.CanonicalFinalitySig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1166,7 +1166,7 @@ func (m *Evidence) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.SchnorrEOTSSig + var v github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig m.ForkFinalitySig = &v if err := m.ForkFinalitySig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1251,7 +1251,7 @@ func (m *FinalityProviderSigningInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/finality/types/genesis.pb.go b/x/finality/types/genesis.pb.go index 596eaf57b..6707ca5ab 100644 --- a/x/finality/types/genesis.pb.go +++ b/x/finality/types/genesis.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -141,10 +141,10 @@ type VoteSig struct { // block_height is the height of the voted block. BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // fp_btc_pk is the BTC PK of the finality provider that casts this vote - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // finality_sig is the finality signature to this block // where finality signature is an EOTS signature, i.e. - FinalitySig *github_com_babylonchain_babylon_types.SchnorrEOTSSig `protobuf:"bytes,3,opt,name=finality_sig,json=finalitySig,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrEOTSSig" json:"finality_sig,omitempty"` + FinalitySig *github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig `protobuf:"bytes,3,opt,name=finality_sig,json=finalitySig,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" json:"finality_sig,omitempty"` } func (m *VoteSig) Reset() { *m = VoteSig{} } @@ -192,9 +192,9 @@ type PublicRandomness struct { // block_height is the height of block which the finality provider submited public randomness. BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // fp_btc_pk is the BTC PK of the finality provider that casts this vote. - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // pub_rand is the public randomness the finality provider has committed to. - PubRand *github_com_babylonchain_babylon_types.SchnorrPubRand `protobuf:"bytes,3,opt,name=pub_rand,json=pubRand,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrPubRand" json:"pub_rand,omitempty"` + PubRand *github_com_babylonlabs_io_babylon_types.SchnorrPubRand `protobuf:"bytes,3,opt,name=pub_rand,json=pubRand,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrPubRand" json:"pub_rand,omitempty"` } func (m *PublicRandomness) Reset() { *m = PublicRandomness{} } @@ -240,7 +240,7 @@ func (m *PublicRandomness) GetBlockHeight() uint64 { // PubRandCommitWithPK is the public randomness commitment with the finality provider's BTC public key type PubRandCommitWithPK struct { // fp_btc_pk is the BTC PK of the finality provider that commits the public randomness - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // pub_rand_commit is the public randomness commitment PubRandCommit *PubRandCommit `protobuf:"bytes,2,opt,name=pub_rand_commit,json=pubRandCommit,proto3" json:"pub_rand_commit,omitempty"` } @@ -288,7 +288,7 @@ func (m *PubRandCommitWithPK) GetPubRandCommit() *PubRandCommit { // SigningInfo stores finality provider signing info of corresponding BTC public key. type SigningInfo struct { // fp_btc_pk is the BTC PK of the finality provider - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // fp_signing_info represents the signing info of this finality provider. FpSigningInfo FinalityProviderSigningInfo `protobuf:"bytes,2,opt,name=fp_signing_info,json=fpSigningInfo,proto3" json:"fp_signing_info"` } @@ -337,7 +337,7 @@ func (m *SigningInfo) GetFpSigningInfo() FinalityProviderSigningInfo { // BTC public key. type FinalityProviderMissedBlocks struct { // fp_btc_pk is the BTC PK of the finality provider - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // missed_blocks is an array of missed blocks by the finality provider. MissedBlocks []MissedBlock `protobuf:"bytes,2,rep,name=missed_blocks,json=missedBlocks,proto3" json:"missed_blocks"` } @@ -450,51 +450,51 @@ func init() { func init() { proto.RegisterFile("babylon/finality/v1/genesis.proto", fileDescriptor_52dc577f74d797d1) } var fileDescriptor_52dc577f74d797d1 = []byte{ - // 689 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x95, 0x5f, 0x6b, 0xdb, 0x3c, - 0x14, 0xc6, 0xe3, 0x24, 0x4d, 0x52, 0x25, 0x79, 0xdb, 0x57, 0x2d, 0x2f, 0xa6, 0x6f, 0x97, 0xa6, - 0x86, 0x41, 0xae, 0x9c, 0xfe, 0x63, 0xac, 0xf4, 0x2e, 0xa3, 0x5b, 0xdb, 0x30, 0x66, 0xe4, 0xb1, - 0xc1, 0x36, 0x66, 0x6c, 0x47, 0x76, 0x44, 0x63, 0xcb, 0x58, 0x4a, 0x68, 0xbe, 0xc5, 0xbe, 0xcc, - 0xae, 0xc7, 0xee, 0x7a, 0xd9, 0xcb, 0x51, 0xb6, 0x30, 0xda, 0x2f, 0x32, 0x22, 0x3b, 0x8d, 0x97, - 0x7a, 0x6d, 0x19, 0x2b, 0xbb, 0x93, 0x4e, 0x9e, 0xf3, 0xcb, 0x39, 0xd2, 0x73, 0x64, 0xb0, 0x6e, - 0x99, 0xd6, 0xb0, 0x47, 0xfd, 0xa6, 0x43, 0x7c, 0xb3, 0x47, 0xf8, 0xb0, 0x39, 0xd8, 0x6c, 0xba, - 0xd8, 0xc7, 0x8c, 0x30, 0x35, 0x08, 0x29, 0xa7, 0x70, 0x29, 0x96, 0xa8, 0x13,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1f, 0x9f, 0x8f, 0xd6, 0x76, 0xee, 0x86, 0xd5, - 0xed, 0xae, 0x4f, 0xc3, 0x70, 0xff, 0xc5, 0x4b, 0x7d, 0xec, 0x96, 0xf2, 0x84, 0xa6, 0x13, 0x57, - 0x19, 0x49, 0x60, 0x71, 0xd6, 0x03, 0x7f, 0xab, 0x51, 0x1d, 0x94, 0x26, 0x46, 0xfb, 0xed, 0x26, - 0x63, 0xf7, 0xa1, 0x62, 0xec, 0x38, 0xe5, 0xa3, 0x04, 0x96, 0x52, 0x2c, 0xf9, 0x73, 0x03, 0xd2, - 0x9f, 0x69, 0xe0, 0xe8, 0xfa, 0xa4, 0x64, 0xc5, 0x1b, 0xa4, 0xdc, 0x3e, 0x29, 0x33, 0x33, 0xa2, - 0x7c, 0x96, 0x40, 0x39, 0x61, 0xfd, 0x7b, 0xa9, 0xf7, 0x3d, 0x58, 0x70, 0x02, 0x23, 0x39, 0x8a, - 0x71, 0xbd, 0x1b, 0x77, 0x1a, 0x9e, 0xeb, 0x93, 0x59, 0x75, 0x82, 0x44, 0x50, 0xf9, 0x24, 0x81, - 0xd5, 0x9b, 0x26, 0xee, 0x5e, 0x9a, 0x6a, 0xcf, 0xbe, 0x07, 0xd9, 0x1b, 0x1e, 0x97, 0x44, 0x35, - 0xa9, 0xe3, 0xbf, 0x07, 0xca, 0x09, 0x09, 0x5c, 0x06, 0x73, 0xe2, 0x9d, 0x17, 0xb5, 0xe6, 0x50, - 0xb4, 0x81, 0xff, 0x81, 0x42, 0x94, 0x24, 0x4e, 0xaf, 0x84, 0xe2, 0x5d, 0xeb, 0xe8, 0xf4, 0xa2, - 0x26, 0x9d, 0x5d, 0xd4, 0xa4, 0xef, 0x17, 0x35, 0xe9, 0xc3, 0x65, 0x2d, 0x73, 0x76, 0x59, 0xcb, - 0x7c, 0xb9, 0xac, 0x65, 0xde, 0x6c, 0xdc, 0xd6, 0xe0, 0xc9, 0xf4, 0x93, 0x27, 0x7a, 0xb5, 0x0a, - 0xe2, 0x6b, 0xb7, 0xfd, 0x23, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x93, 0x7e, 0xf6, 0x83, 0x07, 0x00, - 0x00, + // 693 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x95, 0xcf, 0x6f, 0xd3, 0x4a, + 0x10, 0xc7, 0xe3, 0x24, 0x4d, 0xd2, 0x4d, 0xf2, 0xda, 0xb7, 0xad, 0x9e, 0xac, 0xbe, 0x92, 0xa6, + 0x96, 0x90, 0x72, 0xc1, 0xe9, 0x2f, 0x21, 0x4a, 0x6f, 0x41, 0x85, 0x96, 0x80, 0xb0, 0x36, 0x05, + 0x24, 0x04, 0x58, 0xb6, 0xb3, 0x76, 0x56, 0x8d, 0xbd, 0x96, 0x77, 0x13, 0x35, 0xff, 0x05, 0xff, + 0x0d, 0x67, 0xc4, 0xa5, 0xc7, 0x1e, 0x51, 0x85, 0x2a, 0x48, 0xff, 0x11, 0x94, 0xb5, 0xd3, 0x98, + 0xd4, 0xb4, 0x95, 0xa0, 0xe2, 0xb6, 0x3b, 0xf9, 0xce, 0x27, 0x33, 0xb3, 0x33, 0x63, 0xb0, 0x6a, + 0x1a, 0xe6, 0xa0, 0x4b, 0xbd, 0xba, 0x4d, 0x3c, 0xa3, 0x4b, 0xf8, 0xa0, 0xde, 0x5f, 0xaf, 0x3b, + 0xd8, 0xc3, 0x8c, 0x30, 0xd5, 0x0f, 0x28, 0xa7, 0x70, 0x21, 0x92, 0xa8, 0x63, 0x89, 0xda, 0x5f, + 0x5f, 0x5a, 0x74, 0xa8, 0x43, 0xc5, 0xef, 0xf5, 0xd1, 0x29, 0x94, 0x2e, 0x55, 0x93, 0x68, 0xbe, + 0x11, 0x18, 0x6e, 0x04, 0x5b, 0x52, 0x92, 0x14, 0x17, 0x60, 0xa1, 0x51, 0xbe, 0x66, 0x41, 0xe9, + 0x49, 0x18, 0x42, 0x8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0x5f, 0x82, 0xc2, 0xb8, + 0xdd, 0x7e, 0x23, 0xd1, 0xa8, 0x0b, 0x51, 0x3e, 0xea, 0x3c, 0xe5, 0xa3, 0x04, 0x16, 0x12, 0x5a, + 0xf3, 0xe7, 0x24, 0xa4, 0x3f, 0x95, 0xc4, 0xd3, 0xcb, 0x33, 0x93, 0x16, 0xdb, 0x48, 0xb9, 0x7e, + 0x66, 0xa6, 0xa6, 0x45, 0xf9, 0x2c, 0x81, 0x62, 0x6c, 0x08, 0x6e, 0x29, 0xe2, 0xf7, 0x60, 0xce, + 0xf6, 0xf5, 0xf8, 0x58, 0x46, 0x11, 0xaf, 0xdd, 0x68, 0x90, 0x2e, 0x4f, 0x69, 0xd9, 0xf6, 0x63, + 0x46, 0xe5, 0x93, 0x04, 0x96, 0xaf, 0x9a, 0xbe, 0x5b, 0x4a, 0xab, 0x39, 0xbd, 0x1d, 0xd2, 0x57, + 0xac, 0x9a, 0x58, 0x3c, 0x89, 0xcb, 0x60, 0x07, 0x14, 0x63, 0x12, 0xb8, 0x08, 0x66, 0xc4, 0xd6, + 0x17, 0xd1, 0x66, 0x50, 0x78, 0x81, 0xff, 0x81, 0x5c, 0xe8, 0x24, 0xea, 0x57, 0x40, 0xd1, 0xad, + 0xf1, 0xec, 0x78, 0x58, 0x91, 0x4e, 0x86, 0x15, 0xe9, 0xdb, 0xb0, 0x22, 0x7d, 0x38, 0xaf, 0xa4, + 0x4e, 0xce, 0x2b, 0xa9, 0x2f, 0xe7, 0x95, 0xd4, 0x9b, 0x8d, 0xeb, 0x53, 0x3c, 0x9a, 0x7c, 0x02, + 0x45, 0xb6, 0x66, 0x4e, 0x7c, 0xfd, 0x36, 0x7f, 0x04, 0x00, 0x00, 0xff, 0xff, 0xae, 0x0d, 0xf5, + 0xca, 0x93, 0x07, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -1485,7 +1485,7 @@ func (m *VoteSig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1520,7 +1520,7 @@ func (m *VoteSig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.SchnorrEOTSSig + var v github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig m.FinalitySig = &v if err := m.FinalitySig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1624,7 +1624,7 @@ func (m *PublicRandomness) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1659,7 +1659,7 @@ func (m *PublicRandomness) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.SchnorrPubRand + var v github_com_babylonlabs_io_babylon_types.SchnorrPubRand m.PubRand = &v if err := m.PubRand.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1744,7 +1744,7 @@ func (m *PubRandCommitWithPK) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1865,7 +1865,7 @@ func (m *SigningInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1983,7 +1983,7 @@ func (m *FinalityProviderMissedBlocks) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/finality/types/genesis_test.go b/x/finality/types/genesis_test.go index 00b8b7c3e..3b1969ff6 100644 --- a/x/finality/types/genesis_test.go +++ b/x/finality/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/finality/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/finality/types/hooks.go b/x/finality/types/hooks.go index 743c6dabc..d87591ab8 100644 --- a/x/finality/types/hooks.go +++ b/x/finality/types/hooks.go @@ -3,7 +3,7 @@ package types import ( "context" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" ) // combine multiple finality hooks, all hook functions are run in array sequence diff --git a/x/finality/types/keys.go b/x/finality/types/keys.go index 532809c4b..055de21d4 100644 --- a/x/finality/types/keys.go +++ b/x/finality/types/keys.go @@ -4,7 +4,7 @@ import ( "cosmossdk.io/collections" "github.com/cosmos/cosmos-sdk/types/address" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" ) const ( diff --git a/x/finality/types/mocked_keepers.go b/x/finality/types/mocked_keepers.go index 157edc91e..c546a68da 100644 --- a/x/finality/types/mocked_keepers.go +++ b/x/finality/types/mocked_keepers.go @@ -8,8 +8,8 @@ import ( context "context" reflect "reflect" - types "github.com/babylonchain/babylon/types" - types0 "github.com/babylonchain/babylon/x/btcstaking/types" + types "github.com/babylonlabs-io/babylon/types" + types0 "github.com/babylonlabs-io/babylon/x/btcstaking/types" gomock "github.com/golang/mock/gomock" ) diff --git a/x/finality/types/msg.go b/x/finality/types/msg.go index 7a1757f27..a92b1bbc9 100644 --- a/x/finality/types/msg.go +++ b/x/finality/types/msg.go @@ -3,7 +3,7 @@ package types import ( fmt "fmt" - "github.com/babylonchain/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/crypto/eots" "github.com/cometbft/cometbft/crypto/merkle" "github.com/cometbft/cometbft/crypto/tmhash" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/finality/types/msg_test.go b/x/finality/types/msg_test.go index 1ea69b6fa..349185828 100644 --- a/x/finality/types/msg_test.go +++ b/x/finality/types/msg_test.go @@ -4,9 +4,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/crypto/eots" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/stretchr/testify/require" ) diff --git a/x/finality/types/params.pb.go b/x/finality/types/params.pb.go index cd6131dc4..cec13955b 100644 --- a/x/finality/types/params.pb.go +++ b/x/finality/types/params.pb.go @@ -101,30 +101,30 @@ func init() { func init() { proto.RegisterFile("babylon/finality/v1/params.proto", fileDescriptor_25539c9a61c72ee9) } var fileDescriptor_25539c9a61c72ee9 = []byte{ - // 359 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x91, 0x31, 0x4b, 0xfb, 0x40, - 0x18, 0xc6, 0x73, 0xff, 0x96, 0x0e, 0xa1, 0xcb, 0x3f, 0x56, 0xa8, 0x15, 0xd2, 0xe0, 0x54, 0x04, - 0x73, 0x2d, 0x82, 0x83, 0x63, 0xe9, 0x24, 0x0e, 0x25, 0x15, 0x04, 0x97, 0x70, 0x49, 0xce, 0xf4, - 0xa5, 0xbd, 0xbb, 0x90, 0x4b, 0x5a, 0xf3, 0x2d, 0x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, 0xc2, - 0x62, 0x44, 0xc3, 0xf7, 0xb7, 0x33, 0xb3, 0x7c, 0xc2, 0x88, 0x86, 0x2f, 0xdf, 0xaf, 0xa7, 0xc8, - 0xb3, 0x18, 0xf0, 0x89, 0xba, 0x73, 0x4c, 0xd3, 0x32, 0x9c, 0x63, 0x36, 0xf7, 0x56, 0x49, 0x1e, - 0xf8, 0x29, 0xe1, 0x51, 0xbb, 0xee, 0xa0, 0x5e, 0xdd, 0x33, 0x19, 0xf0, 0x71, 0x1e, 0x78, 0x84, - 0x47, 0x97, 0xf5, 0xa7, 0xe7, 0xae, 0x31, 0xbc, 0x5a, 0x6d, 0x6d, 0xb4, 0xde, 0xda, 0xe8, 0x6b, - 0x6b, 0xa3, 0xc7, 0x9d, 0x6d, 0xac, 0x77, 0xb6, 0xf1, 0xb1, 0xb3, 0x8d, 0xbb, 0x7e, 0x0c, 0xd9, - 0x34, 0x0f, 0xdc, 0x50, 0x30, 0x5c, 0xce, 0x3f, 0x9c, 0x12, 0xe0, 0x55, 0x81, 0x1f, 0xfe, 0x3e, - 0x2c, 0x2b, 0x12, 0x2a, 0x83, 0x86, 0x1a, 0xea, 0xf9, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb0, - 0x39, 0x84, 0xbb, 0xd1, 0x01, 0x00, 0x00, + // 361 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x91, 0x31, 0x6b, 0xe3, 0x30, + 0x14, 0xc7, 0xad, 0x4b, 0xc8, 0x60, 0xb2, 0x9c, 0x2f, 0x07, 0xb9, 0x1c, 0x38, 0xe6, 0xa6, 0x70, + 0x10, 0xab, 0x69, 0xa1, 0x43, 0xc7, 0x90, 0x31, 0x43, 0x70, 0x0a, 0x85, 0x2e, 0x46, 0xb2, 0x55, + 0xe7, 0x11, 0x4b, 0x32, 0x96, 0x9d, 0xd4, 0xdf, 0xa2, 0x63, 0xc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x91, 0xa0, 0x98, 0xb0, 0xe0, 0xe5, 0x79, 0x68, 0x56, 0x4f, 0x98, 0xb0, 0xe0, 0xf1, 0xe3, 0xe9, + 0x3f, 0xf2, 0x2c, 0x0e, 0x62, 0x5e, 0xde, 0x39, 0x63, 0x69, 0x15, 0xce, 0x31, 0xdb, 0x47, 0xab, + 0x24, 0xa7, 0x7e, 0x4a, 0x44, 0xd8, 0x6d, 0x3a, 0x68, 0xd0, 0xf4, 0x4c, 0x0e, 0x62, 0x96, 0x53, + 0x8f, 0x88, 0xf0, 0xa2, 0x79, 0xff, 0xd0, 0x37, 0xc6, 0xd3, 0xcd, 0xde, 0x46, 0xdb, 0xbd, 0x8d, + 0xde, 0xf7, 0x36, 0xba, 0x3b, 0xd8, 0xc6, 0xf6, 0x60, 0x1b, 0xaf, 0x07, 0xdb, 0xb8, 0x3e, 0x8d, + 0x20, 0x5b, 0xe4, 0xd4, 0x0d, 0x24, 0xc7, 0xd5, 0xfc, 0x63, 0x42, 0xd5, 0x10, 0x64, 0x5d, 0xe2, + 0xdb, 0xef, 0x2f, 0xcb, 0x8a, 0x84, 0x29, 0xda, 0x2a, 0xc7, 0x7a, 0xf6, 0x15, 0x00, 0x00, 0xff, + 0xff, 0xda, 0x3a, 0x9d, 0x97, 0xd3, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/finality/types/query.pb.go b/x/finality/types/query.pb.go index 1f4648346..a0f7f3271 100644 --- a/x/finality/types/query.pb.go +++ b/x/finality/types/query.pb.go @@ -6,7 +6,7 @@ package types import ( context "context" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -207,7 +207,7 @@ func (m *QueryListPublicRandomnessRequest) GetPagination() *query.PageRequest { type QueryListPublicRandomnessResponse struct { // pub_rand_map is the map where the key is the height and the value // is the public randomness at this height for the given finality provider - PubRandMap map[uint64]*github_com_babylonchain_babylon_types.SchnorrPubRand `protobuf:"bytes,1,rep,name=pub_rand_map,json=pubRandMap,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrPubRand" json:"pub_rand_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + PubRandMap map[uint64]*github_com_babylonlabs_io_babylon_types.SchnorrPubRand `protobuf:"bytes,1,rep,name=pub_rand_map,json=pubRandMap,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrPubRand" json:"pub_rand_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -678,7 +678,7 @@ func (m *QueryVotesAtHeightRequest) GetHeight() uint64 { type QueryVotesAtHeightResponse struct { // btc_pk is the Bitcoin secp256k1 PK of finality providers who have signed the block at given height. // the PK follows encoding in BIP-340 spec - BtcPks []github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,1,rep,name=btc_pks,json=btcPks,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pks,omitempty"` + BtcPks []github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,1,rep,name=btc_pks,json=btcPks,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pks,omitempty"` } func (m *QueryVotesAtHeightResponse) Reset() { *m = QueryVotesAtHeightResponse{} } @@ -1123,7 +1123,7 @@ func init() { proto.RegisterType((*QueryParamsResponse)(nil), "babylon.finality.v1.QueryParamsResponse") proto.RegisterType((*QueryListPublicRandomnessRequest)(nil), "babylon.finality.v1.QueryListPublicRandomnessRequest") proto.RegisterType((*QueryListPublicRandomnessResponse)(nil), "babylon.finality.v1.QueryListPublicRandomnessResponse") - proto.RegisterMapType((map[uint64]*github_com_babylonchain_babylon_types.SchnorrPubRand)(nil), "babylon.finality.v1.QueryListPublicRandomnessResponse.PubRandMapEntry") + proto.RegisterMapType((map[uint64]*github_com_babylonlabs_io_babylon_types.SchnorrPubRand)(nil), "babylon.finality.v1.QueryListPublicRandomnessResponse.PubRandMapEntry") proto.RegisterType((*PubRandCommitResponse)(nil), "babylon.finality.v1.PubRandCommitResponse") proto.RegisterType((*QueryListPubRandCommitRequest)(nil), "babylon.finality.v1.QueryListPubRandCommitRequest") proto.RegisterType((*QueryListPubRandCommitResponse)(nil), "babylon.finality.v1.QueryListPubRandCommitResponse") @@ -1147,90 +1147,90 @@ func init() { func init() { proto.RegisterFile("babylon/finality/v1/query.proto", fileDescriptor_32bddab77af6fdae) } var fileDescriptor_32bddab77af6fdae = []byte{ - // 1317 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdf, 0x6f, 0xdb, 0xd4, - 0x17, 0xef, 0xcd, 0xd6, 0x6c, 0x3b, 0x4d, 0xb6, 0xee, 0xae, 0xdb, 0xb7, 0xdf, 0x8c, 0xa5, 0x99, - 0x37, 0xda, 0xd2, 0x0e, 0xbb, 0x4d, 0xcb, 0xd8, 0x06, 0x68, 0x6b, 0xa0, 0xa5, 0x81, 0x2e, 0x0b, - 0x2e, 0x9a, 0xb4, 0x3d, 0x60, 0xec, 0xf4, 0x26, 0xb1, 0x9a, 0xd8, 0x5e, 0xec, 0x44, 0x0d, 0xd3, - 0x24, 0x84, 0xc4, 0x1e, 0x10, 0x48, 0x48, 0xbc, 0xc0, 0xc3, 0x1e, 0xd8, 0x03, 0x2f, 0xfc, 0x1f, - 0x68, 0x8f, 0x15, 0xf0, 0x80, 0x26, 0x51, 0xa1, 0x96, 0x3f, 0x04, 0xe5, 0xde, 0xeb, 0xc4, 0x4e, - 0x9c, 0x1f, 0x2d, 0x11, 0x6f, 0xf6, 0xf5, 0xf9, 0xf1, 0xf9, 0x7c, 0xce, 0xc9, 0xb9, 0xa7, 0x85, - 0x29, 0x4d, 0xd5, 0xea, 0x25, 0xd3, 0x90, 0xf2, 0xba, 0xa1, 0x96, 0x74, 0xa7, 0x2e, 0xd5, 0x16, - 0xa5, 0x47, 0x55, 0x52, 0xa9, 0x8b, 0x56, 0xc5, 0x74, 0x4c, 0x7c, 0x8e, 0x1b, 0x88, 0xae, 0x81, - 0x58, 0x5b, 0x8c, 0x4d, 0x14, 0xcc, 0x82, 0x49, 0xbf, 0x4b, 0x8d, 0x27, 0x66, 0x1a, 0x7b, 0xa5, - 0x60, 0x9a, 0x85, 0x12, 0x91, 0x54, 0x4b, 0x97, 0x54, 0xc3, 0x30, 0x1d, 0xd5, 0xd1, 0x4d, 0xc3, - 0xe6, 0x5f, 0xe7, 0x72, 0xa6, 0x5d, 0x36, 0x6d, 0x49, 0x53, 0x6d, 0xc2, 0x32, 0x48, 0xb5, 0x45, - 0x8d, 0x38, 0xea, 0xa2, 0x64, 0xa9, 0x05, 0xdd, 0xa0, 0xc6, 0xdc, 0x36, 0x11, 0x84, 0xca, 0x52, - 0x2b, 0x6a, 0xd9, 0x8d, 0x26, 0x04, 0x59, 0x34, 0x21, 0x52, 0x1b, 0x61, 0x02, 0xf0, 0x47, 0x8d, - 0x3c, 0x59, 0xea, 0x28, 0x93, 0x47, 0x55, 0x62, 0x3b, 0x42, 0x16, 0xce, 0xf9, 0x4e, 0x6d, 0xcb, - 0x34, 0x6c, 0x82, 0x6f, 0x42, 0x98, 0x25, 0x98, 0x44, 0x09, 0x34, 0x3b, 0x96, 0xbc, 0x28, 0x06, - 0x10, 0x17, 0x99, 0x53, 0xea, 0xf8, 0x8b, 0xbd, 0xa9, 0x11, 0x99, 0x3b, 0x08, 0xdf, 0x20, 0x48, - 0xd0, 0x90, 0x1b, 0xba, 0xed, 0x64, 0xab, 0x5a, 0x49, 0xcf,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x42, 0x2f, 0x35, 0x03, 0x2f, 0x72, 0x61, 0x9a, - 0x82, 0x4f, 0xe0, 0x78, 0x20, 0xf8, 0xd6, 0x9d, 0xfd, 0x13, 0x82, 0x31, 0xcf, 0x74, 0xc7, 0x3d, - 0x7a, 0xa9, 0xf3, 0x36, 0x8e, 0xbd, 0x3e, 0xa0, 0x35, 0x07, 0x75, 0x8b, 0x82, 0x5a, 0xc6, 0xc9, - 0x40, 0x50, 0xbe, 0x3b, 0xab, 0x5d, 0x4c, 0xfc, 0x03, 0x82, 0x88, 0xef, 0x1a, 0x1a, 0x2c, 0x77, - 0x53, 0x41, 0x71, 0x50, 0x73, 0x8e, 0x75, 0x8e, 0x62, 0xbd, 0x8a, 0x85, 0xfe, 0x58, 0x53, 0x1f, - 0xbc, 0xd8, 0x8f, 0xa3, 0xdd, 0xfd, 0x38, 0xfa, 0x6b, 0x3f, 0x8e, 0xbe, 0x3d, 0x88, 0x8f, 0xec, - 0x1e, 0xc4, 0x47, 0xfe, 0x38, 0x88, 0x8f, 0x3c, 0x5c, 0xe8, 0xb7, 0xc2, 0xee, 0xb4, 0xc2, 0xd2, - 0x6d, 0x56, 0x0b, 0xd3, 0xff, 0xd6, 0x2c, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0x75, 0xb1, 0x13, - 0x1f, 0x8b, 0x12, 0x00, 0x00, + // 1318 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdf, 0x6f, 0xdb, 0x54, + 0x14, 0xee, 0xcd, 0xd6, 0x6c, 0x3b, 0x4d, 0xb6, 0xee, 0xae, 0x1b, 0x25, 0xa3, 0x69, 0xea, 0x8d, + 0xb6, 0xb4, 0x9b, 0xbd, 0xa6, 0x65, 0x6c, 0x05, 0xb4, 0x35, 0xd0, 0xd2, 0x88, 0x2e, 0x64, 0x2e, + 0x9a, 0xb4, 0x3d, 0x60, 0xec,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xd6, 0x7d, 0x9a, 0x72, + 0xfd, 0x8a, 0xe0, 0xa4, 0x7b, 0x05, 0xe1, 0x37, 0x3a, 0xa7, 0x6a, 0xb9, 0xfe, 0x63, 0x73, 0xfd, + 0x98, 0x72, 0x40, 0xeb, 0x14, 0x50, 0x0a, 0xdf, 0x3e, 0x6a, 0xc7, 0xb9, 0x37, 0x23, 0xfe, 0x1e, + 0x41, 0xd4, 0x77, 0xdf, 0x76, 0x53, 0x33, 0x68, 0x43, 0xe8, 0xa6, 0x66, 0xe0, 0x45, 0x2e, 0x4c, + 0x53, 0xf0, 0x09, 0x1c, 0x0f, 0x04, 0xdf, 0xbc, 0xb3, 0x7f, 0x41, 0x30, 0xe2, 0x99, 0xee, 0xb8, + 0x4b, 0x2f, 0xb5, 0xdf, 0xc6, 0xb1, 0xab, 0x7d, 0x5a, 0x73, 0x50, 0xcb, 0x14, 0xd4, 0x12, 0x4e, + 0x06, 0x82, 0xf2, 0xdd, 0x59, 0xad, 0x62, 0xe2, 0x1f, 0x10, 0x44, 0x7c, 0xd7, 0x50, 0x7f, 0xb9, + 0x1b, 0x0a, 0x8a, 0xfd, 0x9a, 0x73, 0xac, 0x73, 0x14, 0xeb, 0x65, 0x2c, 0xf4, 0xc6, 0x9a, 0xda, + 0x78, 0xb6, 0x1f, 0x47, 0xcf, 0xf7, 0xe3, 0xe8, 0xef, 0xfd, 0x38, 0xfa, 0xf6, 0x20, 0x3e, 0xf4, + 0xfc, 0x20, 0x3e, 0xf4, 0xe7, 0x41, 0x7c, 0xe8, 0x41, 0xb2, 0xf7, 0x12, 0xbb, 0xdb, 0x0c, 0x4c, + 0xf7, 0x59, 0x2d, 0x4c, 0xff, 0x67, 0xb3, 0xf8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x6c, + 0x72, 0x7b, 0x91, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3129,10 +3129,10 @@ func (m *QueryListPublicRandomnessResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PubRandMap == nil { - m.PubRandMap = make(map[uint64]*github_com_babylonchain_babylon_types.SchnorrPubRand) + m.PubRandMap = make(map[uint64]*github_com_babylonlabs_io_babylon_types.SchnorrPubRand) } var mapkey uint64 - var mapvalue1 github_com_babylonchain_babylon_types.SchnorrPubRand + var mapvalue1 github_com_babylonlabs_io_babylon_types.SchnorrPubRand var mapvalue = &mapvalue1 for iNdEx < postIndex { entryPreIndex := iNdEx @@ -3213,7 +3213,7 @@ func (m *QueryListPublicRandomnessResponse) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - m.PubRandMap[mapkey] = ((*github_com_babylonchain_babylon_types.SchnorrPubRand)(mapvalue)) + m.PubRandMap[mapkey] = ((*github_com_babylonlabs_io_babylon_types.SchnorrPubRand)(mapvalue)) iNdEx = postIndex case 2: if wireType != 2 { @@ -4201,7 +4201,7 @@ func (m *QueryVotesAtHeightResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPks = append(m.BtcPks, v) if err := m.BtcPks[len(m.BtcPks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/finality/types/signing_info.go b/x/finality/types/signing_info.go index 9d0f41b90..72cbe4cd1 100644 --- a/x/finality/types/signing_info.go +++ b/x/finality/types/signing_info.go @@ -1,7 +1,7 @@ package types import ( - bbntypes "github.com/babylonchain/babylon/types" + bbntypes "github.com/babylonlabs-io/babylon/types" ) // NewFinalityProviderSigningInfo creates a new FinalityProviderSigningInfo instance diff --git a/x/finality/types/tx.pb.go b/x/finality/types/tx.pb.go index ae1564fc9..a4768d48e 100644 --- a/x/finality/types/tx.pb.go +++ b/x/finality/types/tx.pb.go @@ -6,7 +6,7 @@ package types import ( context "context" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" crypto "github.com/cometbft/cometbft/proto/tendermint/crypto" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" @@ -36,7 +36,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgCommitPubRandList struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // fp_btc_pk is the BTC PK of the finality provider that commits the public randomness - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // start_height is the start block height of the list of public randomness StartHeight uint64 `protobuf:"varint,3,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` // num_pub_rand is the number of public randomness committed @@ -49,7 +49,7 @@ type MsgCommitPubRandList struct { // randomness on behalf of fp_btc_pk // TODO: another option is to restrict signer to correspond to fp_btc_pk. This restricts // the tx submitter to be the holder of fp_btc_pk. Decide this later - Sig *github_com_babylonchain_babylon_types.BIP340Signature `protobuf:"bytes,6,opt,name=sig,proto3,customtype=github.com/babylonchain/babylon/types.BIP340Signature" json:"sig,omitempty"` + Sig *github_com_babylonlabs_io_babylon_types.BIP340Signature `protobuf:"bytes,6,opt,name=sig,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340Signature" json:"sig,omitempty"` } func (m *MsgCommitPubRandList) Reset() { *m = MsgCommitPubRandList{} } @@ -154,11 +154,11 @@ var xxx_messageInfo_MsgCommitPubRandListResponse proto.InternalMessageInfo type MsgAddFinalitySig struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // fp_btc_pk is the BTC PK of the finality provider that casts this vote - FpBtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` + FpBtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,2,opt,name=fp_btc_pk,json=fpBtcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"fp_btc_pk,omitempty"` // block_height is the height of the voted block BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // pub_rand is the public randomness committed at this height - PubRand *github_com_babylonchain_babylon_types.SchnorrPubRand `protobuf:"bytes,4,opt,name=pub_rand,json=pubRand,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrPubRand" json:"pub_rand,omitempty"` + PubRand *github_com_babylonlabs_io_babylon_types.SchnorrPubRand `protobuf:"bytes,4,opt,name=pub_rand,json=pubRand,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrPubRand" json:"pub_rand,omitempty"` // proof is the proof that the given public randomness is committed under the commitment Proof *crypto.Proof `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"` // block_app_hash is the AppHash of the voted block @@ -167,7 +167,7 @@ type MsgAddFinalitySig struct { // where finality signature is an EOTS signature, i.e., // the `s` in a Schnorr signature `(r, s)` // `r` is the public randomness that is already committed by the finality provider - FinalitySig *github_com_babylonchain_babylon_types.SchnorrEOTSSig `protobuf:"bytes,7,opt,name=finality_sig,json=finalitySig,proto3,customtype=github.com/babylonchain/babylon/types.SchnorrEOTSSig" json:"finality_sig,omitempty"` + FinalitySig *github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig `protobuf:"bytes,7,opt,name=finality_sig,json=finalitySig,proto3,customtype=github.com/babylonlabs-io/babylon/types.SchnorrEOTSSig" json:"finality_sig,omitempty"` } func (m *MsgAddFinalitySig) Reset() { *m = MsgAddFinalitySig{} } @@ -377,52 +377,52 @@ func init() { func init() { proto.RegisterFile("babylon/finality/v1/tx.proto", fileDescriptor_2dd6da066b6baf1d) } var fileDescriptor_2dd6da066b6baf1d = []byte{ - // 712 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0x4f, 0x4f, 0x13, 0x4d, - 0x1c, 0xee, 0x52, 0x28, 0x2f, 0xd3, 0x86, 0x37, 0xec, 0x4b, 0x5e, 0x96, 0x82, 0xdb, 0xda, 0x10, - 0x83, 0x44, 0x77, 0xa1, 0x20, 0x11, 0x6e, 0xd4, 0x68, 0x50, 0x6c, 0x6c, 0xb6, 0x7a, 0xd1, 0xc3, - 0x66, 0xff, 0x75, 0x76, 0x02, 0x3b, 0x33, 0xee, 0xcc, 0x12, 0x7a, 0x33, 0x7e, 0x02, 0x0f, 0x7e, - 0x10, 0x0e, 0x26, 0x9e, 0xbd, 0x71, 0x31, 0x21, 0x9e, 0x0c, 0x87, 0xc6, 0xc0, 0x81, 0xaf, 0x61, - 0x76, 0x77, 0x4a, 0x29, 0x94, 0x58, 0x3d, 0x78, 0xdb, 0x99, 0xdf, 0x33, 0xf3, 0x3c, 0xfb, 0x7b, - 0x9e, 0xdf, 0x80, 0x79, 0xdb, 0xb2, 0xdb, 0x7b, 0x04, 0xeb, 0x2d, 0x84, 0xad, 0x3d, 0xc4, 0xdb, - 0xfa, 0xfe, 0x8a, 0xce, 0x0f, 0x34, 0x1a, 0x12, 0x4e, 0xe4, 0xff, 0x44, 0x55, 0xeb, 0x56, 0xb5, - 0xfd, 0x95, 0xe2, 0x34, 0x24, 0x90, 0x24, 0x75, 0x3d, 0xfe, 0x4a, 0xa1, 0xc5, 0x5b, 0xdc, 0xc3, - 0xae, 0x17, 0x06, 0x08, 0x73, 0xdd, 0x09, 0xdb, 0x94, 0x13, 0x9d, 0x86,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0x00, 0x00, 0xff, 0xff, - 0x95, 0x73, 0xec, 0x64, 0x4f, 0x06, 0x00, 0x00, + // 714 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0x4f, 0x4f, 0x13, 0x4f, + 0x18, 0xee, 0x52, 0x28, 0x3f, 0xa6, 0x0d, 0xbf, 0xb0, 0x12, 0x59, 0x0a, 0x6e, 0x6b, 0x43, 0x0c, + 0x12, 0xd9, 0x95, 0x42, 0x50, 0xf1, 0x44, 0x8d, 0x06, 0x23, 0x8d, 0xcd, 0x16, 0x2e, 0x26, 0x66, + 0xb3, 0xff, 0x3a, 0x3b, 0xa1, 0xbb, 0x33, 0xce, 0xcc, 0x12, 0x7a, 0x33, 0x7e, 0x02, 0x0f, 0x7e, + 0x10, 0x0e, 0x5e, 0x3d, 0x9a, 0x70, 0x31, 0x21, 0x9e, 0x0c, 0x87, 0xc6, 0xc0, 0x81, 0xaf, 0x61, + 0xba, 0x3b, 0xa5, 0x14, 0x4a, 0xac, 0x1e, 0xbc, 0xed, 0xbc, 0xef, 0xf3, 0xce, 0xf3, 0xec, 0xfb, + 0xbc, 0xef, 0x80, 0x79, 0xdb, 0xb2, 0x5b, 0x4d, 0x1c, 0xea, 0x0d, 0x14, 0x5a, 0x4d, 0xc4, 0x5b, + 0xfa, 0xfe, 0x8a, 0xce, 0x0f, 0x34, 0x42, 0x31, 0xc7, 0xf2, 0x2d, 0x91, 0xd5, 0xba, 0x59, 0x6d, + 0x7f, 0x25, 0x3f, 0x0d, 0x31, 0xc4, 0x71, 0x5e, 0xef, 0x7c, 0x25, 0xd0, 0xfc, 0x1d, 0xee, 0x85, + 0xae, 0x47, 0x03, 0x14, 0x72, 0xdd, 0xa1, 0x2d, 0xc2, 0xb1, 0x4e, 0x28, 0xc6, 0x0d, 0x91, 0x9e, + 0x75, 0x30, 0x0b, 0x30, 0x33, 0x93, 0xba, 0xe4, 0x20, 0x52, 0x33, 0xc9, 0x49, 0x0f, 0x18, 0xec, + 0x90, 0x07, 0x0c, 0x8a, 0x44, 0x71, 0x90, 0x36, 0x62, 0x51, 0x2b, 0x10, 0xa5, 0xa5, 0xaf, 0x23, + 0x60, 0xba, 0xca, 0xe0, 0x33, 0x1c, 0x04, 0x88, 0xd7, 0x22, 0xdb, 0xb0, 0x42, 0x77, 0x1b, 0x31, + 0x2e, 0xdf, 0x06, 0x19, 0x86, 0x60, 0xe8, 0x51, 0x45, 0x2a, 0x4a, 0x8b, 0x13, 0x86, 0x38, 0xc9, + 0x3b, 0x60, 0xa2, 0x41, 0x4c, 0x9b, 0x3b, 0x26, 0xd9, 0x53, 0x46, 0x8a, 0xd2, 0x62, 0xae, 0xf2, + 0xf8, 0xa4, 0x5d, 0x58, 0x83, 0x88, 0xfb, 0x91, 0xad, 0x39, 0x38, 0xd0, 0x05, 0x69, 0xd3, 0xb2, + 0xd9, 0x32, 0xc2, 0xdd, 0xa3, 0xce, 0x5b, 0xc4, 0x63, 0x5a, 0xe5, 0x65, 0x6d, 0x75, 0xed, 0x61, + 0x2d, 0xb2, 0x5f, 0x79, 0x2d, 0x63, 0xbc, 0x41, 0x2a, 0xdc, 0xa9, 0xed, 0xc9, 0x77, 0x41, 0x8e, + 0x71, 0x8b, 0x72, 0xd3, 0xf7, 0x10, 0xf4, 0xb9, 0x92, 0x2e, 0x4a, 0x8b, 0xa3, 0x46, 0x36, 0x8e, + 0x6d, 0xc5, 0x21, 0xb9, 0x08, 0x72, 0x61, 0x14, 0x98, 0x24, 0xb2, 0x4d, 0x6a, 0x85, 0xae, 0x32, + 0x1a, 0x43, 0x40, 0x18, 0x05, 0x42, 0xb6, 0xac, 0x02, 0xe0, 0xc4, 0xff, 0x11, 0x78, 0x21, 0x57, + 0xc6, 0x3a, 0xda, 0x8c, 0x4b, 0x11, 0xb9, 0x0a, 0xd2, 0x0c, 0x41, 0x25, 0x13, 0x8b, 0x7e, 0x7a, + 0xd2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 0x56, 0xe2, 0x6e, 0x45, 0xf9, 0xfe, 0x79, 0x79, + 0x5a, 0x2c, 0xee, 0xa6, 0xeb, 0x52, 0x8f, 0xb1, 0x3a, 0xa7, 0x28, 0x84, 0x46, 0x0f, 0x2a, 0x3f, + 0x01, 0x99, 0x64, 0x41, 0x63, 0xdf, 0xb3, 0xe5, 0x39, 0x6d, 0xc0, 0x0b, 0xa2, 0x25, 0x24, 0x95, + 0xd1, 0xa3, 0x76, 0x21, 0x65, 0x88, 0x82, 0x8d, 0xc9, 0x8e, 0xe0, 0xde, 0x55, 0xa5, 0x59, 0x30, + 0x73, 0x45, 0x55, 0x57, 0x71, 0xf9, 0xdb, 0x08, 0x48, 0x57, 0x19, 0x94, 0xdf, 0x81, 0xa9, 0xeb, + 0xab, 0x7f, 0x7f, 0x20, 0xe5, 0xa0, 0xf1, 0xce, 0xaf, 0x0c, 0x0d, 0xed, 0x52, 0xcb, 0x3e, 0x98, + 0xbc, 0xb2, 0x05, 0xf7, 0x6e, 0xba, 0xa4, 0x1f, 0x97, 0xd7, 0x86, 0xc3, 0x5d, 0x30, 0xd9, 0x20, + 0xd7, 0x67, 0xc9, 0xc2, 0x4d, 0xf5, 0x97, 0x51, 0xf9, 0x07, 0xc3, 0xa0, 0xba, 0x1c, 0xf9, 0xb1, + 0xf7, 0xe7, 0x87, 0x4b, 0x52, 0x65, 0xfb, 0xe8, 0x54, 0x95, 0x8e, 0x4f, 0x55, 0xe9, 0xe7, 0xa9, + 0x2a, 0x7d, 0x3c, 0x53, 0x53, 0xc7, 0x67, 0x6a, 0xea, 0xc7, 0x99, 0x9a, 0x7a, 0x53, 0xfe, 0xfd, + 0x28, 0x1e, 0xf4, 0x9e, 0xe7, 0x78, 0x2a, 0xed, 0x4c, 0xfc, 0x36, 0xaf, 0xfe, 0x0a, 0x00, 0x00, + 0xff, 0xff, 0x0a, 0x87, 0xfa, 0xed, 0x5b, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1071,7 +1071,7 @@ func (m *MsgCommitPubRandList) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1178,7 +1178,7 @@ func (m *MsgCommitPubRandList) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340Signature + var v github_com_babylonlabs_io_babylon_types.BIP340Signature m.Sig = &v if err := m.Sig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1345,7 +1345,7 @@ func (m *MsgAddFinalitySig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.FpBtcPk = &v if err := m.FpBtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1399,7 +1399,7 @@ func (m *MsgAddFinalitySig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.SchnorrPubRand + var v github_com_babylonlabs_io_babylon_types.SchnorrPubRand m.PubRand = &v if err := m.PubRand.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -1504,7 +1504,7 @@ func (m *MsgAddFinalitySig) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.SchnorrEOTSSig + var v github_com_babylonlabs_io_babylon_types.SchnorrEOTSSig m.FinalitySig = &v if err := m.FinalitySig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/incentive/abci.go b/x/incentive/abci.go index 66cdb7da9..7967e1f43 100644 --- a/x/incentive/abci.go +++ b/x/incentive/abci.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/babylonchain/babylon/x/incentive/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/incentive/client/cli/query.go b/x/incentive/client/cli/query.go index de89a08d9..7831a6d71 100644 --- a/x/incentive/client/cli/query.go +++ b/x/incentive/client/cli/query.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" diff --git a/x/incentive/client/cli/query_params.go b/x/incentive/client/cli/query_params.go index f6c20a168..377f02715 100644 --- a/x/incentive/client/cli/query_params.go +++ b/x/incentive/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/incentive/client/cli/tx.go b/x/incentive/client/cli/tx.go index d039820c2..b3f12788d 100644 --- a/x/incentive/client/cli/tx.go +++ b/x/incentive/client/cli/tx.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" diff --git a/x/incentive/genesis.go b/x/incentive/genesis.go index 1122dbdba..a078143ca 100644 --- a/x/incentive/genesis.go +++ b/x/incentive/genesis.go @@ -2,8 +2,8 @@ package incentive import ( "context" - "github.com/babylonchain/babylon/x/incentive/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/incentive/genesis_test.go b/x/incentive/genesis_test.go index bb3f7e509..7bd9ca000 100644 --- a/x/incentive/genesis_test.go +++ b/x/incentive/genesis_test.go @@ -3,10 +3,10 @@ package incentive_test import ( "testing" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/testutil/nullify" - "github.com/babylonchain/babylon/x/incentive" - "github.com/babylonchain/babylon/x/incentive/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/nullify" + "github.com/babylonlabs-io/babylon/x/incentive" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/stretchr/testify/require" ) diff --git a/x/incentive/keeper/btc_staking_gauge.go b/x/incentive/keeper/btc_staking_gauge.go index 481cf9b63..4992ef782 100644 --- a/x/incentive/keeper/btc_staking_gauge.go +++ b/x/incentive/keeper/btc_staking_gauge.go @@ -4,8 +4,8 @@ import ( "context" "cosmossdk.io/store/prefix" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/incentive/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/incentive/keeper/btc_staking_gauge_test.go b/x/incentive/keeper/btc_staking_gauge_test.go index bd7585324..957886b93 100644 --- a/x/incentive/keeper/btc_staking_gauge_test.go +++ b/x/incentive/keeper/btc_staking_gauge_test.go @@ -4,9 +4,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" diff --git a/x/incentive/keeper/btc_timestamping_gauge.go b/x/incentive/keeper/btc_timestamping_gauge.go index 96e5b28a7..d4ed4f01d 100644 --- a/x/incentive/keeper/btc_timestamping_gauge.go +++ b/x/incentive/keeper/btc_timestamping_gauge.go @@ -4,8 +4,8 @@ import ( "context" "cosmossdk.io/math" "cosmossdk.io/store/prefix" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - "github.com/babylonchain/babylon/x/incentive/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/incentive/keeper/btc_timestamping_gauge_test.go b/x/incentive/keeper/btc_timestamping_gauge_test.go index 3b42cae19..84d962b65 100644 --- a/x/incentive/keeper/btc_timestamping_gauge_test.go +++ b/x/incentive/keeper/btc_timestamping_gauge_test.go @@ -5,9 +5,9 @@ import ( "testing" "cosmossdk.io/math" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" diff --git a/x/incentive/keeper/grpc_query.go b/x/incentive/keeper/grpc_query.go index 341359b7d..3f1274d3b 100644 --- a/x/incentive/keeper/grpc_query.go +++ b/x/incentive/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/incentive/keeper/grpc_query_test.go b/x/incentive/keeper/grpc_query_test.go index 9d609f307..048a7ad55 100644 --- a/x/incentive/keeper/grpc_query_test.go +++ b/x/incentive/keeper/grpc_query_test.go @@ -4,9 +4,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/x/incentive/keeper/intercept_fee_collector.go b/x/incentive/keeper/intercept_fee_collector.go index 88500e558..05cc6c5be 100644 --- a/x/incentive/keeper/intercept_fee_collector.go +++ b/x/incentive/keeper/intercept_fee_collector.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" ) // HandleCoinsInFeeCollector intercepts a portion of coins in fee collector, and distributes diff --git a/x/incentive/keeper/intercept_fee_collector_test.go b/x/incentive/keeper/intercept_fee_collector_test.go index 189be6ba1..2f583caa2 100644 --- a/x/incentive/keeper/intercept_fee_collector_test.go +++ b/x/incentive/keeper/intercept_fee_collector_test.go @@ -6,10 +6,10 @@ import ( sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/golang/mock/gomock" diff --git a/x/incentive/keeper/keeper.go b/x/incentive/keeper/keeper.go index 4d931f4fe..9929989cd 100644 --- a/x/incentive/keeper/keeper.go +++ b/x/incentive/keeper/keeper.go @@ -5,7 +5,7 @@ import ( "fmt" "cosmossdk.io/log" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/incentive/keeper/msg_server.go b/x/incentive/keeper/msg_server.go index 3d9ff5399..5dfe5833e 100644 --- a/x/incentive/keeper/msg_server.go +++ b/x/incentive/keeper/msg_server.go @@ -4,7 +4,7 @@ import ( "context" errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "google.golang.org/grpc/codes" diff --git a/x/incentive/keeper/msg_server_test.go b/x/incentive/keeper/msg_server_test.go index 5b68ded8d..78a0783a9 100644 --- a/x/incentive/keeper/msg_server_test.go +++ b/x/incentive/keeper/msg_server_test.go @@ -5,10 +5,10 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/incentive/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" ) diff --git a/x/incentive/keeper/params.go b/x/incentive/keeper/params.go index 4e8c80e72..aac26aec0 100644 --- a/x/incentive/keeper/params.go +++ b/x/incentive/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" ) // SetParams sets the x/incentive module parameters. diff --git a/x/incentive/keeper/params_test.go b/x/incentive/keeper/params_test.go index e2ee0a1da..e6196521a 100644 --- a/x/incentive/keeper/params_test.go +++ b/x/incentive/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/stretchr/testify/require" ) diff --git a/x/incentive/keeper/query_params.go b/x/incentive/keeper/query_params.go index b58c8c1ec..18b4fe8f4 100644 --- a/x/incentive/keeper/query_params.go +++ b/x/incentive/keeper/query_params.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/incentive/keeper/query_params_test.go b/x/incentive/keeper/query_params_test.go index c98188c76..ec943cc99 100644 --- a/x/incentive/keeper/query_params_test.go +++ b/x/incentive/keeper/query_params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/stretchr/testify/require" ) diff --git a/x/incentive/keeper/reward_gauge.go b/x/incentive/keeper/reward_gauge.go index d06cbf3fd..57c598150 100644 --- a/x/incentive/keeper/reward_gauge.go +++ b/x/incentive/keeper/reward_gauge.go @@ -3,7 +3,7 @@ package keeper import ( "context" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/incentive/keeper/reward_gauge_test.go b/x/incentive/keeper/reward_gauge_test.go index 74a840c13..53bf8f34b 100644 --- a/x/incentive/keeper/reward_gauge_test.go +++ b/x/incentive/keeper/reward_gauge_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "testing" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/x/incentive/module.go b/x/incentive/module.go index 862daf4ff..254a95231 100644 --- a/x/incentive/module.go +++ b/x/incentive/module.go @@ -6,9 +6,9 @@ import ( "encoding/json" "fmt" - "github.com/babylonchain/babylon/x/incentive/client/cli" - "github.com/babylonchain/babylon/x/incentive/keeper" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/client/cli" + "github.com/babylonlabs-io/babylon/x/incentive/keeper" + "github.com/babylonlabs-io/babylon/x/incentive/types" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/incentive/types/expected_keepers.go b/x/incentive/types/expected_keepers.go index a8000ec2d..434a96c0d 100644 --- a/x/incentive/types/expected_keepers.go +++ b/x/incentive/types/expected_keepers.go @@ -2,7 +2,7 @@ package types import ( "context" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/incentive/types/genesis.pb.go b/x/incentive/types/genesis.pb.go index d2c7b135c..223029c7b 100644 --- a/x/incentive/types/genesis.pb.go +++ b/x/incentive/types/genesis.pb.go @@ -75,7 +75,7 @@ func init() { func init() { proto.RegisterFile("babylon/incentive/genesis.proto", fileDescriptor_41d5400dc6b4b931) } var fileDescriptor_41d5400dc6b4b931 = []byte{ - // 195 bytes of a gzipped FileDescriptorProto + // 197 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0xcf, 0xcc, 0x4b, 0x4e, 0xcd, 0x2b, 0xc9, 0x2c, 0x4b, 0xd5, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x84, 0x2a, 0xd0, @@ -83,12 +83,12 @@ var fileDescriptor_41d5400dc6b4b931 = []byte{ 0x72, 0x98, 0x26, 0x15, 0x24, 0x16, 0x25, 0xe6, 0x42, 0x0d, 0x52, 0x72, 0xe7, 0xe2, 0x71, 0x87, 0x98, 0x1c, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0x64, 0xce, 0xc5, 0x06, 0x91, 0x97, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x92, 0xd4, 0xc3, 0xb0, 0x49, 0x2f, 0x00, 0xac, 0xc0, 0x89, 0xe5, 0xc4, 0x3d, - 0x79, 0x86, 0x20, 0xa8, 0x72, 0x27, 0xef, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, + 0x79, 0x86, 0x20, 0xa8, 0x72, 0x27, 0xdf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, - 0x88, 0x32, 0x4c, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x1a, 0x96, - 0x9c, 0x91, 0x98, 0x99, 0x07, 0xe3, 0xe8, 0x57, 0x20, 0x39, 0xae, 0xa4, 0xb2, 0x20, 0xb5, 0x38, - 0x89, 0x0d, 0xec, 0x38, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xa1, 0x97, 0x7e, 0x08, - 0x01, 0x00, 0x00, + 0x88, 0x32, 0x4e, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x1a, 0x96, + 0x93, 0x98, 0x54, 0xac, 0x9b, 0x99, 0x0f, 0xe3, 0xea, 0x57, 0x20, 0x39, 0xaf, 0xa4, 0xb2, 0x20, + 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x3c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x33, 0x58, 0xf9, + 0x93, 0x0a, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/incentive/types/genesis_test.go b/x/incentive/types/genesis_test.go index 230e2c670..8f30abae3 100644 --- a/x/incentive/types/genesis_test.go +++ b/x/incentive/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/incentive/types" "github.com/stretchr/testify/require" ) diff --git a/x/incentive/types/incentive.pb.go b/x/incentive/types/incentive.pb.go index 304f85dba..98d972e2e 100644 --- a/x/incentive/types/incentive.pb.go +++ b/x/incentive/types/incentive.pb.go @@ -138,7 +138,7 @@ func init() { func init() { proto.RegisterFile("babylon/incentive/incentive.proto", fileDescriptor_3954bc4942045a7a) } var fileDescriptor_3954bc4942045a7a = []byte{ - // 269 bytes of a gzipped FileDescriptorProto + // 271 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0xcf, 0xcc, 0x4b, 0x4e, 0xcd, 0x2b, 0xc9, 0x2c, 0x4b, 0x45, 0xb0, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x04, 0xa1, 0x4a, 0xf4, 0xe0, 0x12, 0x52, 0x22, 0xe9, 0xf9, @@ -151,11 +151,11 @@ var fileDescriptor_3954bc4942045a7a = []byte{ 0xa8, 0x2d, 0x10, 0x4a, 0xb7, 0x38, 0x25, 0x5b, 0xbf, 0xa4, 0xb2, 0x20, 0xb5, 0x18, 0xac, 0xa1, 0x38, 0x08, 0x62, 0xb2, 0xd2, 0x33, 0x46, 0x2e, 0xee, 0xa0, 0xd4, 0xf2, 0xc4, 0xa2, 0x14, 0x7a, 0x59, 0x29, 0x54, 0xc2, 0xc5, 0x5f, 0x9e, 0x59, 0x92, 0x91, 0x52, 0x94, 0x58, 0x9e, 0x17, 0x0f, - 0xb1, 0x8c, 0x89, 0xfa, 0x96, 0xf1, 0xc1, 0xed, 0x00, 0xf3, 0x9d, 0xbc, 0x4f, 0x3c, 0x92, 0x63, + 0xb1, 0x8c, 0x89, 0xfa, 0x96, 0xf1, 0xc1, 0xed, 0x00, 0xf3, 0x9d, 0x7c, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, - 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x10, 0xc9, 0x4c, 0x68, 0x14, 0x26, 0x67, 0x24, 0x66, - 0xe6, 0xc1, 0x38, 0xfa, 0x15, 0x48, 0x91, 0x0e, 0xb6, 0x22, 0x89, 0x0d, 0x1c, 0x51, 0xc6, 0x80, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x83, 0xc5, 0xfb, 0x16, 0x02, 0x00, 0x00, + 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x18, 0xc9, 0x4c, 0x68, 0x14, 0xe6, 0x24, 0x26, 0x15, + 0xeb, 0x66, 0xe6, 0xc3, 0xb8, 0xfa, 0x15, 0x48, 0xd1, 0x0e, 0xb6, 0x24, 0x89, 0x0d, 0x1c, 0x55, + 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd1, 0xc1, 0x22, 0xfc, 0x18, 0x02, 0x00, 0x00, } func (m *Gauge) Marshal() (dAtA []byte, err error) { diff --git a/x/incentive/types/mocked_keepers.go b/x/incentive/types/mocked_keepers.go index 833bbb50d..b0e07c0e9 100644 --- a/x/incentive/types/mocked_keepers.go +++ b/x/incentive/types/mocked_keepers.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - types "github.com/babylonchain/babylon/x/epoching/types" + types "github.com/babylonlabs-io/babylon/x/epoching/types" types0 "github.com/cosmos/cosmos-sdk/types" gomock "github.com/golang/mock/gomock" ) diff --git a/x/incentive/types/params.pb.go b/x/incentive/types/params.pb.go index a0062b8d6..ac7b99865 100644 --- a/x/incentive/types/params.pb.go +++ b/x/incentive/types/params.pb.go @@ -79,7 +79,7 @@ func init() { func init() { proto.RegisterFile("babylon/incentive/params.proto", fileDescriptor_c42276168f0adf4b) } var fileDescriptor_c42276168f0adf4b = []byte{ - // 294 bytes of a gzipped FileDescriptorProto + // 296 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0xcf, 0xcc, 0x4b, 0x4e, 0xcd, 0x2b, 0xc9, 0x2c, 0x4b, 0xd5, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x84, 0xca, 0xeb, 0xc1, @@ -93,12 +93,12 @@ var fileDescriptor_c42276168f0adf4b = []byte{ 0x31, 0x4a, 0x28, 0x86, 0x4b, 0xa0, 0x28, 0x15, 0x64, 0x2e, 0x92, 0xf1, 0x4c, 0xe4, 0x1a, 0xcf, 0x0f, 0x33, 0x0a, 0x66, 0x7a, 0x22, 0x97, 0x70, 0x52, 0x49, 0x72, 0x7c, 0x71, 0x49, 0x62, 0x76, 0x66, 0x5e, 0x3a, 0xdc, 0x02, 0x66, 0x72, 0x2d, 0x10, 0x4c, 0x2a, 0x49, 0x0e, 0x86, 0x18, 0x06, - 0xb5, 0xc2, 0x8a, 0x65, 0xc6, 0x02, 0x79, 0x06, 0x27, 0xef, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, + 0xb5, 0xc2, 0x8a, 0x65, 0xc6, 0x02, 0x79, 0x06, 0x27, 0xdf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, - 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4c, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, - 0x87, 0x46, 0x4d, 0x72, 0x46, 0x62, 0x66, 0x1e, 0x8c, 0xa3, 0x5f, 0x81, 0x14, 0x93, 0x25, 0x95, - 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, 0x58, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x55, 0x13, - 0x48, 0x09, 0xeb, 0x01, 0x00, 0x00, + 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4e, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, + 0x87, 0x46, 0x4d, 0x4e, 0x62, 0x52, 0xb1, 0x6e, 0x66, 0x3e, 0x8c, 0xab, 0x5f, 0x81, 0x14, 0x97, + 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, 0x78, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, + 0x1a, 0x83, 0x6c, 0xe6, 0xed, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/incentive/types/query.pb.go b/x/incentive/types/query.pb.go index 46405c449..a0829633e 100644 --- a/x/incentive/types/query.pb.go +++ b/x/incentive/types/query.pb.go @@ -404,46 +404,46 @@ func init() { func init() { proto.RegisterFile("babylon/incentive/query.proto", fileDescriptor_e1a59cc0c7c44135) } var fileDescriptor_e1a59cc0c7c44135 = []byte{ - // 610 bytes of a gzipped FileDescriptorProto + // 611 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x3f, 0x6f, 0xd3, 0x40, 0x18, 0xc6, 0xe3, 0xb4, 0x09, 0xf4, 0x5a, 0x04, 0x3d, 0x22, 0xe4, 0x38, 0xc5, 0x24, 0x96, 0x40, - 0x95, 0x00, 0x5b, 0xcd, 0x1f, 0x15, 0x90, 0x00, 0x29, 0x08, 0x31, 0x20, 0x45, 0xe0, 0x76, 0x62, - 0x89, 0x2e, 0xce, 0xc9, 0xb1, 0x1a, 0xfb, 0x5c, 0xfb, 0x5c, 0x08, 0x55, 0x16, 0x3e, 0x01, 0x12, - 0x13, 0x3b, 0x0b, 0xdf, 0x82, 0xb1, 0x63, 0x25, 0x16, 0x26, 0x04, 0x09, 0x1f, 0x04, 0xe5, 0xee, - 0x1c, 0xb9, 0x8d, 0x5d, 0x5a, 0xb6, 0xf3, 0xfb, 0x3e, 0xef, 0xf3, 0xfe, 0x72, 0x7e, 0x1c, 0x70, - 0xb3, 0x87, 0x7a, 0xa3, 0x21, 0xf1, 0x0c, 0xc7, 0xb3, 0xb0, 0x47, 0x9d, 0x03, 0x6c, 0xec, 0x47, - 0x38, 0x18, 0xe9, 0x7e, 0x40, 0x28, 0x81, 0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 0x3c, 0x3d, 0x6e, 0x8a, 0x71, 0x6e, 0xbd, 0xe0, 0x6d, 0x31, 0x5e, 0x03, - 0xde, 0x4f, 0xe1, 0xed, 0x51, 0xab, 0x1b, 0xf2, 0x21, 0x8e, 0x68, 0x1c, 0xf2, 0xf4, 0x8e, 0xe1, - 0x37, 0x09, 0x94, 0xd2, 0x92, 0x02, 0x1b, 0x67, 0x00, 0x64, 0x05, 0x53, 0x69, 0x5e, 0x6c, 0x48, - 0xa0, 0x3f, 0x66, 0xe8, 0xdb, 0xb0, 0x95, 0x81, 0x4e, 0x13, 0x93, 0x31, 0xff, 0x3c, 0xff, 0xe3, - 0xf6, 0xcb, 0xa3, 0x89, 0x2a, 0x1d, 0x4f, 0x54, 0xe9, 0xd7, 0x44, 0x95, 0x3e, 0x4e, 0xd5, 0xdc, - 0xf1, 0x54, 0xcd, 0xfd, 0x98, 0xaa, 0xb9, 0x37, 0x5b, 0xb6, 0x43, 0x07, 0x51, 0x4f, 0xb7, 0x88, - 0x1b, 0x5b, 0x5b, 0x03, 0xe4, 0x78, 0xf3, 0x3d, 0xef, 0x12, 0x9b, 0xe8, 0xc8, 0xc7, 0x61, 0xaf, - 0xc8, 0xfe, 0x8c, 0x1b, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x1f, 0x12, 0x0c, 0x37, 0x06, - 0x00, 0x00, + 0x95, 0xa0, 0xb6, 0xc8, 0x1f, 0x15, 0x90, 0x00, 0x29, 0x08, 0x31, 0x11, 0x81, 0xdb, 0x89, 0x25, + 0x3a, 0x27, 0x27, 0xc7, 0x6a, 0xec, 0x73, 0xed, 0x73, 0x21, 0x54, 0x59, 0xf8, 0x04, 0x48, 0x4c, + 0xec, 0x2c, 0x7c, 0x0b, 0xc6, 0x8e, 0x95, 0x58, 0x98, 0x10, 0x24, 0x7c, 0x10, 0x94, 0xbb, 0x73, + 0xe4, 0x36, 0x76, 0x69, 0xd9, 0xce, 0xef, 0xfb, 0xbc, 0xcf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0x77, 0x91, 0x3c, 0x6a, 0x0f, 0x19, 0x4e, 0x03, 0xde, 0x4f, 0xc1, + 0x11, 0x9f, 0x85, 0x71, 0x28, 0x0e, 0x63, 0x23, 0x99, 0x7f, 0xf8, 0x55, 0x02, 0x57, 0x4f, 0xc5, + 0x01, 0xea, 0x59, 0xcb, 0xd3, 0xe3, 0xa6, 0x18, 0xe7, 0xd6, 0x0b, 0xde, 0x16, 0xe3, 0x35, 0xe0, + 0x56, 0x0a, 0xaf, 0x45, 0x7b, 0xdd, 0x90, 0x0f, 0x71, 0x44, 0xe3, 0x90, 0xa7, 0x77, 0x0c, 0xbf, + 0x49, 0xa0, 0x94, 0x96, 0x14, 0xd8, 0x38, 0x03, 0x20, 0x2b, 0x98, 0x4a, 0xf3, 0x62, 0x43, 0x02, + 0xfd, 0x31, 0x43, 0xdf, 0x86, 0xad, 0x0c, 0x74, 0x9a, 0x98, 0x8c, 0xf9, 0xe7, 0xf9, 0x1f, 0xb7, + 0x5f, 0x1e, 0x4d, 0x54, 0xe9, 0x78, 0xa2, 0x4a, 0xbf, 0x26, 0xaa, 0xf4, 0x71, 0xaa, 0xe6, 0x8e, + 0xa7, 0x6a, 0xee, 0xc7, 0x54, 0xcd, 0xbd, 0x69, 0xd8, 0x0e, 0x1d, 0x44, 0x96, 0xde, 0x23, 0x6e, + 0x6c, 0x3d, 0x44, 0x56, 0xb8, 0xe5, 0x90, 0xf9, 0xa6, 0x77, 0x89, 0x5d, 0x74, 0xe4, 0xe3, 0xd0, + 0x2a, 0xb2, 0xbf, 0xe3, 0xc6, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xfc, 0x04, 0x89, 0x39, + 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/incentive/types/tx.pb.go b/x/incentive/types/tx.pb.go index dece25fd3..6d52b0959 100644 --- a/x/incentive/types/tx.pb.go +++ b/x/incentive/types/tx.pb.go @@ -241,37 +241,37 @@ func init() { func init() { proto.RegisterFile("babylon/incentive/tx.proto", fileDescriptor_b4de6776d39a3a22) } var fileDescriptor_b4de6776d39a3a22 = []byte{ - // 467 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4f, 0x6b, 0xd4, 0x40, - 0x1c, 0xdd, 0xb1, 0x7f, 0xa4, 0x63, 0xa9, 0x74, 0x28, 0x34, 0x9b, 0x43, 0x5a, 0x82, 0x87, 0x65, - 0xb1, 0x19, 0xb7, 0x82, 0x42, 0x6f, 0xc6, 0xa3, 0x2c, 0x4a, 0x44, 0x04, 0x0f, 0xca, 0x24, 0x19, - 0x26, 0x83, 0x66, 0x26, 0x64, 0xa6, 0xdb, 0xee, 0x45, 0xc4, 0x4f, 0x20, 0x7e, 0x0c, 0x4f, 0x3d, - 0xf8, 0x21, 0x7a, 0x2c, 0x3d, 0x79, 0x52, 0xd9, 0x3d, 0xf4, 0x6b, 0xc8, 0x64, 0x26, 0xed, 0xda, - 0x14, 0xf4, 0x34, 0xf3, 0xdb, 0xf7, 0xe6, 0xfd, 0xde, 0xef, 0xfd, 0x36, 0xd0, 0x4f, 0x49, 0x3a, - 0xfd, 0x20, 0x05, 0xe6, 0x22, 0xa3, 0x42, 0xf3, 0x09, 0xc5, 0xfa, 0x38, 0xaa, 0x6a, 0xa9, 0x25, - 0xda, 0x74, 0x58, 0x74, 0x89, 0xf9, 0x5b, 0x4c, 0x32, 0xd9, 0xa0, 0xd8, 0xdc, 0x2c, 0xd1, 0xef, - 0x67, 0x52, 0x95, 0x52, 0xbd, 0xb3, 0x80, 0x2d, 0x1c, 0xb4, 0x6d, 0x2b, 0x5c, 0x2a, 0x86, 0x27, - 0x23, 0x73, 0x38, 0x20, 0x70, 0x40, 0x4a, 0x14, 0xc5, 0x93, 0x51, 0x4a, 0x35, 0x19, 0xe1, 0x4c, - 0x72, 0xd1, 0xe2, 0x5d, 0x63, 0x15, 0x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0xa3, 0x1f, 0x6c, 0x98, 0x48, - 0xae, 0x84, 0xc2, 0x3e, 0xdc, 0xbe, 0xe6, 0xa9, 0x8d, 0x64, 0xff, 0x1c, 0xc0, 0xa5, 0xb1, 0x62, - 0x28, 0x87, 0x1b, 0xd7, 0xb6, 0x70, 0xef, 0x86, 0x6e, 0x9d, 0x68, 0xfd, 0xfb, 0xff, 0xc3, 0xba, - 0x5c, 0xc0, 0x5b, 0xb8, 0xfe, 0x57, 0x32, 0xe1, 0xcd, 0xaf, 0x17, 0x39, 0xfe, 0xf0, 0xdf, 0x9c, - 0x56, 0xdf, 0x5f, 0xf9, 0x74, 0x71, 0x32, 0x04, 0xf1, 0xb3, 0xd3, 0x59, 0x00, 0xce, 0x66, 0x01, - 0xf8, 0x3d, 0x0b, 0xc0, 0x97, 0x79, 0xd0, 0x3b, 0x9b, 0x07, 0xbd, 0x1f, 0xf3, 0xa0, 0xf7, 0x66, - 0xb4, 0xb0, 0x4f, 0x27, 0x9b, 0x15, 0x84, 0x8b, 0xb6, 0xc0, 0xc7, 0x8b, 0x9f, 0x90, 0x59, 0x6f, - 0xba, 0xda, 0xfc, 0x53, 0x1f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x73, 0x0d, 0x40, 0x64, - 0x03, 0x00, 0x00, + // 469 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcf, 0x6b, 0x13, 0x41, + 0x14, 0xce, 0xd8, 0x1f, 0xd2, 0xb1, 0x54, 0x3a, 0x14, 0xba, 0xd9, 0xc3, 0xb6, 0x2c, 0x1e, 0x42, + 0x30, 0x3b, 0xa6, 0x05, 0x85, 0xde, 0x8c, 0xe7, 0xa0, 0xac, 0x88, 0xe0, 0x41, 0x99, 0xcd, 0x0e, + 0x93, 0xc1, 0xee, 0xce, 0xb2, 0x6f, 0x9a, 0x36, 0x17, 0x11, 0xff,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0xd0, 0x3a, 0x9f, 0x07, 0xad, 0x9f, 0xf3, 0xa0, 0xf5, 0x6e, + 0x7f, 0x61, 0x9f, 0x4e, 0xf6, 0x90, 0x25, 0xd0, 0x93, 0xaa, 0x2e, 0xe9, 0xc9, 0xe2, 0x47, 0x64, + 0x16, 0x9c, 0xac, 0x56, 0xff, 0xd5, 0xfd, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x43, 0xa9, + 0xe8, 0x66, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/monitor/client/cli/query.go b/x/monitor/client/cli/query.go index 50e9b2a2e..31b0bc1e2 100644 --- a/x/monitor/client/cli/query.go +++ b/x/monitor/client/cli/query.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/monitor/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/monitor/client/cli/tx.go b/x/monitor/client/cli/tx.go index c1836f6e7..4d55ca102 100644 --- a/x/monitor/client/cli/tx.go +++ b/x/monitor/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/monitor/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/monitor/genesis.go b/x/monitor/genesis.go index b786d9685..df03d8cce 100644 --- a/x/monitor/genesis.go +++ b/x/monitor/genesis.go @@ -2,8 +2,8 @@ package monitor import ( "context" - "github.com/babylonchain/babylon/x/monitor/keeper" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/monitor/keeper" + "github.com/babylonlabs-io/babylon/x/monitor/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/monitor/genesis_test.go b/x/monitor/genesis_test.go index db95adb13..fbb1b2b00 100644 --- a/x/monitor/genesis_test.go +++ b/x/monitor/genesis_test.go @@ -3,11 +3,11 @@ package monitor_test import ( "testing" - "github.com/babylonchain/babylon/x/monitor" + "github.com/babylonlabs-io/babylon/x/monitor" "github.com/stretchr/testify/require" - simapp "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/x/monitor/types" + simapp "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/x/monitor/types" ) func TestExportGenesis(t *testing.T) { diff --git a/x/monitor/keeper/grpc_query.go b/x/monitor/keeper/grpc_query.go index 6a38d7a90..422194296 100644 --- a/x/monitor/keeper/grpc_query.go +++ b/x/monitor/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/monitor/types" sdk "github.com/cosmos/cosmos-sdk/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/monitor/keeper/grpc_query_test.go b/x/monitor/keeper/grpc_query_test.go index 6f33b8fe7..53ea0862f 100644 --- a/x/monitor/keeper/grpc_query_test.go +++ b/x/monitor/keeper/grpc_query_test.go @@ -8,13 +8,13 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/testutil/mocks" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" - types2 "github.com/babylonchain/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/mocks" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types2 "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/monitor/types" ) func FuzzQueryEndedEpochBtcHeight(f *testing.F) { diff --git a/x/monitor/keeper/hooks.go b/x/monitor/keeper/hooks.go index 4b012fd44..8a0a3d492 100644 --- a/x/monitor/keeper/hooks.go +++ b/x/monitor/keeper/hooks.go @@ -3,8 +3,8 @@ package keeper import ( "context" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - etypes "github.com/babylonchain/babylon/x/epoching/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + etypes "github.com/babylonlabs-io/babylon/x/epoching/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/monitor/keeper/keeper.go b/x/monitor/keeper/keeper.go index 9bd40ab8b..c7ada1120 100644 --- a/x/monitor/keeper/keeper.go +++ b/x/monitor/keeper/keeper.go @@ -5,10 +5,10 @@ import ( corestoretypes "cosmossdk.io/core/store" "fmt" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "cosmossdk.io/log" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/monitor/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/monitor/module.go b/x/monitor/module.go index b4674ff00..40586622e 100644 --- a/x/monitor/module.go +++ b/x/monitor/module.go @@ -12,9 +12,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/monitor/client/cli" - "github.com/babylonchain/babylon/x/monitor/keeper" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/monitor/client/cli" + "github.com/babylonlabs-io/babylon/x/monitor/keeper" + "github.com/babylonlabs-io/babylon/x/monitor/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/monitor/types/expected_keepers.go b/x/monitor/types/expected_keepers.go index 0150c8dc2..d63fffa07 100644 --- a/x/monitor/types/expected_keepers.go +++ b/x/monitor/types/expected_keepers.go @@ -2,7 +2,7 @@ package types import ( "context" - lc "github.com/babylonchain/babylon/x/btclightclient/types" + lc "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) type BTCLightClientKeeper interface { diff --git a/x/monitor/types/genesis.pb.go b/x/monitor/types/genesis.pb.go index 8e2be0c21..2de642697 100644 --- a/x/monitor/types/genesis.pb.go +++ b/x/monitor/types/genesis.pb.go @@ -66,16 +66,17 @@ func init() { func init() { proto.RegisterFile("babylon/monitor/v1/genesis.proto", fileDescriptor_fb844fd916189e7b) } var fileDescriptor_fb844fd916189e7b = []byte{ - // 144 bytes of a gzipped FileDescriptorProto + // 146 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0xcf, 0xcd, 0xcf, 0xcb, 0x2c, 0xc9, 0x2f, 0xd2, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0xaa, 0xd0, 0x83, 0xaa, 0xd0, 0x2b, 0x33, 0x54, 0xe2, 0xe3, 0xe2, 0x71, 0x87, 0x28, 0x0a, 0x2e, 0x49, - 0x2c, 0x49, 0x75, 0xf2, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, - 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xfd, - 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, 0x41, 0xc9, 0x19, 0x89, - 0x99, 0x79, 0x30, 0x8e, 0x7e, 0x05, 0xdc, 0xe6, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, - 0xad, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x9f, 0x6b, 0xe2, 0x99, 0x00, 0x00, 0x00, + 0x2c, 0x49, 0x75, 0xf2, 0x3e, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, + 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, + 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, 0x41, 0x39, 0x89, 0x49, + 0xc5, 0xba, 0x99, 0xf9, 0x30, 0xae, 0x7e, 0x05, 0xdc, 0xee, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, + 0x36, 0xb0, 0xbd, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x4f, 0x6b, 0xc3, 0x9b, 0x00, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/monitor/types/genesis_test.go b/x/monitor/types/genesis_test.go index 5c5092312..73008eb98 100644 --- a/x/monitor/types/genesis_test.go +++ b/x/monitor/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/monitor/types" "github.com/stretchr/testify/require" ) diff --git a/x/monitor/types/keys.go b/x/monitor/types/keys.go index 1f65b3c03..ccd101ec8 100644 --- a/x/monitor/types/keys.go +++ b/x/monitor/types/keys.go @@ -2,7 +2,7 @@ package types import ( "fmt" - "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/monitor/types/query.pb.go b/x/monitor/types/query.pb.go index 210128e1c..321e6d2de 100644 --- a/x/monitor/types/query.pb.go +++ b/x/monitor/types/query.pb.go @@ -229,33 +229,33 @@ func init() { func init() { proto.RegisterFile("babylon/monitor/v1/query.proto", fileDescriptor_a8aafb034c55a8f2) } var fileDescriptor_a8aafb034c55a8f2 = []byte{ - // 404 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x4f, 0x8b, 0xd3, 0x40, - 0x18, 0xc6, 0x1b, 0xff, 0xd1, 0xce, 0x71, 0x14, 0x94, 0x56, 0x62, 0xc9, 0x41, 0x0b, 0x62, 0x86, - 0x5a, 0x3d, 0x29, 0x1e, 0x5a, 0x2a, 0x15, 0x44, 0x30, 0x37, 0xbd, 0x84, 0xc9, 0x74, 0xc8, 0x0c, - 0x4d, 0x66, 0xa6, 0x99, 0x49, 0xb1, 0x94, 0x5e, 0x3c, 0x7a, 0x12, 0xfc, 0x22, 0x7e, 0x0c, 0x2f, - 0x42, 0xc1, 0x8b, 0xc7, 0xa5, 0xdd, 0x0f, 0xb2, 0x64, 0x9a, 0xcd, 0x65, 0xd3, 0x2d, 0xbb, 0x7b, - 0xcc, 0xfb, 0xe6, 0xf9, 0xcd, 0xfb, 0xbc, 0xcf, 0x0c, 0x70, 0x23, 0x1c, 0x2d, 0x13, 0x29, 0x50, - 0x2a, 0x05, 0x37, 0x32, 0x43, 0x8b, 0x3e, 0x9a, 0xe7, 0x34, 0x5b, 0xfa, 0x2a, 0x93, 0x46, 0x42, - 0x58, 0xf6, 0xfd, 0xb2, 0xef, 0x2f, 0xfa, 0xed, 0xc7, 0xb1, 0x94, 0x71, 0x42, 0x11, 0x56, 0x1c, - 0x61, 0x21, 0xa4, 0xc1, 0x86, 0x4b, 0xa1, 0xf7, 0x0a, 0xef, 0x1d, 0x78, 0xf2, 0xb9, 0x00, 0x8c, - 0xc5, 0x94, 0x4e, 0xc7, 0x4a, 0x12, 0x36,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, 0x90, 0x4a, - 0xa8, 0xd1, 0xaa, 0x8a, 0x7f, 0x3d, 0xfc, 0xf0, 0x67, 0xeb, 0x3a, 0x9b, 0xad, 0xeb, 0x9c, 0x6c, - 0x5d, 0xe7, 0xe7, 0xce, 0x6d, 0x6c, 0x76, 0x6e, 0xe3, 0xff, 0xce, 0x6d, 0x7c, 0x45, 0x31, 0x37, - 0x2c, 0x8f, 0x7c, 0x22, 0xd3, 0x73, 0x20, 0x61, 0x98, 0x8b, 0x8a, 0xfe, 0xad, 0xe2, 0x9b, 0xa5, - 0xa2, 0x3a, 0xba, 0x67, 0x1f, 0xc9, 0xe0, 0x2c, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x12, 0xa1, 0x9a, - 0x78, 0x03, 0x00, 0x00, + // 405 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0x4d, 0xab, 0x13, 0x31, + 0x14, 0xed, 0xf8, 0x45, 0x9b, 0x65, 0x14, 0x94, 0x56, 0xc6, 0x32, 0x0b, 0x2d, 0x48, 0x27, 0xd4, + 0xea, 0x4a, 0x71, 0xd1, 0x52, 0x29, 0x28, 0x82, 0xb3, 0xd3, 0xcd, 0x90, 0x49, 0xc3, 0x24, 0x74, + 0x26, 0x49, 0x27, 0x99, 0x62, 0x29, 0xdd, 0xb8, 0x74, 0x25, 0xf8, 0x47, 0xfc, 0x19, 0x6e, 0x84, + 0x82, 0x1b, 0x97, 0xd2, 0xfa, 0x43, 0x64, 0xd2, 0x79, 0xb3, 0x79, 0xd3, 0x57, 0xde, 0x7b, 0xcb, + 0xdc, 0x93, 0x73, 0xee, 0x3d, 0xf7, 0x24, 0xc0, 0x8d, 0x70, 0xb4, 0x4a, 0xa4, 0x40, 0xa9, 0x14, + 0xdc, 0xc8, 0x0c, 0x2d, 0x07, 0x68, 0x91, 0xd3, 0x6c, 0xe5, 0xab, 0x4c, 0x1a, 0x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, 0x0f, 0x3e, 0x46, 0x35, 0xaf, 0xc5, 0x06, 0xa7, 0xd1, 0xba, 0x4a, + 0x74, 0x03, 0x7f, 0x39, 0xa0, 0x73, 0xc1, 0x6e, 0xe0, 0xcb, 0xa3, 0x53, 0x9c, 0x4e, 0xa6, 0xfd, + 0xea, 0x6a, 0xe4, 0xd2, 0xca, 0xd0, 0x5a, 0xe9, 0xc3, 0xa7, 0x75, 0x56, 0x48, 0x45, 0xd4, 0x68, + 0x5d, 0xc5, 0xbf, 0x19, 0xbd, 0xfd, 0xb9, 0x73, 0x9d, 0xed, 0xce, 0x75, 0xfe, 0xee, 0x5c, 0xe7, + 0xdb, 0xde, 0x6d, 0x6c, 0xf7, 0x6e, 0xe3, 0xcf, 0xde, 0x6d, 0x7c, 0x1a, 0xc4, 0xdc, 0xb0, 0x3c, + 0xf2, 0x89, 0x4c, 0xcf, 0x04, 0x13, 0x1c, 0xe9, 0x3e, 0x97, 0x95, 0xfe, 0xe7, 0xaa, 0x83, 0x59, + 0x29, 0xaa, 0xa3, 0x3b, 0xf6, 0x9b, 0x0c, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x10, 0xaa, 0x98, + 0x3e, 0x7a, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/zoneconcierge/README.md b/x/zoneconcierge/README.md index d9dda333c..f873f4030 100644 --- a/x/zoneconcierge/README.md +++ b/x/zoneconcierge/README.md @@ -472,7 +472,7 @@ for different use cases, e.g., BTC-assisted unbonding. The phase 2 integration does not require any change to the PoS blockchain's code. Rather, it only needs to deploy a [Babylon -contract](https://github.com/babylonchain/babylon-contract) on the PoS +contract](https://github.com/babylonlabs-io/babylon-contract) on the PoS blockchain, and start an IBC relayer between Babylon and the Babylon contract on the PoS blockchain. The Babylon contract can be deployed to a blockchain supporting [CosmWasm](https://github.com/CosmWasm/cosmwasm) smart contracts, diff --git a/x/zoneconcierge/abci.go b/x/zoneconcierge/abci.go index 7ea1514bb..a0989f678 100644 --- a/x/zoneconcierge/abci.go +++ b/x/zoneconcierge/abci.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/babylonchain/babylon/x/zoneconcierge/keeper" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/telemetry" ) diff --git a/x/zoneconcierge/client/cli/query.go b/x/zoneconcierge/client/cli/query.go index 2b0c5ad9c..ca0f1b682 100644 --- a/x/zoneconcierge/client/cli/query.go +++ b/x/zoneconcierge/client/cli/query.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/zoneconcierge/client/cli/tx.go b/x/zoneconcierge/client/cli/tx.go index 9ba77b787..23bd93b94 100644 --- a/x/zoneconcierge/client/cli/tx.go +++ b/x/zoneconcierge/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/zoneconcierge/genesis.go b/x/zoneconcierge/genesis.go index 6cdc963bf..84771473c 100644 --- a/x/zoneconcierge/genesis.go +++ b/x/zoneconcierge/genesis.go @@ -2,8 +2,8 @@ package zoneconcierge import ( "context" - "github.com/babylonchain/babylon/x/zoneconcierge/keeper" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/zoneconcierge/genesis_test.go b/x/zoneconcierge/genesis_test.go index 59ae3107d..e4b3181e9 100644 --- a/x/zoneconcierge/genesis_test.go +++ b/x/zoneconcierge/genesis_test.go @@ -3,10 +3,10 @@ package zoneconcierge_test import ( "testing" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/testutil/nullify" - "github.com/babylonchain/babylon/x/zoneconcierge" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/testutil/nullify" + "github.com/babylonlabs-io/babylon/x/zoneconcierge" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/stretchr/testify/require" ) diff --git a/x/zoneconcierge/keeper/canonical_chain_indexer.go b/x/zoneconcierge/keeper/canonical_chain_indexer.go index 2348ba387..52d89b965 100644 --- a/x/zoneconcierge/keeper/canonical_chain_indexer.go +++ b/x/zoneconcierge/keeper/canonical_chain_indexer.go @@ -7,7 +7,7 @@ import ( sdkerrors "cosmossdk.io/errors" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/zoneconcierge/keeper/canonical_chain_indexer_test.go b/x/zoneconcierge/keeper/canonical_chain_indexer_test.go index 1b1f929ff..af484b32c 100644 --- a/x/zoneconcierge/keeper/canonical_chain_indexer_test.go +++ b/x/zoneconcierge/keeper/canonical_chain_indexer_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" ) diff --git a/x/zoneconcierge/keeper/chain_info_indexer.go b/x/zoneconcierge/keeper/chain_info_indexer.go index e7e7d06bd..a3ae402d1 100644 --- a/x/zoneconcierge/keeper/chain_info_indexer.go +++ b/x/zoneconcierge/keeper/chain_info_indexer.go @@ -7,7 +7,7 @@ import ( errorsmod "cosmossdk.io/errors" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) func (k Keeper) setChainInfo(ctx context.Context, chainInfo *types.ChainInfo) { diff --git a/x/zoneconcierge/keeper/epoch_chain_info_indexer.go b/x/zoneconcierge/keeper/epoch_chain_info_indexer.go index 5faf156ad..5584b008e 100644 --- a/x/zoneconcierge/keeper/epoch_chain_info_indexer.go +++ b/x/zoneconcierge/keeper/epoch_chain_info_indexer.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // GetEpochChainInfo gets the latest chain info of a given epoch for a given chain ID diff --git a/x/zoneconcierge/keeper/epoch_chain_info_indexer_test.go b/x/zoneconcierge/keeper/epoch_chain_info_indexer_test.go index 79a99337d..59dc52c50 100644 --- a/x/zoneconcierge/keeper/epoch_chain_info_indexer_test.go +++ b/x/zoneconcierge/keeper/epoch_chain_info_indexer_test.go @@ -7,8 +7,8 @@ import ( ibctmtypes "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" ) func FuzzEpochChainInfoIndexer(f *testing.F) { diff --git a/x/zoneconcierge/keeper/epochs.go b/x/zoneconcierge/keeper/epochs.go index d61d89761..6c3bfac89 100644 --- a/x/zoneconcierge/keeper/epochs.go +++ b/x/zoneconcierge/keeper/epochs.go @@ -4,8 +4,8 @@ import ( "context" "cosmossdk.io/store/prefix" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/zoneconcierge/keeper/fork_indexer.go b/x/zoneconcierge/keeper/fork_indexer.go index 2ec7e6ba3..68d98243f 100644 --- a/x/zoneconcierge/keeper/fork_indexer.go +++ b/x/zoneconcierge/keeper/fork_indexer.go @@ -7,7 +7,7 @@ import ( sdkerrors "cosmossdk.io/errors" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/zoneconcierge/keeper/fork_indexer_test.go b/x/zoneconcierge/keeper/fork_indexer_test.go index 8195f6b01..c1ef1a522 100644 --- a/x/zoneconcierge/keeper/fork_indexer_test.go +++ b/x/zoneconcierge/keeper/fork_indexer_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" ) diff --git a/x/zoneconcierge/keeper/grpc_query.go b/x/zoneconcierge/keeper/grpc_query.go index 7d9e0226e..5cb71dfca 100644 --- a/x/zoneconcierge/keeper/grpc_query.go +++ b/x/zoneconcierge/keeper/grpc_query.go @@ -3,8 +3,8 @@ package keeper import ( "context" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" diff --git a/x/zoneconcierge/keeper/grpc_query_test.go b/x/zoneconcierge/keeper/grpc_query_test.go index 08c5cab8b..4885659e9 100644 --- a/x/zoneconcierge/keeper/grpc_query_test.go +++ b/x/zoneconcierge/keeper/grpc_query_test.go @@ -4,18 +4,18 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/app" - btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/app" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/cosmos/cosmos-sdk/types/query" ibctmtypes "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) type chainInfo struct { diff --git a/x/zoneconcierge/keeper/header_handler.go b/x/zoneconcierge/keeper/header_handler.go index 3bfdd046e..e4bfa635d 100644 --- a/x/zoneconcierge/keeper/header_handler.go +++ b/x/zoneconcierge/keeper/header_handler.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // HandleHeaderWithValidCommit handles a CZ header with a valid QC diff --git a/x/zoneconcierge/keeper/hooks.go b/x/zoneconcierge/keeper/hooks.go index fc523f54e..8621183dc 100644 --- a/x/zoneconcierge/keeper/hooks.go +++ b/x/zoneconcierge/keeper/hooks.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) type Hooks struct { diff --git a/x/zoneconcierge/keeper/ibc_header_decorator.go b/x/zoneconcierge/keeper/ibc_header_decorator.go index 1e8967be2..930f33e6e 100644 --- a/x/zoneconcierge/keeper/ibc_header_decorator.go +++ b/x/zoneconcierge/keeper/ibc_header_decorator.go @@ -6,7 +6,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" //nolint:staticcheck ibctmtypes "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) var _ sdk.PostDecorator = &IBCHeaderDecorator{} diff --git a/x/zoneconcierge/keeper/ibc_packet.go b/x/zoneconcierge/keeper/ibc_packet.go index 266e8fd35..c4f6bbc03 100644 --- a/x/zoneconcierge/keeper/ibc_packet.go +++ b/x/zoneconcierge/keeper/ibc_packet.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/cosmos/cosmos-sdk/telemetry" clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" //nolint:staticcheck channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" diff --git a/x/zoneconcierge/keeper/ibc_packet_btc_timestamp.go b/x/zoneconcierge/keeper/ibc_packet_btc_timestamp.go index d3adb444c..7df7c61ad 100644 --- a/x/zoneconcierge/keeper/ibc_packet_btc_timestamp.go +++ b/x/zoneconcierge/keeper/ibc_packet_btc_timestamp.go @@ -8,12 +8,12 @@ import ( channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" ibctmtypes "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // finalizedInfo is a private struct that stores metadata and proofs diff --git a/x/zoneconcierge/keeper/ibc_packet_btc_timestamp_test.go b/x/zoneconcierge/keeper/ibc_packet_btc_timestamp_test.go index 531657d26..7a2d1a7c6 100644 --- a/x/zoneconcierge/keeper/ibc_packet_btc_timestamp_test.go +++ b/x/zoneconcierge/keeper/ibc_packet_btc_timestamp_test.go @@ -5,10 +5,10 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" - btclckeeper "github.com/babylonchain/babylon/x/btclightclient/keeper" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btclckeeper "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/stretchr/testify/require" ) diff --git a/x/zoneconcierge/keeper/keeper.go b/x/zoneconcierge/keeper/keeper.go index b34290f6e..82fee2b40 100644 --- a/x/zoneconcierge/keeper/keeper.go +++ b/x/zoneconcierge/keeper/keeper.go @@ -6,7 +6,7 @@ import ( corestoretypes "cosmossdk.io/core/store" "cosmossdk.io/log" storetypes "cosmossdk.io/store/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" diff --git a/x/zoneconcierge/keeper/keeper_test.go b/x/zoneconcierge/keeper/keeper_test.go index 51b04f56d..1d5392735 100644 --- a/x/zoneconcierge/keeper/keeper_test.go +++ b/x/zoneconcierge/keeper/keeper_test.go @@ -6,8 +6,8 @@ import ( ibctmtypes "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" - "github.com/babylonchain/babylon/testutil/datagen" - zckeeper "github.com/babylonchain/babylon/x/zoneconcierge/keeper" + "github.com/babylonlabs-io/babylon/testutil/datagen" + zckeeper "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" ) // SimulateNewHeaders generates a non-zero number of canonical headers diff --git a/x/zoneconcierge/keeper/msg_server.go b/x/zoneconcierge/keeper/msg_server.go index dee48dd04..26d5e9c96 100644 --- a/x/zoneconcierge/keeper/msg_server.go +++ b/x/zoneconcierge/keeper/msg_server.go @@ -4,7 +4,7 @@ import ( "context" errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" ) diff --git a/x/zoneconcierge/keeper/params.go b/x/zoneconcierge/keeper/params.go index 04989eea9..f9661e57d 100644 --- a/x/zoneconcierge/keeper/params.go +++ b/x/zoneconcierge/keeper/params.go @@ -2,7 +2,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) // SetParams sets the x/zoneconcierge module parameters. diff --git a/x/zoneconcierge/keeper/params_test.go b/x/zoneconcierge/keeper/params_test.go index b8f8f772d..a35f8116f 100644 --- a/x/zoneconcierge/keeper/params_test.go +++ b/x/zoneconcierge/keeper/params_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "testing" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/stretchr/testify/require" ) diff --git a/x/zoneconcierge/keeper/proof_btc_timestamp.go b/x/zoneconcierge/keeper/proof_btc_timestamp.go index 8f6b52368..248fe6b1a 100644 --- a/x/zoneconcierge/keeper/proof_btc_timestamp.go +++ b/x/zoneconcierge/keeper/proof_btc_timestamp.go @@ -6,10 +6,10 @@ import ( cmtcrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) func (k Keeper) ProveCZHeaderInEpoch(_ context.Context, header *types.IndexedHeader, epoch *epochingtypes.Epoch) (*cmtcrypto.ProofOps, error) { diff --git a/x/zoneconcierge/keeper/proof_btc_timestamp_test.go b/x/zoneconcierge/keeper/proof_btc_timestamp_test.go index 48190e086..d58d3d666 100644 --- a/x/zoneconcierge/keeper/proof_btc_timestamp_test.go +++ b/x/zoneconcierge/keeper/proof_btc_timestamp_test.go @@ -12,13 +12,13 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/wire" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - testkeeper "github.com/babylonchain/babylon/testutil/keeper" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - zctypes "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + testkeeper "github.com/babylonlabs-io/babylon/testutil/keeper" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) func FuzzProofCZHeaderInEpoch(f *testing.F) { diff --git a/x/zoneconcierge/module.go b/x/zoneconcierge/module.go index 20ab32932..5fcc64a16 100644 --- a/x/zoneconcierge/module.go +++ b/x/zoneconcierge/module.go @@ -11,9 +11,9 @@ import ( abci "github.com/cometbft/cometbft/abci/types" - "github.com/babylonchain/babylon/x/zoneconcierge/client/cli" - "github.com/babylonchain/babylon/x/zoneconcierge/keeper" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/client/cli" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/zoneconcierge/module_ibc.go b/x/zoneconcierge/module_ibc.go index cee536d91..1484bc322 100644 --- a/x/zoneconcierge/module_ibc.go +++ b/x/zoneconcierge/module_ibc.go @@ -2,8 +2,8 @@ package zoneconcierge import ( errorsmod "cosmossdk.io/errors" - "github.com/babylonchain/babylon/x/zoneconcierge/keeper" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" diff --git a/x/zoneconcierge/types/btc_timestamp.go b/x/zoneconcierge/types/btc_timestamp.go index 6d520a61e..c1cde804e 100644 --- a/x/zoneconcierge/types/btc_timestamp.go +++ b/x/zoneconcierge/types/btc_timestamp.go @@ -10,13 +10,13 @@ import ( cmtcrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" - txformat "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/crypto/bls12381" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclckeeper "github.com/babylonchain/babylon/x/btclightclient/keeper" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclckeeper "github.com/babylonlabs-io/babylon/x/btclightclient/keeper" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) func GetCZHeaderKey(chainID string, height uint64) []byte { diff --git a/x/zoneconcierge/types/btc_timestamp_test.go b/x/zoneconcierge/types/btc_timestamp_test.go index 2f513329d..24033ed88 100644 --- a/x/zoneconcierge/types/btc_timestamp_test.go +++ b/x/zoneconcierge/types/btc_timestamp_test.go @@ -10,13 +10,13 @@ import ( "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/require" - txformat "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/testutil/datagen" - testhelper "github.com/babylonchain/babylon/testutil/helper" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + txformat "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/testutil/datagen" + testhelper "github.com/babylonlabs-io/babylon/testutil/helper" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) func signBLSWithBitmap(blsSKs []bls12381.PrivateKey, bm bitmap.Bitmap, msg []byte) (bls12381.Signature, error) { diff --git a/x/zoneconcierge/types/expected_keepers.go b/x/zoneconcierge/types/expected_keepers.go index 695af1467..574a0b7fd 100644 --- a/x/zoneconcierge/types/expected_keepers.go +++ b/x/zoneconcierge/types/expected_keepers.go @@ -3,13 +3,13 @@ package types import ( "context" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" //nolint:staticcheck - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ctypes "github.com/cometbft/cometbft/rpc/core/types" sdk "github.com/cosmos/cosmos-sdk/types" capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types" diff --git a/x/zoneconcierge/types/genesis.pb.go b/x/zoneconcierge/types/genesis.pb.go index 1eed06657..a0ae3e52e 100644 --- a/x/zoneconcierge/types/genesis.pb.go +++ b/x/zoneconcierge/types/genesis.pb.go @@ -85,7 +85,7 @@ func init() { } var fileDescriptor_56f290ad7c2c7dc7 = []byte{ - // 228 bytes of a gzipped FileDescriptorProto + // 230 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0xaf, 0xca, 0xcf, 0x4b, 0x4d, 0xce, 0xcf, 0x4b, 0xce, 0x4c, 0x2d, 0x4a, 0x4f, 0xd5, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, @@ -95,12 +95,12 @@ var fileDescriptor_56f290ad7c2c7dc7 = []byte{ 0x54, 0x21, 0x71, 0x2e, 0xf6, 0x82, 0xfc, 0xa2, 0x92, 0xf8, 0xcc, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x36, 0x10, 0xd7, 0x33, 0x45, 0xc8, 0x8e, 0x8b, 0x0d, 0xa2, 0x51, 0x82, 0x49, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x41, 0x0f, 0x97, 0x83, 0xf4, 0x02, 0xc0, 0xea, 0x9c, 0x58, 0x4e, - 0xdc, 0x93, 0x67, 0x08, 0x82, 0xea, 0x72, 0xf2, 0x3f, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, + 0xdc, 0x93, 0x67, 0x08, 0x82, 0xea, 0x72, 0x0a, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, - 0x39, 0x86, 0x28, 0xd3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, - 0x99, 0xc9, 0x19, 0x89, 0x99, 0x79, 0x30, 0x8e, 0x7e, 0x05, 0x9a, 0x1f, 0x4a, 0x2a, 0x0b, 0x52, - 0x8b, 0x93, 0xd8, 0xc0, 0x1e, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x6c, 0xb2, 0x6d, 0xbb, - 0x41, 0x01, 0x00, 0x00, + 0x39, 0x86, 0x28, 0xf3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, + 0x99, 0x39, 0x89, 0x49, 0xc5, 0xba, 0x99, 0xf9, 0x30, 0xae, 0x7e, 0x05, 0x9a, 0x2f, 0x4a, 0x2a, + 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x5e, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x70, + 0xce, 0xb1, 0x43, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/zoneconcierge/types/genesis_test.go b/x/zoneconcierge/types/genesis_test.go index 0902eb6d7..859e66e14 100644 --- a/x/zoneconcierge/types/genesis_test.go +++ b/x/zoneconcierge/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/stretchr/testify/require" ) diff --git a/x/zoneconcierge/types/mocked_keepers.go b/x/zoneconcierge/types/mocked_keepers.go index f5eb253fc..2daa01fae 100644 --- a/x/zoneconcierge/types/mocked_keepers.go +++ b/x/zoneconcierge/types/mocked_keepers.go @@ -8,11 +8,11 @@ import ( context "context" reflect "reflect" - types "github.com/babylonchain/babylon/types" - types0 "github.com/babylonchain/babylon/x/btccheckpoint/types" - types1 "github.com/babylonchain/babylon/x/btclightclient/types" - types2 "github.com/babylonchain/babylon/x/checkpointing/types" - types3 "github.com/babylonchain/babylon/x/epoching/types" + types "github.com/babylonlabs-io/babylon/types" + types0 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types1 "github.com/babylonlabs-io/babylon/x/btclightclient/types" + types2 "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types3 "github.com/babylonlabs-io/babylon/x/epoching/types" coretypes "github.com/cometbft/cometbft/rpc/core/types" types4 "github.com/cosmos/cosmos-sdk/types" types5 "github.com/cosmos/ibc-go/modules/capability/types" diff --git a/x/zoneconcierge/types/packet.pb.go b/x/zoneconcierge/types/packet.pb.go index 6e123e938..1ca32360f 100644 --- a/x/zoneconcierge/types/packet.pb.go +++ b/x/zoneconcierge/types/packet.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - types3 "github.com/babylonchain/babylon/x/btccheckpoint/types" - types "github.com/babylonchain/babylon/x/btclightclient/types" - types2 "github.com/babylonchain/babylon/x/checkpointing/types" - types1 "github.com/babylonchain/babylon/x/epoching/types" + types3 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types "github.com/babylonlabs-io/babylon/x/btclightclient/types" + types2 "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types1 "github.com/babylonlabs-io/babylon/x/epoching/types" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -211,37 +211,37 @@ func init() { } var fileDescriptor_be12e124c5c4fdb9 = []byte{ - // 471 bytes of a gzipped FileDescriptorProto + // 474 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x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, 0xb5, 0x31, 0xa8, 0x09, 0x99, 0xcf, 0xf1, 0xab, 0x82, 0xde, 0xfd, 0x11, 0x72, 0x66, - 0xe8, 0xff, 0x50, 0x52, 0x31, 0x5e, 0x88, 0x59, 0x64, 0xbe, 0x50, 0x3a, 0x57, 0x94, 0x9c, 0xef, - 0x15, 0x3c, 0xc4, 0x8a, 0x47, 0xb9, 0x6b, 0xb1, 0xce, 0x99, 0xd3, 0xc6, 0x6e, 0xeb, 0x7d, 0x59, - 0xba, 0x97, 0xa0, 0x67, 0x57, 0x55, 0xf9, 0xc2, 0x26, 0xf2, 0x9e, 0x6a, 0x8a, 0xbf, 0xa0, 0x23, - 0xa6, 0xf9, 0x58, 0x8b, 0x25, 0xa4, 0x9a, 0x2e, 0x63, 0xd7, 0x39, 0x71, 0xfa, 0xdd, 0xb3, 0x17, - 0xa4, 0x29, 0x27, 0x32, 0xb8, 0x1c, 0x5e, 0x16, 0xf4, 0x79, 0x2b, 0x3c, 0x64, 0x9a, 0x97, 0xf5, - 0xe0, 0x11, 0xea, 0x64, 0x71, 0xf7, 0x7e, 0xb5, 0xd1, 0x61, 0x15, 0xc5, 0xef, 0x50, 0x27, 0x02, - 0x3a, 0x81, 0x24, 0x3f, 0xe2, 0x65, 0xf3, 0x11, 0x23, 0x39, 0x81, 0x5b, 0x98, 0x9c, 0x5b, 0x3c, - 0xcc, 0xb7, 0xe1, 0x11, 0xea, 0x9a, 0xab, 0x66, 0x55, 0xea, 0x3e, 0x38, 0x69, 0xf7, 0xbb, 0x67, - 0xfd, 0xd2, 0x65, 0x2f, 0xcb, 0xec, 0xa6, 0x99, 0xc5, 0x48, 0x4e, 0x55, 0x88, 0x98, 0xe6, 0x59, - 0x99, 0xe2, 0xb7, 0x08, 0xd9, 0x40, 0xc7, 0x42, 0x4e, 0x95, 0xdb, 0xb6, 0xf7, 0x29, 0xdf, 0x89, - 0x94, 0x59, 0xaf, 0x02, 0xf2, 0xc1, 0xac, 0xc3, 0xc7, 0x56,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, 0xab, 0x82, 0xbe, 0xfb, 0x23, 0xe4, 0xcc, + 0xd0, 0xf7, 0x50, 0x52, 0x31, 0x5e, 0x88, 0x59, 0x64, 0xbe, 0x50, 0x3a, 0x57, 0x94, 0x9c, 0xef, + 0x15, 0x3c, 0xc4, 0x8a, 0x47, 0xb9, 0x6b, 0xb1, 0xce, 0x99, 0xe3, 0xc6, 0x6e, 0xeb, 0x7d, 0x59, + 0xba, 0x97, 0xa0, 0x67, 0x17, 0x55, 0xf9, 0xcc, 0x26, 0xf2, 0x81, 0x6a, 0x8a, 0xbf, 0xa2, 0x03, + 0xa6, 0xf9, 0x58, 0x8b, 0x25, 0xa4, 0x9a, 0x2e, 0x63, 0xd7, 0x39, 0x72, 0xfa, 0xdd, 0x93, 0x17, + 0xa4, 0x29, 0x27, 0x32, 0x38, 0x1f, 0x9e, 0x17, 0xf4, 0x69, 0x2b, 0xdc, 0x67, 0x9a, 0x97, 0xf5, + 0xe0, 0x11, 0xea, 0x64, 0x71, 0xf7, 0x7e, 0xb7, 0xd1, 0x7e, 0x15, 0xc5, 0xef, 0x51, 0x27, 0x02, + 0x3a, 0x81, 0x24, 0x3f, 0xe2, 0x65, 0xf3, 0x11, 0x23, 0x39, 0x81, 0x6b, 0x98, 0x9c, 0x5a, 0x3c, + 0xcc, 0xb7, 0xe1, 0x11, 0xea, 0x9a, 0xab, 0x66, 0x55, 0xea, 0x3e, 0x38, 0x6a, 0xf7, 0xbb, 0x27, + 0xfd, 0xd2, 0x65, 0x27, 0xcb, 0xec, 0xa6, 0x99, 0xc5, 0x48, 0x4e, 0x55, 0x88, 0x98, 0xe6, 0x59, + 0x99, 0xe2, 0x77, 0x08, 0xd9, 0x40, 0xc7, 0x42, 0x4e, 0x95, 0xdb, 0xb6, 0xf7, 0x29, 0xdf, 0x89, + 0x94, 0x59, 0xaf, 0x02, 0xf2, 0xd1, 0xac, 0xc3, 0xc7, 0x56, 0x32, 0x36, 0xf8, 0x1b, 0x7a, 0x92, + 0xd0, 0xab, 0xf1, 0xdd, 0x2b, 0xbb, 0x0f, 0x77, 0xda, 0xa9, 0x4d, 0x84, 0xf1, 0x08, 0xe9, 0xd5, + 0xb0, 0xd4, 0xc2, 0x83, 0xa4, 0x5a, 0xe2, 0x9f, 0x08, 0x9b, 0xae, 0xd2, 0x4b, 0xb6, 0x14, 0x69, + 0x2a, 0x94, 0x1c, 0xcf, 0x61, 0xed, 0xee, 0xed, 0x78, 0xd6, 0x47, 0x70, 0x15, 0x90, 0x1f, 0x25, + 0xff, 0x05, 0xd6, 0xe1, 0x53, 0xa6, 0x79, 0x4d, 0xc1, 0x9f, 0xd1, 0x5e, 0x9c, 0x28, 0x35, 0x75, + 0x3b, 0xd6, 0x29, 0x68, 0x0e, 0xfb, 0xcc, 0x60, 0x9f, 0x84, 0xa4, 0x0b, 0x71, 0x03, 0x93, 0x61, + 0x44, 0x85, 0xb4, 0x79, 0x65, 0xfb, 0x07, 0xdf, 0xff, 0x6c, 0x3c, 0xe7, 0x76, 0xe3, 0x39, 0xff, + 0x36, 0x9e, 0xf3, 0x6b, 0xeb, 0xb5, 0x6e, 0xb7, 0x5e, 0xeb, 0xef, 0xd6, 0x6b, 0x5d, 0xbc, 0x9d, + 0x09, 0x1d, 0x5d, 0x32, 0xc2, 0xd5, 0xd2, 0xcf, 0xdd, 0x17, 0x94, 0xa5, 0xaf, 0x85, 0x2a, 0x4a, + 0xff, 0x7a, 0x67, 0x3e, 0xf5, 0x3a, 0x86, 0x94, 0x75, 0xec, 0x54, 0xbe, 0xf9, 0x1f, 0x00, 0x00, + 0xff, 0xff, 0x7d, 0x8d, 0x6b, 0xdb, 0xb3, 0x03, 0x00, 0x00, } func (m *ZoneconciergePacketData) Marshal() (dAtA []byte, err error) { diff --git a/x/zoneconcierge/types/params.pb.go b/x/zoneconcierge/types/params.pb.go index ac4b27c33..732cfcecd 100644 --- a/x/zoneconcierge/types/params.pb.go +++ b/x/zoneconcierge/types/params.pb.go @@ -79,7 +79,7 @@ func init() { } var fileDescriptor_c0696c936eb15fe4 = []byte{ - // 227 bytes of a gzipped FileDescriptorProto + // 229 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0xaf, 0xca, 0xcf, 0x4b, 0x4d, 0xce, 0xcf, 0x4b, 0xce, 0x4c, 0x2d, 0x4a, 0x4f, 0xd5, 0x2f, 0x33, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, @@ -89,12 +89,12 @@ var fileDescriptor_c0696c936eb15fe4 = []byte{ 0xe6, 0xa6, 0xe6, 0x97, 0x96, 0xc4, 0x17, 0x83, 0x0c, 0x49, 0x29, 0x96, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x75, 0x52, 0xfd, 0x74, 0x4f, 0x5e, 0xb1, 0x32, 0x31, 0x37, 0xc7, 0x4a, 0x09, 0xb7, 0x5a, 0xa5, 0x20, 0xf1, 0xcc, 0xa4, 0xe4, 0x00, 0xb0, 0x5c, 0x08, 0x44, 0x2a, 0x18, 0x22, 0x63, 0xc5, - 0xf2, 0x62, 0x81, 0x3c, 0xa3, 0x93, 0xff, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, + 0xf2, 0x62, 0x81, 0x3c, 0xa3, 0x53, 0xe0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, - 0x44, 0x99, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x3d, 0x92, - 0x9c, 0x91, 0x98, 0x99, 0x07, 0xe3, 0xe8, 0x57, 0xa0, 0x79, 0xbf, 0xa4, 0xb2, 0x20, 0xb5, 0x38, - 0x89, 0x0d, 0xec, 0x17, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2d, 0xf3, 0xe4, 0xef, 0x24, - 0x01, 0x00, 0x00, + 0x44, 0x99, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x3d, 0x92, + 0x93, 0x98, 0x54, 0xac, 0x9b, 0x99, 0x0f, 0xe3, 0xea, 0x57, 0xa0, 0x05, 0x40, 0x49, 0x65, 0x41, + 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x37, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2d, 0x2b, 0x77, + 0x59, 0x26, 0x01, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/x/zoneconcierge/types/params_test.go b/x/zoneconcierge/types/params_test.go index c4be306d0..863b9cb39 100644 --- a/x/zoneconcierge/types/params_test.go +++ b/x/zoneconcierge/types/params_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" "github.com/stretchr/testify/require" ) diff --git a/x/zoneconcierge/types/query.pb.go b/x/zoneconcierge/types/query.pb.go index 64d219deb..c2f8f49dd 100644 --- a/x/zoneconcierge/types/query.pb.go +++ b/x/zoneconcierge/types/query.pb.go @@ -6,9 +6,9 @@ package types import ( context "context" fmt "fmt" - types2 "github.com/babylonchain/babylon/x/btccheckpoint/types" - types1 "github.com/babylonchain/babylon/x/checkpointing/types" - types "github.com/babylonchain/babylon/x/epoching/types" + types2 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types1 "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types "github.com/babylonlabs-io/babylon/x/epoching/types" query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -1012,81 +1012,81 @@ func init() { } var fileDescriptor_cd665af90102da38 = []byte{ - // 1176 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0x8e, 0xf3, 0xab, 0xc9, 0x5b, 0x0a, 0xd5, 0x24, 0x2d, 0x8b, 0xdb, 0x6e, 0x22, 0x43, 0x69, - 0x5a, 0x12, 0x9b, 0x4d, 0x49, 0xab, 0x72, 0xa0, 0x6a, 0x52, 0x92, 0x46, 0x45, 0xa5, 0x35, 0x04, - 0x24, 0x2e, 0xc6, 0xf6, 0xce, 0x7a, 0xad, 0x64, 0x3d, 0x5b, 0xdb, 0xbb, 0xed, 0x36, 0x84, 0x03, - 0xea, 0x1d, 0x24, 0x2e, 0x88, 0x13, 0x27, 0x0e, 0x1c, 0x7a, 0xe3, 0x4f, 0x40, 0xea, 0x81, 0x43, - 0x25, 0x2e, 0x9c, 0x10, 0x4a, 0xf8, 0x37, 0x90, 0x90, 0x67, 0xc6, 0xbb, 0xfe, 0xb9, 0xeb, 0x0d, - 0xb9, 0xed, 0x8c, 0xdf, 0xfb, 0xbe, 0xef, 0xbd, 0x79, 0x33, 0xef, 0x2d, 0xbc, 0x65, 0xe8, 0x46, - 0x77, 0x8f, 0x38, 0xca, 0x53, 0xe2, 0x60, 0x93, 0x38, 0xa6, 0x8d, 0x5d, 0x0b, 0x2b, 0x9d, 0xaa, - 0xf2, 0xa8, 0x8d, 0xdd, 0xae, 0xdc, 0x72, 0x89, 0x4f, 0x50, 0x99, 0x5b, 0xc9, 0x31, 0x2b, 0xb9, - 0x53, 0x15, 0xe7, 0x2d, 0x62, 0x11, 0x6a, 0xa4, 0x04, 0xbf, 0x98, 0xbd, 0x78, 0xc1, 0x22, 0xc4, - 0xda, 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xc9, 0x8f, 0x2b, 0xb3, - 0xed, 0xa3, 0x7f, 0x05, 0xb8, 0x38, 0xb0, 0x65, 0xa2, 0x8d, 0x91, 0x64, 0x65, 0xf7, 0x79, 0xf1, - 0xce, 0xff, 0x03, 0xe1, 0x51, 0x3e, 0xa4, 0x51, 0xde, 0x43, 0xdb, 0x85, 0xa3, 0xcc, 0x78, 0x39, - 0x03, 0xc4, 0xde, 0xcb, 0xb9, 0xfe, 0xf1, 0x8b, 0xc3, 0x8a, 0xf0, 0xf2, 0xb0, 0x22, 0xfc, 0x7d, - 0x58, 0x11, 0xbe, 0x3b, 0xaa, 0x8c, 0xbd, 0x3c, 0xaa, 0x8c, 0xfd, 0x79, 0x54, 0x19, 0xfb, 0x62, - 0xcd, 0xb2, 0xfd, 0x46, 0xdb, 0x90, 0x4d, 0xd2, 0x0c, 0xe9, 0x28, 0x4c, 0x8f, 0xfb, 0x49, 0x82, - 0xdd, 0xef, 0xb6, 0xb0, 0x67, 0x4c, 0xd3, 0x3f, 0xd4, 0xd7, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, - 0x03, 0xf9, 0xf2, 0x6b, 0xc4, 0x10, 0x00, 0x00, + // 1182 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, + 0x17, 0xcf, 0xe6, 0x57, 0x93, 0xe7, 0x6f, 0xbf, 0x54, 0x93, 0xb4, 0x98, 0x6d, 0xeb, 0x44, 0x0b, + 0xa5, 0x69, 0x49, 0x76, 0x71, 0x4a, 0x1b, 0x95, 0x03, 0x55, 0x93, 0x92, 0x34, 0x2a, 0xaa, 0x9a, + 0x85, 0x80, 0xc4, 0xc5, 0xec, 0xae, 0xc7, 0xf6, 0x2a, 0xf1, 0x8e, 0xbb, 0xb3, 0x76, 0xeb, 0x86, + 0x70, 0x40, 0xbd, 0x83, 0xc4, 0x05, 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0xe6, 0x34, 0xfb, 0x4b, 0x7d, 0xe3, + 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x09, 0x4f, 0xa5, 0xb2, 0xc6, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/zoneconcierge/types/tx.pb.go b/x/zoneconcierge/types/tx.pb.go index 032e66afa..d9f617164 100644 --- a/x/zoneconcierge/types/tx.pb.go +++ b/x/zoneconcierge/types/tx.pb.go @@ -135,7 +135,7 @@ func init() { func init() { proto.RegisterFile("babylon/zoneconcierge/v1/tx.proto", fileDescriptor_35e2112d987e4e18) } var fileDescriptor_35e2112d987e4e18 = []byte{ - // 331 bytes of a gzipped FileDescriptorProto + // 333 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0xaf, 0xca, 0xcf, 0x4b, 0x4d, 0xce, 0xcf, 0x4b, 0xce, 0x4c, 0x2d, 0x4a, 0x4f, 0xd5, 0x2f, 0x33, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x80, @@ -151,12 +151,12 @@ var fileDescriptor_35e2112d987e4e18 = []byte{ 0x93, 0x67, 0x08, 0x82, 0xea, 0xb2, 0xe2, 0x6b, 0x7a, 0xbe, 0x41, 0x0b, 0x61, 0x9e, 0x92, 0x24, 0x97, 0x38, 0x9a, 0xd3, 0x82, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0xaa, 0xb8, 0x98, 0x7d, 0x8b, 0xd3, 0x85, 0x72, 0xb8, 0x78, 0x50, 0x5c, 0xae, 0x89, 0xdb, 0x46, 0x34, 0x93, 0xa4, - 0x0c, 0x89, 0x56, 0x0a, 0xb3, 0x54, 0x8a, 0xb5, 0xe1, 0xf9, 0x06, 0x2d, 0x46, 0x27, 0xff, 0x13, + 0x0c, 0x89, 0x56, 0x0a, 0xb3, 0x54, 0x8a, 0xb5, 0xe1, 0xf9, 0x06, 0x2d, 0x46, 0xa7, 0xc0, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, - 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, - 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x9a, 0x9e, 0x9c, 0x91, 0x98, 0x99, 0x07, 0xe3, 0xe8, 0x57, - 0xa0, 0xc5, 0x46, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x2a, 0x8c, 0x01, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x05, 0xf5, 0x03, 0x87, 0x3a, 0x02, 0x00, 0x00, + 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, + 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x9a, 0x9e, 0x93, 0x98, 0x54, 0xac, 0x9b, 0x99, 0x0f, 0xe3, + 0xea, 0x57, 0xa0, 0xc5, 0x47, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x32, 0x8c, 0x01, + 0x01, 0x00, 0x00, 0xff, 0xff, 0x55, 0x48, 0x49, 0xed, 0x3c, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/zoneconcierge/types/zoneconcierge.pb.go b/x/zoneconcierge/types/zoneconcierge.pb.go index 8f4031b56..8e3d792b7 100644 --- a/x/zoneconcierge/types/zoneconcierge.pb.go +++ b/x/zoneconcierge/types/zoneconcierge.pb.go @@ -5,10 +5,10 @@ package types import ( fmt "fmt" - types2 "github.com/babylonchain/babylon/x/btccheckpoint/types" - types3 "github.com/babylonchain/babylon/x/btclightclient/types" - types1 "github.com/babylonchain/babylon/x/checkpointing/types" - types "github.com/babylonchain/babylon/x/epoching/types" + types2 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types3 "github.com/babylonlabs-io/babylon/x/btclightclient/types" + types1 "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types "github.com/babylonlabs-io/babylon/x/epoching/types" crypto "github.com/cometbft/cometbft/proto/tendermint/crypto" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" @@ -639,68 +639,68 @@ func init() { } var fileDescriptor_ab886e1868e5c5cd = []byte{ - // 964 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xcf, 0xc6, 0x4e, 0xd2, 0x3c, 0xc7, 0x6d, 0x98, 0xa4, 0xd4, 0x0d, 0xc2, 0xb1, 0x5c, 0xa9, - 0xb8, 0x08, 0xd6, 0xb2, 0x81, 0x03, 0xdc, 0xb0, 0xd5, 0xd2, 0x14, 0x44, 0xd1, 0xda, 0x2d, 0x08, - 0x81, 0x56, 0xfb, 0x67, 0xbc, 0xbb, 0xca, 0x7a, 0xc7, 0xda, 0x9d, 0xb8, 0x71, 0x3e, 0x45, 0xbf, - 0x05, 0x5c, 0xf9, 0x00, 0xdc, 0x39, 0xf6, 0xc8, 0x0d, 0x94, 0x7c, 0x05, 0x2e, 0xdc, 0xd0, 0xbc, - 0x99, 0x59, 0xef, 0x26, 0x32, 0x49, 0x2f, 0xd1, 0xce, 0xcc, 0xef, 0xbd, 0xf7, 0x7b, 0xbf, 0xf7, - 0xc7, 0x81, 0x8f, 0x5c, 0xc7, 0x5d, 0xc4, 0x2c, 0xe9, 0x9e, 0xb1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0x75, 0x92, 0xcc, 0xf1, 0x78, 0xc4, 0x64, 0x5f, 0xec, 0x15, - 0x7c, 0x6b, 0x2f, 0xed, 0x9f, 0xe0, 0xce, 0x60, 0x3c, 0x44, 0x75, 0x46, 0x34, 0x98, 0xd2, 0x84, - 0x93, 0x23, 0xa8, 0x89, 0xc6, 0xd6, 0x5b, 0x5d, 0x76, 0x48, 0xa7, 0x18, 0xa7, 0xf8, 0x73, 0x3a, - 0xef, 0x99, 0x83, 0xf1, 0x50, 0xab, 0x31, 0x61, 0x16, 0xb8, 0xdc, 0x53, 0x7b, 0x6e, 0xf0, 0xfc, - 0x8f, 0xf3, 0xa6, 0xf1, 0xe6, 0xbc, 0x69, 0xfc, 0x7d, 0xde, 0x34, 0x5e, 0x5f, 0x34, 0xd7, 0xde, - 0x5c, 0x34, 0xd7, 0xfe, 0xbc, 0x68, 0xae, 0xfd, 0xf8, 0x59, 0x10, 0xf1, 0xf0, 0xc4, 0x35, 0x3d, - 0x36, 0xed, 0x2a, 0xcf, 0xb8, 0x25, 0xf4, 0xa1, 0x7b, 0x7a, 0xe9, 0x9f, 0x21, 0xbe, 0x98, 0xd1, - 0xcc, 0xdd, 0xc4, 0xdf, 0xd1, 0x4f, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xbe, 0xdf, 0x50, 0x58, - 0x32, 0x09, 0x00, 0x00, + // 968 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xce, 0xc6, 0x4e, 0xd2, 0x1c, 0xc7, 0x6d, 0x98, 0xa4, 0xd4, 0x0d, 0xc2, 0xb1, 0x5c, 0xa9, + 0xb8, 0x88, 0xae, 0x65, 0x83, 0x84, 0xe0, 0x0e, 0x5b, 0x2d, 0x4d, 0x41, 0xfc, 0xac, 0xdd, 0x82, + 0x10, 0x68, 0xb5, 0x3f, 0x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a3, 0x29, 0xc3, 0x31, 0x34, 0x09, 0x00, 0x00, } func (m *IndexedHeader) Marshal() (dAtA []byte, err error) { From 8bcb55d2209eeea962942c20899f4591d25a04f0 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 30 Jul 2024 15:27:45 +1000 Subject: [PATCH 19/21] chore: fix license name (#5) --- LICENSE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index d08b6069f..dc41cf54b 100644 --- a/LICENSE +++ b/LICENSE @@ -8,10 +8,10 @@ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. Parameters -Licensor: BabylonLabs, Ltd. +Licensor: Babylon Labs, Ltd. Licensed Work: Babylon - The Licensed Work is (c) 2023 BabylonLabs, Ltd. + The Licensed Work is (c) 2023 Babylon Labs, Ltd. Additional Use Grant: None. From ce31233233d496868bd1c83794c30ec3456c0b16 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 30 Jul 2024 16:42:27 +1000 Subject: [PATCH 20/21] fix compile --- app/app.go | 56 +++---- app/keepers/keepers.go | 63 +++++--- client/query/btcstkconsumer.go | 2 +- go.mod | 2 - proto/babylon/btcstaking/v1/packet.proto | 2 +- .../btcstkconsumer/v1/btcstkconsumer.proto | 2 +- proto/babylon/btcstkconsumer/v1/genesis.proto | 2 +- proto/babylon/btcstkconsumer/v1/params.proto | 2 +- proto/babylon/btcstkconsumer/v1/query.proto | 4 +- proto/babylon/btcstkconsumer/v1/tx.proto | 2 +- proto/buf.lock | 4 +- test/e2e/btc_staking_e2e_test.go | 10 +- test/e2e/btc_staking_integration_e2e_test.go | 16 +- test/e2e/btc_timestamping_e2e_test.go | 1 + .../chain/commands_btcstaking_integration.go | 7 +- .../chain/queries_btcstaking_contract.go | 4 +- .../chain/queries_btcstaking_integration.go | 4 +- testutil/datagen/btcstkconsumer.go | 2 +- testutil/keeper/btcstkconsumer.go | 4 +- wasmbinding/grpc_whitelist.go | 6 +- wasmbinding/test/grpc_query_test.go | 4 +- wasmbinding/test/testutils.go | 2 +- .../keeper/btc_consumer_delegations.go | 4 +- .../keeper/btc_staking_consumer_events.go | 2 +- .../btc_staking_consumer_events_test.go | 8 +- x/btcstaking/keeper/restaking_test.go | 6 +- x/btcstaking/types/packet.pb.go | 130 +++++++-------- x/btcstkconsumer/abci.go | 4 +- x/btcstkconsumer/client/cli/query.go | 2 +- x/btcstkconsumer/client/cli/query_params.go | 2 +- x/btcstkconsumer/client/cli/tx.go | 2 +- x/btcstkconsumer/genesis.go | 4 +- x/btcstkconsumer/keeper/consumer_registry.go | 2 +- .../keeper/consumer_registry_test.go | 4 +- .../keeper/finality_provider_registry.go | 6 +- .../keeper/finality_provider_registry_test.go | 8 +- x/btcstkconsumer/keeper/grpc_query.go | 6 +- x/btcstkconsumer/keeper/grpc_query_test.go | 8 +- x/btcstkconsumer/keeper/keeper.go | 2 +- x/btcstkconsumer/keeper/msg_server.go | 2 +- x/btcstkconsumer/keeper/msg_server_test.go | 6 +- x/btcstkconsumer/keeper/msg_update_params.go | 2 +- .../keeper/msg_update_params_test.go | 2 +- x/btcstkconsumer/keeper/params.go | 2 +- x/btcstkconsumer/keeper/params_test.go | 4 +- x/btcstkconsumer/keeper/query.go | 2 +- x/btcstkconsumer/keeper/query_params.go | 2 +- x/btcstkconsumer/keeper/query_params_test.go | 4 +- x/btcstkconsumer/module.go | 6 +- x/btcstkconsumer/types/btcstkconsumer.pb.go | 12 +- x/btcstkconsumer/types/genesis.pb.go | 12 +- x/btcstkconsumer/types/genesis_test.go | 2 +- x/btcstkconsumer/types/params.pb.go | 12 +- x/btcstkconsumer/types/query.go | 2 +- x/btcstkconsumer/types/query.pb.go | 152 +++++++++--------- x/btcstkconsumer/types/tx.pb.go | 64 ++++---- .../ibc_packet_btc_staking_consumer_event.go | 2 +- x/zoneconcierge/types/packet.pb.go | 2 +- 58 files changed, 357 insertions(+), 336 deletions(-) diff --git a/app/app.go b/app/app.go index f8522446c..09d957bdf 100644 --- a/app/app.go +++ b/app/app.go @@ -24,6 +24,33 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + appkeepers "github.com/babylonlabs-io/babylon/app/keepers" + appparams "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/babylon/app/upgrades" + "github.com/babylonlabs-io/babylon/client/docs" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btccheckpoint" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/x/btclightclient" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/x/btcstaking" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/checkpointing" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/x/epoching" + epochingkeeper "github.com/babylonlabs-io/babylon/x/epoching/keeper" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/x/finality" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/x/incentive" + incentivetypes "github.com/babylonlabs-io/babylon/x/incentive/types" + "github.com/babylonlabs-io/babylon/x/monitor" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge" + zckeeper "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" + zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" abci "github.com/cometbft/cometbft/abci/types" cmtos "github.com/cometbft/cometbft/libs/os" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" @@ -92,33 +119,6 @@ import ( ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported" ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" "github.com/spf13/cast" - - "github.com/babylonlabs-io/babylon/app/upgrades" - bbn "github.com/babylonlabs-io/babylon/types" - - appkeepers "github.com/babylonlabs-io/babylon/app/keepers" - appparams "github.com/babylonlabs-io/babylon/app/params" - "github.com/babylonlabs-io/babylon/client/docs" - "github.com/babylonlabs-io/babylon/x/btccheckpoint" - btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" - "github.com/babylonlabs-io/babylon/x/btclightclient" - btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" - "github.com/babylonlabs-io/babylon/x/btcstaking" - btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" - "github.com/babylonlabs-io/babylon/x/checkpointing" - checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" - "github.com/babylonlabs-io/babylon/x/epoching" - epochingkeeper "github.com/babylonlabs-io/babylon/x/epoching/keeper" - epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" - "github.com/babylonlabs-io/babylon/x/finality" - finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" - "github.com/babylonlabs-io/babylon/x/incentive" - incentivetypes "github.com/babylonlabs-io/babylon/x/incentive/types" - "github.com/babylonlabs-io/babylon/x/monitor" - monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" - "github.com/babylonlabs-io/babylon/x/zoneconcierge" - zckeeper "github.com/babylonlabs-io/babylon/x/zoneconcierge/keeper" - zctypes "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" ) const ( @@ -576,7 +576,7 @@ func NewBabylonApp( // At startup, after all modules have been registered, check that all proto // annotations are correct. - // FIXME (https://github.com/babylonchain/babylon-private/issues/266): This is a temporary fix + // FIXME (https://github.com/babylonlabs-io/babylon-private/issues/266): This is a temporary fix protoFiles, _ := proto.MergedRegistry() // if err != nil { // panic(err) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 74174a608..6630cc28b 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -70,6 +70,8 @@ import ( btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" btcstakingkeeper "github.com/babylonlabs-io/babylon/x/btcstaking/keeper" btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + bsckeeper "github.com/babylonlabs-io/babylon/x/btcstkconsumer/keeper" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" checkpointingkeeper "github.com/babylonlabs-io/babylon/x/checkpointing/keeper" checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" epochingkeeper "github.com/babylonlabs-io/babylon/x/epoching/keeper" @@ -129,11 +131,14 @@ type AppKeepers struct { MonitorKeeper monitorkeeper.Keeper // IBC-related modules - IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly - IBCFeeKeeper ibcfeekeeper.Keeper // for relayer incentivization - https://github.com/cosmos/ibc/tree/main/spec/app/ics-029-fee-payment - TransferKeeper ibctransferkeeper.Keeper // for cross-chain fungible token transfers - IBCWasmKeeper ibcwasmkeeper.Keeper // for IBC wasm light clients - ZoneConciergeKeeper zckeeper.Keeper // for cross-chain fungible token transfers + IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly + IBCFeeKeeper ibcfeekeeper.Keeper // for relayer incentivization - https://github.com/cosmos/ibc/tree/main/spec/app/ics-029-fee-payment + TransferKeeper ibctransferkeeper.Keeper // for cross-chain fungible token transfers + IBCWasmKeeper ibcwasmkeeper.Keeper // for IBC wasm light clients + + // Integration-related modules + BTCStkConsumerKeeper bsckeeper.Keeper + ZoneConciergeKeeper zckeeper.Keeper // BTC staking related modules BTCStakingKeeper btcstakingkeeper.Keeper @@ -463,25 +468,6 @@ func (ak *AppKeepers) InitKeepers( ak.IBCKeeper.PortKeeper, ak.AccountKeeper, ak.BankKeeper, ) - zcKeeper := zckeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[zctypes.StoreKey]), - ak.IBCFeeKeeper, - ak.IBCKeeper.ClientKeeper, - ak.IBCKeeper.ChannelKeeper, - ak.IBCKeeper.PortKeeper, - ak.AccountKeeper, - ak.BankKeeper, - &btclightclientKeeper, - &checkpointingKeeper, - &btcCheckpointKeeper, - epochingKeeper, - storeQuerier, - scopedZoneConciergeKeeper, - authtypes.NewModuleAddress(govtypes.ModuleName).String(), - ) - ak.ZoneConciergeKeeper = *zcKeeper - // Create Transfer Keepers ak.TransferKeeper = ibctransferkeeper.NewKeeper( appCodec, @@ -518,6 +504,14 @@ func (ak *AppKeepers) InitKeepers( btclightclienttypes.NewMultiBTCLightClientHooks(ak.BtcCheckpointKeeper.Hooks()), ) + ak.BTCStkConsumerKeeper = bsckeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[bsctypes.StoreKey]), + ak.AccountKeeper, + ak.BankKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + // set up BTC staking keeper ak.BTCStakingKeeper = btcstakingkeeper.NewKeeper( appCodec, @@ -525,6 +519,7 @@ func (ak *AppKeepers) InitKeepers( &btclightclientKeeper, &btcCheckpointKeeper, &checkpointingKeeper, + &ak.BTCStkConsumerKeeper, btcNetParams, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) @@ -540,6 +535,26 @@ func (ak *AppKeepers) InitKeepers( ak.BTCStakingKeeper = *ak.BTCStakingKeeper.SetHooks(btcstakingtypes.NewMultiBtcStakingHooks(ak.FinalityKeeper.Hooks())) ak.FinalityKeeper = *ak.FinalityKeeper.SetHooks(finalitytypes.NewMultiFinalityHooks(ak.BTCStakingKeeper.Hooks())) + zcKeeper := zckeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[zctypes.StoreKey]), + ak.IBCFeeKeeper, + ak.IBCKeeper.ClientKeeper, + ak.IBCKeeper.ChannelKeeper, + ak.IBCKeeper.PortKeeper, + ak.AccountKeeper, + ak.BankKeeper, + &btclightclientKeeper, + &checkpointingKeeper, + &btcCheckpointKeeper, + epochingKeeper, + storeQuerier, + &ak.BTCStakingKeeper, + scopedZoneConciergeKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), + ) + ak.ZoneConciergeKeeper = *zcKeeper + // create evidence keeper with router evidenceKeeper := evidencekeeper.NewKeeper( appCodec, diff --git a/client/query/btcstkconsumer.go b/client/query/btcstkconsumer.go index 8601e9791..20a363bbe 100644 --- a/client/query/btcstkconsumer.go +++ b/client/query/btcstkconsumer.go @@ -3,7 +3,7 @@ package query import ( "context" - bsctypes "github.com/babylonchain/babylon/x/btcstkconsumer/types" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" "github.com/cosmos/cosmos-sdk/client" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/go.mod b/go.mod index 57f9595cd..6be04f2a7 100644 --- a/go.mod +++ b/go.mod @@ -146,7 +146,6 @@ require ( cloud.google.com/go/compute/metadata v0.3.0 // indirect cloud.google.com/go/iam v1.1.6 // indirect cloud.google.com/go/storage v1.38.0 // indirect - cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/x/nft v0.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect @@ -157,7 +156,6 @@ require ( github.com/aead/siphash v1.0.1 // indirect github.com/aws/aws-sdk-go v1.44.312 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect - github.com/bits-and-blooms/bitset v1.10.0 // indirect github.com/bufbuild/connect-go v1.5.2 // indirect github.com/bufbuild/protocompile v0.6.0 // indirect github.com/cenkalti/backoff/v4 v4.2.0 // indirect diff --git a/proto/babylon/btcstaking/v1/packet.proto b/proto/babylon/btcstaking/v1/packet.proto index 5507d130b..286c1dbc3 100644 --- a/proto/babylon/btcstaking/v1/packet.proto +++ b/proto/babylon/btcstaking/v1/packet.proto @@ -5,7 +5,7 @@ import "cosmos/staking/v1beta1/staking.proto"; import "babylon/btcstaking/v1/pop.proto"; import "babylon/btcstaking/v1/btcstaking.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstaking/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstaking/types"; // ConsumerIBCPacket is an IBC packet sent from consumer to Babylon // upon a finality provider being slashed on the consumer diff --git a/proto/babylon/btcstkconsumer/v1/btcstkconsumer.proto b/proto/babylon/btcstkconsumer/v1/btcstkconsumer.proto index ff42713af..1ab95801c 100644 --- a/proto/babylon/btcstkconsumer/v1/btcstkconsumer.proto +++ b/proto/babylon/btcstkconsumer/v1/btcstkconsumer.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package babylon.btcstkconsumer.v1; -option go_package = "github.com/babylonchain/babylon/x/btcstkconsumer/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types"; // ConsumerRegister is the registration information of a consumer message ConsumerRegister { diff --git a/proto/babylon/btcstkconsumer/v1/genesis.proto b/proto/babylon/btcstkconsumer/v1/genesis.proto index 5da464486..29fd226e2 100644 --- a/proto/babylon/btcstkconsumer/v1/genesis.proto +++ b/proto/babylon/btcstkconsumer/v1/genesis.proto @@ -5,7 +5,7 @@ import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "babylon/btcstkconsumer/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstkconsumer/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types"; // GenesisState defines the btcstkconsumer module's genesis state. message GenesisState { diff --git a/proto/babylon/btcstkconsumer/v1/params.proto b/proto/babylon/btcstkconsumer/v1/params.proto index da07f79ee..2bc7218c6 100644 --- a/proto/babylon/btcstkconsumer/v1/params.proto +++ b/proto/babylon/btcstkconsumer/v1/params.proto @@ -4,7 +4,7 @@ package babylon.btcstkconsumer.v1; import "amino/amino.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstkconsumer/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types"; // Params defines the parameters for the module. message Params { diff --git a/proto/babylon/btcstkconsumer/v1/query.proto b/proto/babylon/btcstkconsumer/v1/query.proto index 1639d9b5e..3ababf823 100644 --- a/proto/babylon/btcstkconsumer/v1/query.proto +++ b/proto/babylon/btcstkconsumer/v1/query.proto @@ -12,7 +12,7 @@ import "babylon/btcstaking/v1/pop.proto"; import "babylon/btcstkconsumer/v1/btcstkconsumer.proto"; import "babylon/btcstkconsumer/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstkconsumer/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types"; // Query defines the gRPC querier service. service Query { @@ -124,7 +124,7 @@ message FinalityProviderResponse { string addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonchain/babylon/types.BIP340PubKey" ]; + bytes btc_pk = 4 [ (gogoproto.customtype) = "github.com/babylonlabs-io/babylon/types.BIP340PubKey" ]; // pop is the proof of possession of babylon_pk and btc_pk btcstaking.v1.ProofOfPossessionBTC pop = 5; // slashed_babylon_height indicates the Babylon height when diff --git a/proto/babylon/btcstkconsumer/v1/tx.proto b/proto/babylon/btcstkconsumer/v1/tx.proto index bb3c0f1d0..e544d24ad 100644 --- a/proto/babylon/btcstkconsumer/v1/tx.proto +++ b/proto/babylon/btcstkconsumer/v1/tx.proto @@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "babylon/btcstkconsumer/v1/params.proto"; -option go_package = "github.com/babylonchain/babylon/x/btcstkconsumer/types"; +option go_package = "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/buf.lock b/proto/buf.lock index 850ba5bf8..96e6f0d73 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -19,8 +19,8 @@ deps: - remote: buf.build owner: cosmos repository: ibc - commit: 6b221c7d310545198c1dafe70287d254 - digest: shake256:c5ea4d89af1c47f4d02057892eacdcb863359178079d9599f30d853b374fe9e9bfb3d9ca6720361c3439999a885a4f87fff4cd41c6c26b1f1142d60c386f8323 + commit: ef1dd1634b6c429bb2b52d983a683ce3 + digest: shake256:8325b0de8e8a2e027a8d33e0585a13273ce34b510cbedf7b785882a785baa62d42405ab2a836ea42fb1ddf098580f5cfc2414b1851dfcdd0b7c84851e96afeb9 - remote: buf.build owner: cosmos repository: ics23 diff --git a/test/e2e/btc_staking_e2e_test.go b/test/e2e/btc_staking_e2e_test.go index 4823db92f..f3e837e65 100644 --- a/test/e2e/btc_staking_e2e_test.go +++ b/test/e2e/btc_staking_e2e_test.go @@ -9,7 +9,6 @@ import ( sdkmath "cosmossdk.io/math" feegrantcli "cosmossdk.io/x/feegrant/client/cli" - "github.com/babylonlabs-io/babylon/app/params" "github.com/babylonlabs-io/babylon/crypto/eots" "github.com/babylonlabs-io/babylon/test/e2e/configurer" @@ -21,6 +20,12 @@ import ( bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" ftypes "github.com/babylonlabs-io/babylon/x/finality/types" itypes "github.com/babylonlabs-io/babylon/x/incentive/types" + "github.com/btcsuite/btcd/btcec/v2" + "github.com/btcsuite/btcd/btcutil" + "github.com/btcsuite/btcd/chaincfg" + "github.com/btcsuite/btcd/wire" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/stretchr/testify/suite" ) var ( @@ -704,8 +709,9 @@ func (s *BTCStakingTestSuite) Test8BTCDelegationFeeGrantTyped() { // s.Require().Contains(output, feegrant.ErrFeeLimitExceeded.Error()) // submit the message to create BTC delegation using the fee grant at the max of spend limit + btcPKs := []bbn.BIP340PubKey{*bbn.NewBIP340PubKeyFromBTCPK(delBTCPK)} node.CreateBTCDelegation( - delBTCPKs, + btcPKs, pop, stakingTxInfo, []*bbn.BIP340PubKey{cacheFP.BtcPk}, diff --git a/test/e2e/btc_staking_integration_e2e_test.go b/test/e2e/btc_staking_integration_e2e_test.go index 1abc2afc2..f7ff1a6ee 100644 --- a/test/e2e/btc_staking_integration_e2e_test.go +++ b/test/e2e/btc_staking_integration_e2e_test.go @@ -7,14 +7,14 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/test/e2e/configurer" - "github.com/babylonchain/babylon/test/e2e/configurer/chain" - "github.com/babylonchain/babylon/test/e2e/initialization" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - bsctypes "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/test/e2e/configurer" + "github.com/babylonlabs-io/babylon/test/e2e/configurer/chain" + "github.com/babylonlabs-io/babylon/test/e2e/initialization" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" diff --git a/test/e2e/btc_timestamping_e2e_test.go b/test/e2e/btc_timestamping_e2e_test.go index d6f7268bd..93c504403 100644 --- a/test/e2e/btc_timestamping_e2e_test.go +++ b/test/e2e/btc_timestamping_e2e_test.go @@ -9,6 +9,7 @@ import ( "strconv" "time" + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/babylonlabs-io/babylon/test/e2e/configurer" "github.com/babylonlabs-io/babylon/test/e2e/initialization" bbn "github.com/babylonlabs-io/babylon/types" diff --git a/test/e2e/configurer/chain/commands_btcstaking_integration.go b/test/e2e/configurer/chain/commands_btcstaking_integration.go index 94145a337..d8ef9e2b5 100644 --- a/test/e2e/configurer/chain/commands_btcstaking_integration.go +++ b/test/e2e/configurer/chain/commands_btcstaking_integration.go @@ -1,10 +1,11 @@ package chain import ( - sdkmath "cosmossdk.io/math" "fmt" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + + sdkmath "cosmossdk.io/math" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/configurer/chain/queries_btcstaking_contract.go b/test/e2e/configurer/chain/queries_btcstaking_contract.go index 60c834226..b451283f5 100644 --- a/test/e2e/configurer/chain/queries_btcstaking_contract.go +++ b/test/e2e/configurer/chain/queries_btcstaking_contract.go @@ -15,8 +15,8 @@ type ConsumerFpsResponse struct { // ConsumerFpResponse represents the finality provider data returned by the contract query. // For more details, refer to the following links: -// https://github.com/babylonchain/babylon-contract/blob/v0.7.0/contracts/btc-staking/src/msg.rs -// https://github.com/babylonchain/babylon-contract/blob/v0.7.0/contracts/btc-staking/schema/btc-staking.json +// https://github.com/babylonlabs-io/babylon-contract/blob/v0.7.0/contracts/btc-staking/src/msg.rs +// https://github.com/babylonlabs-io/babylon-contract/blob/v0.7.0/contracts/btc-staking/schema/btc-staking.json type ConsumerFpResponse struct { BtcPkHex string `json:"btc_pk_hex"` SlashedHeight uint64 `json:"slashed_height"` diff --git a/test/e2e/configurer/chain/queries_btcstaking_integration.go b/test/e2e/configurer/chain/queries_btcstaking_integration.go index 54efd7daa..7f237779d 100644 --- a/test/e2e/configurer/chain/queries_btcstaking_integration.go +++ b/test/e2e/configurer/chain/queries_btcstaking_integration.go @@ -6,8 +6,8 @@ import ( "net/url" "strconv" - "github.com/babylonchain/babylon/test/e2e/util" - bsctypes "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/test/e2e/util" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" "github.com/cosmos/cosmos-sdk/types/query" "github.com/stretchr/testify/require" ) diff --git a/testutil/datagen/btcstkconsumer.go b/testutil/datagen/btcstkconsumer.go index 38f66e940..18c7e28f3 100644 --- a/testutil/datagen/btcstkconsumer.go +++ b/testutil/datagen/btcstkconsumer.go @@ -3,7 +3,7 @@ package datagen import ( "math/rand" - bsctypes "github.com/babylonchain/babylon/x/btcstkconsumer/types" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func GenRandomConsumerRegister(r *rand.Rand) *bsctypes.ConsumerRegister { diff --git a/testutil/keeper/btcstkconsumer.go b/testutil/keeper/btcstkconsumer.go index 3da4dd9a9..9c761b58a 100644 --- a/testutil/keeper/btcstkconsumer.go +++ b/testutil/keeper/btcstkconsumer.go @@ -17,8 +17,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/btcstkconsumer/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func BTCStkConsumerKeeper(t testing.TB) (keeper.Keeper, sdk.Context) { diff --git a/wasmbinding/grpc_whitelist.go b/wasmbinding/grpc_whitelist.go index 9f38ef44b..3c409b560 100644 --- a/wasmbinding/grpc_whitelist.go +++ b/wasmbinding/grpc_whitelist.go @@ -2,9 +2,9 @@ package wasmbinding import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - bsttypes "github.com/babylonchain/babylon/x/btcstaking/types" - bsctypes "github.com/babylonchain/babylon/x/btcstkconsumer/types" - epochtypes "github.com/babylonchain/babylon/x/epoching/types" + bsttypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" + epochtypes "github.com/babylonlabs-io/babylon/x/epoching/types" ) // WhitelistedGrpcQuery returns the whitelisted Grpc queries diff --git a/wasmbinding/test/grpc_query_test.go b/wasmbinding/test/grpc_query_test.go index 6f6aaae0b..b57780104 100644 --- a/wasmbinding/test/grpc_query_test.go +++ b/wasmbinding/test/grpc_query_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/CosmWasm/wasmd/x/wasm/keeper" - "github.com/babylonchain/babylon/app" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/app" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/wasmbinding/test/testutils.go b/wasmbinding/test/testutils.go index 6f707daf1..5dda26103 100644 --- a/wasmbinding/test/testutils.go +++ b/wasmbinding/test/testutils.go @@ -8,7 +8,7 @@ import ( "cosmossdk.io/math" "github.com/CosmWasm/wasmd/x/wasm/keeper" - "github.com/babylonchain/babylon/app" + "github.com/babylonlabs-io/babylon/app" "github.com/cometbft/cometbft/crypto" "github.com/cometbft/cometbft/crypto/ed25519" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" diff --git a/x/btcstaking/keeper/btc_consumer_delegations.go b/x/btcstaking/keeper/btc_consumer_delegations.go index dfe23c3b1..2fc80d7df 100644 --- a/x/btcstaking/keeper/btc_consumer_delegations.go +++ b/x/btcstaking/keeper/btc_consumer_delegations.go @@ -4,8 +4,8 @@ import ( "context" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/cosmos/cosmos-sdk/runtime" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/btcstaking/keeper/btc_staking_consumer_events.go b/x/btcstaking/keeper/btc_staking_consumer_events.go index 3bbcd2a5a..a87871fc8 100644 --- a/x/btcstaking/keeper/btc_staking_consumer_events.go +++ b/x/btcstaking/keeper/btc_staking_consumer_events.go @@ -5,7 +5,7 @@ import ( "fmt" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/cosmos/cosmos-sdk/runtime" ) diff --git a/x/btcstaking/keeper/btc_staking_consumer_events_test.go b/x/btcstaking/keeper/btc_staking_consumer_events_test.go index 983067e2d..4be39c03f 100644 --- a/x/btcstaking/keeper/btc_staking_consumer_events_test.go +++ b/x/btcstaking/keeper/btc_staking_consumer_events_test.go @@ -4,10 +4,10 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" - bsctypes "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" + bsctypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" diff --git a/x/btcstaking/keeper/restaking_test.go b/x/btcstaking/keeper/restaking_test.go index ffe07d12a..2e151aaa9 100644 --- a/x/btcstaking/keeper/restaking_test.go +++ b/x/btcstaking/keeper/restaking_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" diff --git a/x/btcstaking/types/packet.pb.go b/x/btcstaking/types/packet.pb.go index 4a69d0ccd..53c2797b5 100644 --- a/x/btcstaking/types/packet.pb.go +++ b/x/btcstaking/types/packet.pb.go @@ -818,72 +818,72 @@ func init() { } var fileDescriptor_3ed0d17ad14d6c0e = []byte{ - // 1037 bytes of a gzipped FileDescriptorProto + // 1039 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x73, 0xda, 0x46, - 0x14, 0x47, 0x18, 0x3b, 0xe1, 0x01, 0x8e, 0xb3, 0xb6, 0x63, 0x4d, 0xd2, 0x12, 0x97, 0xa4, 0x19, - 0xa6, 0x4d, 0x45, 0xed, 0x76, 0x7a, 0xeb, 0xc1, 0xe0, 0x78, 0xf0, 0xd4, 0x8d, 0xa9, 0xc0, 0xed, - 0x4c, 0x2f, 0x9a, 0x95, 0xb4, 0xc0, 0x0e, 0xb0, 0xab, 0xd1, 0x2e, 0x18, 0x7f, 0x89, 0x4e, 0x0f, - 0xfd, 0x44, 0x3d, 0xf5, 0x98, 0x5b, 0x7b, 0xec, 0xd8, 0xdf, 0xa2, 0xa7, 0x8e, 0x56, 0x12, 0x12, - 0x18, 0x3c, 0xa5, 0x37, 0x78, 0xef, 0xf7, 0xfe, 0xff, 0xde, 0x3e, 0x41, 0xc5, 0xc6, 0xf6, 0xcd, - 0x90, 0xb3, 0x9a, 0x2d, 0x1d, 0x21, 0xf1, 0x80, 0xb2, 0x5e, 0x6d, 0x72, 0x54, 0xf3, 0xb0, 0x33, - 0x20, 0xd2, 0xf0, 0x7c, 0x2e, 0x39, 0xda, 0x8f, 0x30, 0x46, 0x82, 0x31, 0x26, 0x47, 0xcf, 0x5f, - 0x3b, 0x5c, 0x8c, 0xb8, 0xa8, 0x25, 0x66, 0x36, 0x91, 0xf8, 0x28, 0xfe, 0x1f, 0x1a, 0x3f, 0x7f, - 0xb9, 0x22, 0x00, 0xf7, 0x22, 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xae, 0xa9, 0xb2, 0xee, 0x35, 0x6d, 0x65, 0xe6, 0xee, 0x69, + 0xe3, 0x11, 0x6c, 0x90, 0xa0, 0x7b, 0x8d, 0xf3, 0x3f, 0x6e, 0x2b, 0xca, 0xcd, 0x6d, 0x45, 0xf9, + 0xfb, 0xb6, 0xa2, 0xfc, 0x7a, 0x57, 0xc9, 0xdc, 0xdc, 0x55, 0x32, 0x7f, 0xdd, 0x55, 0x32, 0x3f, + 0xbf, 0xef, 0x53, 0x31, 0x18, 0x9b, 0x9a, 0xc5, 0x46, 0xf5, 0x28, 0x92, 0x83, 0x4d, 0xfe, 0x96, + 0xb2, 0xf8, 0x6f, 0x7d, 0x9a, 0xfe, 0x8e, 0x13, 0xd7, 0x1e, 0xe1, 0xe6, 0xa6, 0xfc, 0x80, 0xfb, + 0xfa, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0xdf, 0x64, 0x3a, 0x6c, 0x0a, 0x00, 0x00, } func (m *ConsumerIBCPacket) Marshal() (dAtA []byte, err error) { diff --git a/x/btcstkconsumer/abci.go b/x/btcstkconsumer/abci.go index e86643c03..31e75c3f1 100644 --- a/x/btcstkconsumer/abci.go +++ b/x/btcstkconsumer/abci.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/babylonchain/babylon/x/btcstkconsumer/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/telemetry" ) diff --git a/x/btcstkconsumer/client/cli/query.go b/x/btcstkconsumer/client/cli/query.go index c7eab5e24..b91612da8 100644 --- a/x/btcstkconsumer/client/cli/query.go +++ b/x/btcstkconsumer/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/btcstkconsumer/client/cli/query_params.go b/x/btcstkconsumer/client/cli/query_params.go index ed02f3752..6410444ee 100644 --- a/x/btcstkconsumer/client/cli/query_params.go +++ b/x/btcstkconsumer/client/cli/query_params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/btcstkconsumer/client/cli/tx.go b/x/btcstkconsumer/client/cli/tx.go index 7757c6927..89114187a 100644 --- a/x/btcstkconsumer/client/cli/tx.go +++ b/x/btcstkconsumer/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/btcstkconsumer/genesis.go b/x/btcstkconsumer/genesis.go index 76d1b3118..a41539329 100644 --- a/x/btcstkconsumer/genesis.go +++ b/x/btcstkconsumer/genesis.go @@ -3,8 +3,8 @@ package btcstkconsumer import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/btcstkconsumer/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) // InitGenesis initializes the module's state from a provided genesis state. diff --git a/x/btcstkconsumer/keeper/consumer_registry.go b/x/btcstkconsumer/keeper/consumer_registry.go index 8267eacfa..0064ad150 100644 --- a/x/btcstkconsumer/keeper/consumer_registry.go +++ b/x/btcstkconsumer/keeper/consumer_registry.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" "cosmossdk.io/store/prefix" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func (k Keeper) SetConsumerRegister(ctx context.Context, consumerRegister *types.ConsumerRegister) { diff --git a/x/btcstkconsumer/keeper/consumer_registry_test.go b/x/btcstkconsumer/keeper/consumer_registry_test.go index a7f1b6417..8b9afa2ff 100644 --- a/x/btcstkconsumer/keeper/consumer_registry_test.go +++ b/x/btcstkconsumer/keeper/consumer_registry_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" ) diff --git a/x/btcstkconsumer/keeper/finality_provider_registry.go b/x/btcstkconsumer/keeper/finality_provider_registry.go index 6f1302d30..7cb343f8c 100644 --- a/x/btcstkconsumer/keeper/finality_provider_registry.go +++ b/x/btcstkconsumer/keeper/finality_provider_registry.go @@ -8,9 +8,9 @@ import ( errorsmod "cosmossdk.io/errors" "cosmossdk.io/store/prefix" - bbn "github.com/babylonchain/babylon/types" - btcstaking "github.com/babylonchain/babylon/x/btcstaking/types" - btcstktypes "github.com/babylonchain/babylon/x/btcstkconsumer/types" + bbn "github.com/babylonlabs-io/babylon/types" + btcstaking "github.com/babylonlabs-io/babylon/x/btcstaking/types" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) // SetConsumerFinalityProvider adds the given finality provider to CZ chains KVStore diff --git a/x/btcstkconsumer/keeper/finality_provider_registry_test.go b/x/btcstkconsumer/keeper/finality_provider_registry_test.go index cf6136a3b..60d392d87 100644 --- a/x/btcstkconsumer/keeper/finality_provider_registry_test.go +++ b/x/btcstkconsumer/keeper/finality_provider_registry_test.go @@ -4,11 +4,11 @@ import ( "math/rand" "testing" - btcstaking "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + btcstaking "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" ) diff --git a/x/btcstkconsumer/keeper/grpc_query.go b/x/btcstkconsumer/keeper/grpc_query.go index b2e31ba0b..81aa1b8df 100644 --- a/x/btcstkconsumer/keeper/grpc_query.go +++ b/x/btcstkconsumer/keeper/grpc_query.go @@ -4,11 +4,11 @@ import ( "context" errorsmod "cosmossdk.io/errors" - btcstaking "github.com/babylonchain/babylon/x/btcstaking/types" + btcstaking "github.com/babylonlabs-io/babylon/x/btcstaking/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - bbn "github.com/babylonchain/babylon/types" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + bbn "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" "google.golang.org/grpc/codes" diff --git a/x/btcstkconsumer/keeper/grpc_query_test.go b/x/btcstkconsumer/keeper/grpc_query_test.go index ee50fba47..b4c81da6f 100644 --- a/x/btcstkconsumer/keeper/grpc_query_test.go +++ b/x/btcstkconsumer/keeper/grpc_query_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" - btcstaking "github.com/babylonchain/babylon/x/btcstaking/types" + btcstaking "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) type consumerRegister struct { diff --git a/x/btcstkconsumer/keeper/keeper.go b/x/btcstkconsumer/keeper/keeper.go index 03c82f845..f0cba5e49 100644 --- a/x/btcstkconsumer/keeper/keeper.go +++ b/x/btcstkconsumer/keeper/keeper.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) type Keeper struct { diff --git a/x/btcstkconsumer/keeper/msg_server.go b/x/btcstkconsumer/keeper/msg_server.go index f8b5c615a..7e2f55f4f 100644 --- a/x/btcstkconsumer/keeper/msg_server.go +++ b/x/btcstkconsumer/keeper/msg_server.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/btcstkconsumer/keeper/msg_server_test.go b/x/btcstkconsumer/keeper/msg_server_test.go index da6a5a1f6..322f1d318 100644 --- a/x/btcstkconsumer/keeper/msg_server_test.go +++ b/x/btcstkconsumer/keeper/msg_server_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func setupMsgServer(t testing.TB) (keeper.Keeper, types.MsgServer, context.Context) { diff --git a/x/btcstkconsumer/keeper/msg_update_params.go b/x/btcstkconsumer/keeper/msg_update_params.go index a5ff343b3..b4fcb97d7 100644 --- a/x/btcstkconsumer/keeper/msg_update_params.go +++ b/x/btcstkconsumer/keeper/msg_update_params.go @@ -6,7 +6,7 @@ import ( errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { diff --git a/x/btcstkconsumer/keeper/msg_update_params_test.go b/x/btcstkconsumer/keeper/msg_update_params_test.go index 06b01ff24..6ef3337ab 100644 --- a/x/btcstkconsumer/keeper/msg_update_params_test.go +++ b/x/btcstkconsumer/keeper/msg_update_params_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func TestMsgUpdateParams(t *testing.T) { diff --git a/x/btcstkconsumer/keeper/params.go b/x/btcstkconsumer/keeper/params.go index f666e73ed..c5a4dc7d6 100644 --- a/x/btcstkconsumer/keeper/params.go +++ b/x/btcstkconsumer/keeper/params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) // GetParams get all parameters as types.Params diff --git a/x/btcstkconsumer/keeper/params_test.go b/x/btcstkconsumer/keeper/params_test.go index 2b1a65e9c..f6a02f115 100644 --- a/x/btcstkconsumer/keeper/params_test.go +++ b/x/btcstkconsumer/keeper/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func TestGetParams(t *testing.T) { diff --git a/x/btcstkconsumer/keeper/query.go b/x/btcstkconsumer/keeper/query.go index 3843e23f2..8f1684a08 100644 --- a/x/btcstkconsumer/keeper/query.go +++ b/x/btcstkconsumer/keeper/query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/btcstkconsumer/keeper/query_params.go b/x/btcstkconsumer/keeper/query_params.go index 8e927bc0e..ae3cd6b78 100644 --- a/x/btcstkconsumer/keeper/query_params.go +++ b/x/btcstkconsumer/keeper/query_params.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/btcstkconsumer/keeper/query_params_test.go b/x/btcstkconsumer/keeper/query_params_test.go index c2242067b..9eaf1a184 100644 --- a/x/btcstkconsumer/keeper/query_params_test.go +++ b/x/btcstkconsumer/keeper/query_params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/babylonchain/babylon/testutil/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + keepertest "github.com/babylonlabs-io/babylon/testutil/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/btcstkconsumer/module.go b/x/btcstkconsumer/module.go index fd0ed6eab..d9239e6d4 100644 --- a/x/btcstkconsumer/module.go +++ b/x/btcstkconsumer/module.go @@ -16,9 +16,9 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "github.com/babylonchain/babylon/x/btcstkconsumer/client/cli" - "github.com/babylonchain/babylon/x/btcstkconsumer/keeper" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/client/cli" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/keeper" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" ) var ( diff --git a/x/btcstkconsumer/types/btcstkconsumer.pb.go b/x/btcstkconsumer/types/btcstkconsumer.pb.go index 0d3c6e668..0a4928364 100644 --- a/x/btcstkconsumer/types/btcstkconsumer.pb.go +++ b/x/btcstkconsumer/types/btcstkconsumer.pb.go @@ -96,7 +96,7 @@ func init() { } var fileDescriptor_de3ccd621fe1efd4 = []byte{ - // 217 bytes of a gzipped FileDescriptorProto + // 219 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4b, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0x2e, 0x2e, 0xc9, 0x4e, 0xce, 0xcf, 0x2b, 0x2e, 0xcd, 0x4d, 0x2d, 0xd2, 0x2f, 0x33, 0x44, 0x13, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x84, @@ -105,12 +105,12 @@ var fileDescriptor_de3ccd621fe1efd4 = []byte{ 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0xb8, 0x60, 0x42, 0x9e, 0x29, 0x42, 0xca, 0x5c, 0xbc, 0x70, 0x05, 0x79, 0x89, 0xb9, 0xa9, 0x12, 0x4c, 0x60, 0x25, 0x3c, 0x30, 0x41, 0xbf, 0xc4, 0xdc, 0x54, 0x21, 0x43, 0x2e, 0x11, 0xb8, 0xa2, 0x94, 0xd4, 0xe2, 0xe4, 0xa2, 0xcc, 0x82, 0x92, 0xcc, 0xfc, - 0x3c, 0x09, 0x66, 0xb0, 0x5a, 0x61, 0x98, 0x9c, 0x0b, 0x42, 0xca, 0x29, 0xe0, 0xc4, 0x23, 0x39, + 0x3c, 0x09, 0x66, 0xb0, 0x5a, 0x61, 0x98, 0x9c, 0x0b, 0x42, 0xca, 0x29, 0xe8, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, - 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xcc, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, - 0xf3, 0x73, 0xf5, 0xa1, 0xbe, 0x49, 0xce, 0x48, 0xcc, 0xcc, 0x83, 0x71, 0xf4, 0x2b, 0xd0, 0x03, - 0xa3, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x02, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xda, 0xb7, 0x17, 0xd5, 0x33, 0x01, 0x00, 0x00, + 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x2c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, + 0xf3, 0x73, 0xf5, 0xa1, 0xbe, 0xc9, 0x49, 0x4c, 0x2a, 0xd6, 0xcd, 0xcc, 0x87, 0x71, 0xf5, 0x2b, + 0xd0, 0x83, 0xa3, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x06, 0xc6, 0x80, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xa1, 0x3e, 0x58, 0x17, 0x35, 0x01, 0x00, 0x00, } func (m *ConsumerRegister) Marshal() (dAtA []byte, err error) { diff --git a/x/btcstkconsumer/types/genesis.pb.go b/x/btcstkconsumer/types/genesis.pb.go index 41c55bf85..6ccdcb66a 100644 --- a/x/btcstkconsumer/types/genesis.pb.go +++ b/x/btcstkconsumer/types/genesis.pb.go @@ -79,7 +79,7 @@ func init() { } var fileDescriptor_9603f1c9bd7f81d6 = []byte{ - // 222 bytes of a gzipped FileDescriptorProto + // 224 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08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x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, + 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x22, 0x3d, 0xb3, + 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x6a, 0x72, 0x4e, 0x62, 0x52, 0xb1, 0x6e, + 0x66, 0x3e, 0x8c, 0xab, 0x5f, 0x81, 0xee, 0xe6, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, + 0x83, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x35, 0xa2, 0xf3, 0xb8, 0x47, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/btcstkconsumer/types/genesis_test.go b/x/btcstkconsumer/types/genesis_test.go index 239a6802d..7c3d913e7 100644 --- a/x/btcstkconsumer/types/genesis_test.go +++ b/x/btcstkconsumer/types/genesis_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/babylonchain/babylon/x/btcstkconsumer/types" + "github.com/babylonlabs-io/babylon/x/btcstkconsumer/types" "github.com/stretchr/testify/require" ) diff --git a/x/btcstkconsumer/types/params.pb.go b/x/btcstkconsumer/types/params.pb.go index c626819b3..9626cddc2 100644 --- a/x/btcstkconsumer/types/params.pb.go +++ b/x/btcstkconsumer/types/params.pb.go @@ -70,7 +70,7 @@ func init() { } var fileDescriptor_793a25adddb62a3d = []byte{ - // 186 bytes of a gzipped FileDescriptorProto + // 188 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0x4a, 0x4c, 0xaa, 0xcc, 0xc9, 0xcf, 0xd3, 0x4f, 0x2a, 0x49, 0x2e, 0x2e, 0xc9, 0x4e, 0xce, 0xcf, 0x2b, 0x2e, 0xcd, 0x4d, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, @@ -78,11 +78,11 @@ var fileDescriptor_793a25adddb62a3d = []byte{ 0x9b, 0x99, 0x97, 0xaf, 0x0f, 0x26, 0x21, 0xaa, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x4c, 0x7d, 0x10, 0x0b, 0x22, 0xaa, 0x64, 0xca, 0xc5, 0x16, 0x00, 0x36, 0xd3, 0x4a, 0xfb, 0xc5, 0x02, 0x79, 0xc6, 0xae, 0xe7, 0x1b, 0xb4, 0x94, 0x60, 0xd6, 0x57, 0x60, 0x71, 0x00, 0x44, 0xb1, 0x53, - 0xc0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, - 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0xa5, 0x67, 0x96, 0x64, - 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x0d, 0x4a, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xc7, - 0x69, 0x6a, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x3d, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xf8, 0x5f, 0x6b, 0xaa, 0xfd, 0x00, 0x00, 0x00, + 0xd0, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, + 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x59, 0xa4, 0x67, 0x96, 0x64, + 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x0d, 0xca, 0x49, 0x4c, 0x2a, 0xd6, 0xcd, 0xcc, + 0xd7, 0xc7, 0x69, 0x6e, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x45, 0xc6, 0x80, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xb7, 0x6d, 0x3b, 0x1e, 0xff, 0x00, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/x/btcstkconsumer/types/query.go b/x/btcstkconsumer/types/query.go index 8d0d09107..56daf91fa 100644 --- a/x/btcstkconsumer/types/query.go +++ b/x/btcstkconsumer/types/query.go @@ -1,6 +1,6 @@ package types -import btcstaking "github.com/babylonchain/babylon/x/btcstaking/types" +import btcstaking "github.com/babylonlabs-io/babylon/x/btcstaking/types" // NewFinalityProviderResponse creates a new finality provider response for CZ registered FPs. // Note that slashing info, voting power and height are zero, as these FPs are not active here diff --git a/x/btcstkconsumer/types/query.pb.go b/x/btcstkconsumer/types/query.pb.go index 144aa41e1..24687ad6a 100644 --- a/x/btcstkconsumer/types/query.pb.go +++ b/x/btcstkconsumer/types/query.pb.go @@ -7,8 +7,8 @@ import ( context "context" cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" - github_com_babylonchain_babylon_types "github.com/babylonchain/babylon/types" - types1 "github.com/babylonchain/babylon/x/btcstaking/types" + github_com_babylonlabs_io_babylon_types "github.com/babylonlabs-io/babylon/types" + types1 "github.com/babylonlabs-io/babylon/x/btcstaking/types" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" @@ -532,7 +532,7 @@ type FinalityProviderResponse struct { Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` // btc_pk is the Bitcoin secp256k1 PK of this finality provider // the PK follows encoding in BIP-340 spec - BtcPk *github_com_babylonchain_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonchain/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` + BtcPk *github_com_babylonlabs_io_babylon_types.BIP340PubKey `protobuf:"bytes,4,opt,name=btc_pk,json=btcPk,proto3,customtype=github.com/babylonlabs-io/babylon/types.BIP340PubKey" json:"btc_pk,omitempty"` // pop is the proof of possession of babylon_pk and btc_pk Pop *types1.ProofOfPossessionBTC `protobuf:"bytes,5,opt,name=pop,proto3" json:"pop,omitempty"` // slashed_babylon_height indicates the Babylon height when @@ -752,78 +752,78 @@ func init() { } var fileDescriptor_4e6c48e60b6a8bd8 = []byte{ - // 1124 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4d, 0x73, 0xdb, 0x44, - 0x18, 0x8e, 0x9a, 0xc4, 0xe0, 0x75, 0x99, 0x89, 0x97, 0x4c, 0xc7, 0x35, 0xc5, 0x89, 0xd5, 0x0f, - 0x42, 0x69, 0x24, 0x9c, 0x74, 0x4a, 0x3b, 0x6d, 0xf9, 0x70, 0xdc, 0x36, 0x81, 0x64, 0x10, 0x82, - 0x53, 0x39, 0x08, 0x7d, 0xac, 0x65, 0x61, 0x5b, 0xab, 0x6a, 0xd7, 0x26, 0x9e, 0x92, 0x03, 0x9c, - 0xb8, 0xc1, 0xc0, 0x9f, 0xe0, 0xc0, 0x81, 0x43, 0x7f, 0x44, 0x0f, 0x94, 0xe9, 0x94, 0x03, 0xd0, - 0x43, 0x86, 0x49, 0x98, 0xe1, 0xc2, 0x8f, 0x60, 0xb4, 0x5a, 0x39, 0x96, 0xfc, 0xa1, 0xc4, 0xc3, - 0x25, 0xe3, 0xdd, 0xf7, 0xeb, 0x79, 0x9e, 0x77, 0x77, 0x5f, 0x05, 0x5c, 0x34, 0x74, 0xa3, 0xd7, - 0xc2, 0xae, 0x6c, 0x50, 0x93, 0xd0, 0xa6,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, 0xab, 0xd9, 0xc7, 0xfb, - 0x4b, 0x33, 0x3f, 0xfe, 0xf3, 0xf3, 0x65, 0x41, 0xe5, 0xb1, 0xe2, 0xe7, 0x60, 0x99, 0x25, 0xdf, - 0xe0, 0xde, 0x2a, 0xb2, 0x1d, 0x42, 0xfd, 0xde, 0xb6, 0x43, 0x28, 0x07, 0x00, 0xef, 0x02, 0x70, - 0xa4, 0x25, 0xaf, 0x76, 0x49, 0xe2, 0xcd, 0x0a, 0x84, 0x97, 0xc2, 0x43, 0xc3, 0x85, 0x97, 0x14, - 0xdd, 0x46, 0x3c, 0x56, 0x1d, 0x88, 0x14, 0xbf, 0x15, 0x40, 0x79, 0x42, 0x31, 0xce, 0xab, 0x0c, - 0x4e, 0x47, 0xd0, 0x35, 0xc7, 0x0a, 0xd8, 0xcd, 0xae, 0x64, 0xd5, 0x5c, 0xb4, 0xb7, 0x65, 0x11, - 0x78, 0x2f, 0x06, 0xe8, 0x14, 0x03, 0xf4, 0x5a, 0x2a, 0xa0, 0x30, 0x7f, 0x0c, 0x51, 0x15, 0xbc, - 0x1a, 0x03, 0x44, 0x22, 0x44, 0x11, 0xf5, 0x74, 0x30, 0xe2, 0x97, 0xa0, 0x34, 0x2e, 0x07, 0x67, - 0x74, 0x1f, 0xc0, 0x28, 0x80, 0x68, 0x3e, 0xb3, 0x22, 0x9f, 0xa5, 0xca, 0xad, 0xbd, 0x31, 0xa1, - 0x6b, 0x71, 0x99, 0x90, 0xaf, 0xe6, 0xcd, 0x78, 0x0d, 0xe4, 0x8b, 0xdf, 0x08, 0x9c, 0xc2, 0x5d, - 0xc7, 0xd5, 0x5b, 0x0e, 0xed, 0x29, 0x3e, 0xee, 0x3a, 0x16, 0x73, 0x09, 0x29, 0x2c, 0x81, 0xdc, - 0x00, 0x05, 0xd6, 0xbe, 0xac, 0x0a, 0x8e, 0x18, 0x24, 0xda, 0x7b, 0x6a, 0xea, 0xf6, 0x3e, 0x11, - 0xb8, 0x12, 0x23, 0xa0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b, 0x0d, 0x6f, 0x9e, 0x84, 0x19, 0x89, 0xf5, 0x6f, 0x0f, - 0xfe, 0x29, 0x80, 0x85, 0x64, 0x09, 0xf8, 0xd6, 0x49, 0x41, 0x45, 0x6c, 0xae, 0x9f, 0x3c, 0x90, - 0x93, 0x51, 0x19, 0x99, 0x6d, 0xf8, 0xfe, 0x49, 0xc8, 0xc4, 0xb9, 0x24, 0x7b, 0x55, 0x55, 0x1e, - 0x1f, 0x94, 0x84, 0xa7, 0x07, 0x25, 0xe1, 0xaf, 0x83, 0x92, 0xf0, 0xdd, 0x61, 0x69, 0xe6, 0xe9, - 0x61, 0x69, 0xe6, 0x8f, 0xc3, 0xd2, 0xcc, 0xfd, 0x6b, 0x69, 0x23, 0x6c, 0x37, 0x59, 0x9e, 0xcd, - 0x34, 0x23, 0xc3, 0xfe, 0xd9, 0x58, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x04, 0x05, 0x3e, - 0x05, 0x0e, 0x00, 0x00, + // 1125 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4b, 0x6f, 0x1b, 0x45, + 0x1c, 0xcf, 0xe6, 0x61, 0xf0, 0xb8, 0x48, 0xf1, 0x10, 0x55, 0xae, 0x29, 0x4e, 0xbc, 0x7d, 0x10, + 0x4a, 0xbd, 0x8b, 0x93, 0x48, 0xa4, 0x6a, 0xcb, 0xc3, 0x71, 0xdb, 0x04, 0x52, 0xd5, 0x2c, 0x9c, + 0xca, 0x61, 0xd9, 0xc7, 0x78, 0xbd, 0xd8, 0xde, 0xd9, 0xee, 0x8c, 0x4d, 0xac, 0x92, 0x03, 0x9c, + 0xb8, 0x81, 0xe0, 0x4b, 0x70, 0x42, 0x1c, 0xfa, 0x21, 0x7a, 0xa0, 0xa8, 0x2a, 0x07, 0xa0, 0x87, + 0x08, 0x25, 0x48, 0x5c, 0xf8, 0x10, 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54, 0xd0, 0x83, 0x0e, 0x22, + 0x54, 0xfc, 0x0c, 0xbc, 0x1a, 0xd9, 0x25, 0x2e, 0x76, 0x08, 0x82, 0x55, 0x90, 0x0a, 0x82, 0x73, + 0xc2, 0x8a, 0xb0, 0x9a, 0x59, 0x2b, 0x4a, 0x63, 0xbb, 0x25, 0x05, 0xa1, 0x95, 0xf4, 0xe3, 0x83, + 0xe5, 0x99, 0x9f, 0xfe, 0xfd, 0xe5, 0x8a, 0xa0, 0xf0, 0x58, 0xf1, 0x0b, 0xb0, 0xc2, 0x92, 0x6f, + 0x71, 0x6f, 0x05, 0x59, 0x36, 0xa1, 0x5e, 0x6f, 0xd7, 0x26, 0x94, 0x03, 0x80, 0xb7, 0x01, 0x38, + 0xd6, 0x92, 0x57, 0xbb, 0x2c, 0xf1, 0x66, 0xf9, 0xc2, 0x4b, 0xc1, 0xa1, 0xe1, 0xc2, 0x4b, 0x35, + 0xcd, 0x42, 0x3c, 0x56, 0x19, 0x88, 0x14, 0xbf, 0x13, 0x40, 0x71, 0x42, 0x31, 0xce, 0xab, 0x08, + 0xce, 0x84, 0xd0, 0x55, 0xdb, 0xf4, 0xd9, 0xcd, 0xad, 0xa6, 0x95, 0x4c, 0xb8, 0xb7, 0x63, 0x12, + 0x78, 0x27, 0x02, 0x68, 0x96, 0x01, 0x7a, 0x23, 0x11, 0x50, 0x90, 0x3f, 0x82, 0xa8, 0x02, 0x5e, + 0x8f, 0x00, 0x22, 0x21, 0xa2, 0x90, 0x7a, 0x32, 0x18, 0xf1, 0x2b, 0x50, 0x18, 0x97, 0x83, 0x33, + 0xba, 0x0f, 0x60, 0x18, 0x40, 0x54, 0x8f, 0x59, 0x91, 0xc7, 0x52, 0x65, 0xd6, 0xde, 0x9a, 0xd0, + 0xb5, 0xa8, 0x4c, 0xc8, 0x53, 0xb2, 0x46, 0xb4, 0x06, 0xf2, 0xc4, 0x6f, 0x05, 0x4e, 0xe1, 0xb6, + 0xed, 0x68, 0x2d, 0x9b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03, 0x6f, 0x4d, 0x60, 0x39, 0x34, 0x27, 0xd4, 0xbe, 0xf5, 0x61, 0xe4, + 0x22, 0xee, 0xc3, 0x27, 0x02, 0xc8, 0x0e, 0x8d, 0xe9, 0xe4, 0xfe, 0x8d, 0xfb, 0xc8, 0x48, 0xee, + 0xdf, 0xd8, 0x6f, 0x02, 0x71, 0x8b, 0x31, 0xbb, 0x09, 0xaf, 0x9f, 0x86, 0x19, 0x89, 0xf4, 0x6f, + 0x1f, 0xfe, 0x25, 0x80, 0xc5, 0x78, 0x09, 0xf8, 0xce, 0x69, 0x41, 0x85, 0x6c, 0x36, 0x4f, 0x1f, + 0xc8, 0xc9, 0x28, 0x8c, 0xcc, 0x2e, 0xfc, 0xf0, 0x34, 0x64, 0xa2, 0x5c, 0xe2, 0xbd, 0xaa, 0x28, + 0x8f, 0x0f, 0x0b, 0xc2, 0xd3, 0xc3, 0x82, 0xf0, 0xf7, 0x61, 0x41, 0xf8, 0xfe, 0xa8, 0x30, 0xf3, + 0xf4, 0xa8, 0x30, 0xf3, 0xe7, 0x51, 0x61, 0xe6, 0xfe, 0x66, 0xf2, 0x10, 0xdb, 0x8b, 0x03, 0x60, + 0x53, 0x4d, 0x4f, 0xb1, 0x7f, 0x38, 0xd6, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xce, 0xa2, 0x03, + 0xda, 0x09, 0x0e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2969,7 +2969,7 @@ func (m *FinalityProviderResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - var v github_com_babylonchain_babylon_types.BIP340PubKey + var v github_com_babylonlabs_io_babylon_types.BIP340PubKey m.BtcPk = &v if err := m.BtcPk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/x/btcstkconsumer/types/tx.pb.go b/x/btcstkconsumer/types/tx.pb.go index cf0d4141c..01acf954c 100644 --- a/x/btcstkconsumer/types/tx.pb.go +++ b/x/btcstkconsumer/types/tx.pb.go @@ -247,38 +247,38 @@ func init() { } var fileDescriptor_12cd7e02078b20ee = []byte{ - // 487 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0x73, 0x14, 0x22, 0xe5, 0x52, 0x04, 0x5c, 0x23, 0xea, 0x18, 0xe1, 0x16, 0x23, 0xa1, - 0x2a, 0x08, 0x5b, 0x09, 0x52, 0x86, 0x0e, 0x48, 0x84, 0x2e, 0x0c, 0x41, 0x95, 0x11, 0x0b, 0x4b, - 0x75, 0xb6, 0x4f, 0x97, 0x13, 0xdc, 0x9d, 0x75, 0x77, 0xa9, 0x1a, 0x26, 0xc4, 0xc8, 0xc4, 0xc7, - 0x60, 0x8c, 0x04, 0x1f, 0xa2, 0x1b, 0x15, 0x13, 0x13, 0x42, 0xc9, 0x90, 0xaf, 0xc0, 0x88, 0x62, - 0x9f, 0x1b, 0x35, 0x34, 0x11, 0x2c, 0x96, 0xdf, 0x7b, 0xbf, 0x7b, 0xff, 0xf7, 0x7f, 0x3e, 0x43, - 0x3f, 0xc6, 0xf1, 0xe8, 0xad, 0x14, 0x61, 0x6c, 0x12, 0x6d, 0xde, 0x24, 0x52, 0xe8, 0x21, 0x27, - 0x2a, 0x3c, 0x6e, 0x87, 0xe6, 0x24, 0xc8, 0x94, 0x34, 0x12, 0x35, 0x2d, 0x13, 0x5c, 0x64, 0x82, - 0xe3, 0xb6, 0x7b, 0x0b, 0x73, 0x26, 0x64, 0x98, 0x3f, 0x0b, 0xda, 0xdd, 0x4e, 0xa4, 0xe6, 0x52, - 0x87, 0x5c, 0xd3, 0x79, 0x17, 0xae, 0xa9, 0x2d, 0x34, 0x8b, 0xc2, 0x51, 0x1e, 0x85, 0x45, 0x60, - 0x4b, 0x0d, 0x2a, 0xa9, 0x2c, 0xf2, 0xf3, 0x37, 0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96, - 0x19, 0x26, 0x85, 0x73, 0x35, 0x67, 0xb7, 0xca, 0xda, 0xc1, 0xa2, 0xb4, 0x5f, 0x9f, 0xef, 0xc0, - 0x4e, 0xe1, 0xdf, 0x85, 0x77, 0x2e, 0x19, 0xba, 0x34, 0xd5, 0xf9, 0x0d, 0xe0, 0x46, 0x5f, 0x53, - 0x24, 0xe0, 0xe6, 0x85, 0xaf, 0xd8, 0x5a, 0xb3, 0xfd, 0xa5, 0x05, 0xb9, 0x9d, 0x7f, 0x67, 0x4b, - 0x5d, 0xf4, 0x0e, 0xde, 0xfc, 0x6b, 0x91, 0xc1, 0xfa, 0x3e, 0xcb, 0xbc, 0xdb, 0xfd, 0x3f, 0xbe, - 0xd4, 0x76, 0xaf, 0xbd, 0x9f, 0x5f, 0x99, 0xde, 0xe1, 0xe9, 0xc4, 0x03, 0x67, 0x13, 0x0f, 0xfc, - 0x9a, 0x78, 0xe0, 0xd3, 0xd4, 0xab, 0x9c, 0x4d, 0xbd, 0xca, 0x8f, 0xa9, 0x57, 0x79, 0xdd, 0xa5, - 0xcc, 0x0c, 0x86, 0x71, 0x90, 0x48, 0x1e, 0x5a, 0x89, 0x64, 0x80, 0x99, 0x08, 0x57, 0xde, 0x24, - 0x33, 0xca, 0x88, 0x8e, 0xab, 0xf9, 0x5f, 0xf1, 0xf8, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, - 0xeb, 0x67, 0x7e, 0xdb, 0x03, 0x00, 0x00, + // 489 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x6b, 0x13, 0x41, + 0x14, 0xc7, 0x33, 0x56, 0x03, 0x99, 0x54, 0xd4, 0x6d, 0xb0, 0xc9, 0x8a, 0xdb, 0xba, 0x82, 0x94, + 0x48, 0x77, 0x49, 0x84, 0x22, 0x3d, 0x08, 0xc6, 0x5e, 0x3c, 0x44, 0x64, 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 0x83, 0xcb, 0xfb, 0x2c, 0xf2, 0xee, 0xce, 0xff, 0xf1, + 0xa5, 0xb6, 0x7b, 0xed, 0xfd, 0xec, 0xca, 0xf4, 0xa2, 0x93, 0xb1, 0x87, 0x4e, 0xc7, 0x1e, 0xfa, + 0x35, 0xf6, 0xd0, 0xa7, 0x89, 0x57, 0x39, 0x9d, 0x78, 0x95, 0x1f, 0x13, 0xaf, 0xf2, 0xe6, 0x31, + 0xe3, 0xe6, 0x60, 0x10, 0x07, 0x89, 0x12, 0xa1, 0x95, 0x38, 0x24, 0x31, 0x6c, 0x73, 0x15, 0x2e, + 0xbd, 0x4b, 0x66, 0x98, 0x51, 0x88, 0xab, 0xf9, 0x7f, 0xf1, 0xe8, 0x4f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xa6, 0x05, 0x99, 0xc2, 0xdd, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/zoneconcierge/keeper/ibc_packet_btc_staking_consumer_event.go b/x/zoneconcierge/keeper/ibc_packet_btc_staking_consumer_event.go index 1a9a12714..cb9a5dcfc 100644 --- a/x/zoneconcierge/keeper/ibc_packet_btc_staking_consumer_event.go +++ b/x/zoneconcierge/keeper/ibc_packet_btc_staking_consumer_event.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/babylonchain/babylon/x/zoneconcierge/types" + "github.com/babylonlabs-io/babylon/x/zoneconcierge/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/zoneconcierge/types/packet.pb.go b/x/zoneconcierge/types/packet.pb.go index 84b48d351..8ce60a37f 100644 --- a/x/zoneconcierge/types/packet.pb.go +++ b/x/zoneconcierge/types/packet.pb.go @@ -5,9 +5,9 @@ package types import ( fmt "fmt" - types "github.com/babylonchain/babylon/x/btcstaking/types" types4 "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" types1 "github.com/babylonlabs-io/babylon/x/btclightclient/types" + types "github.com/babylonlabs-io/babylon/x/btcstaking/types" types3 "github.com/babylonlabs-io/babylon/x/checkpointing/types" types2 "github.com/babylonlabs-io/babylon/x/epoching/types" proto "github.com/cosmos/gogoproto/proto" From d77e0cb746d29b537920cd50236516088ea35728 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 30 Jul 2024 17:19:15 +1000 Subject: [PATCH 21/21] fix all tests --- app/keepers/keepers.go | 67 ++++++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 28 deletions(-) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 6630cc28b..b887946b5 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -199,7 +199,9 @@ func (ak *AppKeepers) InitKeepers( ibctransfertypes.StoreKey, ibcfeetypes.StoreKey, ibcwasmtypes.StoreKey, - zctypes.StoreKey, + // Integration related modules + bsctypes.ModuleName, + zctypes.ModuleName, // BTC staking related modules btcstakingtypes.StoreKey, finalitytypes.StoreKey, @@ -482,28 +484,6 @@ func (ak *AppKeepers) InitKeepers( authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) - ak.MonitorKeeper = monitorkeeper.NewKeeper( - appCodec, - runtime.NewKVStoreService(keys[monitortypes.StoreKey]), - &btclightclientKeeper, - ) - - // add msgServiceRouter so that the epoching module can forward unwrapped messages to the staking module - epochingKeeper.SetMsgServiceRouter(bApp.MsgServiceRouter()) - // make ZoneConcierge and Monitor to subscribe to the epoching's hooks - ak.EpochingKeeper = *epochingKeeper.SetHooks( - epochingtypes.NewMultiEpochingHooks(ak.ZoneConciergeKeeper.Hooks(), ak.MonitorKeeper.Hooks()), - ) - - // set up Checkpointing, BTCCheckpoint, and BTCLightclient keepers - ak.CheckpointingKeeper = *checkpointingKeeper.SetHooks( - checkpointingtypes.NewMultiCheckpointingHooks(ak.EpochingKeeper.Hooks(), ak.ZoneConciergeKeeper.Hooks(), ak.MonitorKeeper.Hooks()), - ) - ak.BtcCheckpointKeeper = btcCheckpointKeeper - ak.BTCLightClientKeeper = *btclightclientKeeper.SetHooks( - btclightclienttypes.NewMultiBTCLightClientHooks(ak.BtcCheckpointKeeper.Hooks()), - ) - ak.BTCStkConsumerKeeper = bsckeeper.NewKeeper( appCodec, runtime.NewKVStoreService(keys[bsctypes.StoreKey]), @@ -513,7 +493,7 @@ func (ak *AppKeepers) InitKeepers( ) // set up BTC staking keeper - ak.BTCStakingKeeper = btcstakingkeeper.NewKeeper( + btcStakingKeeper := btcstakingkeeper.NewKeeper( appCodec, runtime.NewKVStoreService(keys[btcstakingtypes.StoreKey]), &btclightclientKeeper, @@ -525,15 +505,19 @@ func (ak *AppKeepers) InitKeepers( ) // set up finality keeper - ak.FinalityKeeper = finalitykeeper.NewKeeper( + finalityKeeper := finalitykeeper.NewKeeper( appCodec, runtime.NewKVStoreService(keys[finalitytypes.StoreKey]), - ak.BTCStakingKeeper, + btcStakingKeeper, ak.IncentiveKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) - ak.BTCStakingKeeper = *ak.BTCStakingKeeper.SetHooks(btcstakingtypes.NewMultiBtcStakingHooks(ak.FinalityKeeper.Hooks())) - ak.FinalityKeeper = *ak.FinalityKeeper.SetHooks(finalitytypes.NewMultiFinalityHooks(ak.BTCStakingKeeper.Hooks())) + + monitorKeeper := monitorkeeper.NewKeeper( + appCodec, + runtime.NewKVStoreService(keys[monitortypes.StoreKey]), + &btclightclientKeeper, + ) zcKeeper := zckeeper.NewKeeper( appCodec, @@ -553,7 +537,33 @@ func (ak *AppKeepers) InitKeepers( scopedZoneConciergeKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) + + // add msgServiceRouter so that the epoching module can forward unwrapped messages to the staking module + epochingKeeper.SetMsgServiceRouter(bApp.MsgServiceRouter()) + // make ZoneConcierge and Monitor to subscribe to the epoching's hooks + epochingKeeper.SetHooks( + epochingtypes.NewMultiEpochingHooks(zcKeeper.Hooks(), monitorKeeper.Hooks()), + ) + // set up Checkpointing, BTCCheckpoint, and BTCLightclient keepers + checkpointingKeeper.SetHooks( + checkpointingtypes.NewMultiCheckpointingHooks(epochingKeeper.Hooks(), zcKeeper.Hooks(), monitorKeeper.Hooks()), + ) + btclightclientKeeper.SetHooks( + btclightclienttypes.NewMultiBTCLightClientHooks(btcCheckpointKeeper.Hooks()), + ) + // set up BTCStaking and Finality keepers + btcStakingKeeper.SetHooks(btcstakingtypes.NewMultiBtcStakingHooks(finalityKeeper.Hooks())) + finalityKeeper.SetHooks(finalitytypes.NewMultiFinalityHooks(btcStakingKeeper.Hooks())) + + // wire the keepers with hooks to the app + ak.EpochingKeeper = epochingKeeper + ak.BTCLightClientKeeper = btclightclientKeeper + ak.CheckpointingKeeper = checkpointingKeeper + ak.BtcCheckpointKeeper = btcCheckpointKeeper + ak.MonitorKeeper = monitorKeeper ak.ZoneConciergeKeeper = *zcKeeper + ak.BTCStakingKeeper = btcStakingKeeper + ak.FinalityKeeper = finalityKeeper // create evidence keeper with router evidenceKeeper := evidencekeeper.NewKeeper( @@ -568,6 +578,7 @@ func (ak *AppKeepers) InitKeepers( ak.EvidenceKeeper = *evidenceKeeper wasmOpts = append(owasm.RegisterCustomPlugins(&ak.EpochingKeeper, &ak.ZoneConciergeKeeper, &ak.BTCLightClientKeeper), wasmOpts...) + wasmOpts = append(owasm.RegisterGrpcQueries(*bApp.GRPCQueryRouter(), appCodec), wasmOpts...) ak.WasmKeeper = wasmkeeper.NewKeeper( appCodec,