Skip to content

Commit

Permalink
chore: fix ci (gnolang#2587)
Browse files Browse the repository at this point in the history
Signed-off-by: moul <[email protected]>

<!-- please provide a detailed description of the changes made in this
pull request. -->

<details><summary>Contributors' checklist...</summary>

- [ ] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>

Signed-off-by: moul <[email protected]>
  • Loading branch information
moul authored Jul 14, 2024
1 parent 54260d9 commit 04cc2d5
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions gno.land/cmd/gnoland/testdata/gnoweb_airgapped.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,18 @@ loadpkg gno.land/r/demo/echo
gnoland start

# Query account
gnokey query auth/accounts/$USER_ADDR_test1
cmp stdout query.stdout.golden
gnokey query auth/accounts/${USER_ADDR_test1}
stdout 'height: 0'
stdout 'data: {'
stdout ' "BaseAccount": {'
stdout ' "address": "g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5",'
stdout ' "coins": "[0-9]*ugnot",' # dynamic
stdout ' "public_key": null,'
stdout ' "account_number": "0",'
stdout ' "sequence": "0"'
stdout ' }'
stdout '}'
! stderr '.+' # empty

# Create transaction
gnokey maketx call -pkgpath "gno.land/r/demo/echo" -func "Render" -gas-fee 1000000ugnot -gas-wanted 2000000 -send "" -args "HELLO" test1
Expand All @@ -23,17 +33,6 @@ gnokey broadcast $WORK/call.tx
stdout '("HELLO" string)'
stdout 'GAS WANTED: 2000000'

-- query.stdout.golden --
height: 0
data: {
"BaseAccount": {
"address": "g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5",
"coins": "[0-9]*ugnot",
"public_key": null,
"account_number": "0",
"sequence": "0"
}
}
-- sign.stdout.golden --

Tx successfully signed and saved to $WORK/call.tx

0 comments on commit 04cc2d5

Please sign in to comment.