Skip to content

Commit

Permalink
Update x/interchainstaking/types/zones_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bowman authored Jun 7, 2023
1 parent 6f2efe8 commit 072da5b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions x/interchainstaking/types/zones_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,6 @@ func TestDecodeMemo(t *testing.T) {
}
}

func TestGenMemos(t *testing.T) {
oldMemo := "WoS/+Ex92tEcuMBzhukZKMVnXKS8bqaQBJTx9zza4rrxyLiP9fwLijOc"
memoBytes, err := base64.StdEncoding.DecodeString(oldMemo)
require.NoError(t, err)
memoBytes = append(memoBytes, 255, 0, 2, 1, 2)

newMemo := base64.StdEncoding.EncodeToString(memoBytes)
fmt.Println(newMemo)
}

func TestUpdateIntentWithMemo(t *testing.T) {
zone := types.Zone{ConnectionId: "connection-0", ChainId: "cosmoshub-4", AccountPrefix: "cosmos", LocalDenom: "uqatom", BaseDenom: "uatom", Is_118: true}
zone.Validators = append(zone.Validators,
Expand Down

0 comments on commit 072da5b

Please sign in to comment.