Skip to content

Commit

Permalink
fix TestTestdata/pr-1112
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-hov committed Mar 6, 2024
1 parent ff270fa commit 0865abe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gno.land/cmd/gnoland/testdata/pr-1112.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
gnoland start

# add contract
gnokey maketx addpkg -pkgdir $WORK -pkgpath gno.land/r/demo/mapindex -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid=tendermint_test test1
gnokey maketx addpkg -pkgdir $WORK -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid=tendermint_test test1
stdout OK!

# call map
gnokey maketx call -pkgpath gno.land/r/demo/mapindex -func FindMapWithKey -args 3 -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid=tendermint_test test1
gnokey maketx call -pkgpath gno.land/r/demo/mapindex@v1.0.0 -func FindMapWithKey -args 3 -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid=tendermint_test test1
stdout OK!
stdout '"three" string'

Expand All @@ -16,8 +16,7 @@ stdout '"three" string'


-- gno.mod --
module gno.land/r/demo/mapindex

module gno.land/r/demo/mapindex v1.0.0

-- realm.gno --
package mapindex
Expand Down

0 comments on commit 0865abe

Please sign in to comment.