mirror of https://github.com/poanetwork/gecko.git
Merge branch 'master' into update-version
This commit is contained in:
commit
131e341597
|
@ -10,20 +10,21 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
errMsg = "__________ .___\n" +
|
||||
"\\______ \\____________ __| _/__.__.\n" +
|
||||
" | | _/\\_ __ \\__ \\ / __ < | |\n" +
|
||||
" | | \\ | | \\// __ \\_/ /_/ |\\___ |\n" +
|
||||
" |______ / |__| (____ /\\____ |/ ____|\n" +
|
||||
" \\/ \\/ \\/\\/\n" +
|
||||
errMsg = "" +
|
||||
`__________ .___` + "\n" +
|
||||
`\______ \____________ __| _/__.__.` + "\n" +
|
||||
` | | _/\_ __ \__ \ / __ < | |` + "\n" +
|
||||
` | | \ | | \// __ \_/ /_/ |\___ |` + "\n" +
|
||||
` |______ / |__| (____ /\____ |/ ____|` + "\n" +
|
||||
` \/ \/ \/\/` + "\n" +
|
||||
"\n" +
|
||||
"🏆 🏆 🏆 🏆 🏆 🏆\n" +
|
||||
" ________ ________ ________________\n" +
|
||||
" / _____/ \\_____ \\ / _ \\__ ___/\n" +
|
||||
"/ \\ ___ / | \\ / /_\\ \\| |\n" +
|
||||
"\\ \\_\\ \\/ | \\/ | \\ |\n" +
|
||||
" \\______ /\\_______ /\\____|__ /____|\n" +
|
||||
" \\/ \\/ \\/\n"
|
||||
`🏆 🏆 🏆 🏆 🏆 🏆` + "\n" +
|
||||
` ________ ________ ________________` + "\n" +
|
||||
` / _____/ \_____ \ / _ \__ ___/` + "\n" +
|
||||
`/ \ ___ / | \ / /_\ \| |` + "\n" +
|
||||
`\ \_\ \/ | \/ | \ |` + "\n" +
|
||||
` \______ /\_______ /\____|__ /____|` + "\n" +
|
||||
` \/ \/ \/` + "\n"
|
||||
)
|
||||
|
||||
// Parameters required for snowball consensus
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
func TestAddDefaultSubnetValidator(t *testing.T) {
|
||||
expectedJSONString := `{"startTime":"0","endtime":"0","id":null,"destination":null,"delegationFeeRate":"0","payerNonce":"0"}`
|
||||
expectedJSONString := `{"startTime":"0","endTime":"0","id":null,"destination":null,"delegationFeeRate":"0","payerNonce":"0"}`
|
||||
args := AddDefaultSubnetValidatorArgs{}
|
||||
bytes, err := json.Marshal(&args)
|
||||
if err != nil {
|
||||
|
|
|
@ -44,7 +44,7 @@ type APIAccount struct {
|
|||
// is sent when this staker is done staking.
|
||||
type APIValidator struct {
|
||||
StartTime json.Uint64 `json:"startTime"`
|
||||
EndTime json.Uint64 `json:"endtime"`
|
||||
EndTime json.Uint64 `json:"endTime"`
|
||||
Weight *json.Uint64 `json:"weight,omitempty"`
|
||||
StakeAmount *json.Uint64 `json:"stakeAmount,omitempty"`
|
||||
ID ids.ShortID `json:"id"`
|
||||
|
|
Loading…
Reference in New Issue