Closed RafilxTenfen closed 4 months ago
Remove signer and babylo_pk from MsgCreateFinalityProvider to use the signer of the msg as the finality provider address directly:
signer
babylo_pk
MsgCreateFinalityProvider
message MsgCreateFinalityProvider { - option (cosmos.msg.v1.signer) = "signer"; - - string signer = 1; + option (cosmos.msg.v1.signer) = "fp_addr"; + string fp_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - bytes btc_pk = 5; - ProofOfPossession pop = 6; + ProofOfPossessionBTC pop = 5; }
Since the structure ProofOfPossesion will not be used anymore to check the Babylon public key it can also be removed from the code
ProofOfPossesion
Refs:
Done at #678
Remove
signer
andbabylo_pk
fromMsgCreateFinalityProvider
to use the signer of the msg as the finality provider address directly:Since the structure
ProofOfPossesion
will not be used anymore to check the Babylon public key it can also be removed from the codeRefs: