Skip to content

Commit

Permalink
revert params.pb.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dssei committed Oct 17, 2024
1 parent 189385e commit ce03984
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 380 deletions.
8 changes: 4 additions & 4 deletions x/confidentialtransfers/types/msgs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
)

func TestMsgTransfer_FromProto(t *testing.T) {
testDenon := "factory/sei1ft98au55a24vnu9tvd92cz09pzcfqkm5vlx99w/TEST"
testDenom := "factory/sei1ft98au55a24vnu9tvd92cz09pzcfqkm5vlx99w/TEST"
sourcePrivateKey, _ := elgamal.GenerateKey()
destPrivateKey, _ := elgamal.GenerateKey()
eg := elgamal.NewTwistedElgamal()
sourceKeypair, _ := eg.KeyGen(*sourcePrivateKey, testDenon)
destinationKeypair, _ := eg.KeyGen(*destPrivateKey, testDenon)
sourceKeypair, _ := eg.KeyGen(*sourcePrivateKey, testDenom)
destinationKeypair, _ := eg.KeyGen(*destPrivateKey, testDenom)

amountLo := uint64(100)
amountHi := uint64(0)
Expand Down Expand Up @@ -65,7 +65,7 @@ func TestMsgTransfer_FromProto(t *testing.T) {
m := &MsgTransfer{
FromAddress: address1.String(),
ToAddress: address2.String(),
Denom: testDenon,
Denom: testDenom,
FromAmountLo: fromAmountLo,
FromAmountHi: fromAmountHi,
ToAmountLo: destinationAmountLo,
Expand Down
Loading

0 comments on commit ce03984

Please sign in to comment.