Skip to content

Commit

Permalink
test: for boardAux after 49:smart-wallet-nft
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 6, 2023
1 parent 810c838 commit 182910a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion proposals/49:smart-wallet-nft/test.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# TODO check published.boardAux
#!/bin/bash

set -e

source /usr/src/upgrade-test-scripts/env_setup.sh

testMinChildren() {
path=$1
min=$2
line="$(agd query vstorage children $path -o jsonlines)"
ok=$(echo $line | jq ".children | length | . > $min")
test_val "$ok" "true" "$path: more than $min children"
}

# Check brand aux data for more than just vbank assets
testMinChildren published.boardAux 3

# TODO trade game asset

0 comments on commit 182910a

Please sign in to comment.