feat: queen image has postage stamp bought (#220)

This commit is contained in:
Adam Uhlíř 2022-11-08 04:11:20 -08:00 committed by GitHub
parent fae67c6d78
commit ffbfaa2cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 870 additions and 124 deletions

File diff suppressed because it is too large Load Diff

View File

@ -14,6 +14,7 @@
},
"dependencies": {
"@ethersphere/bee-js": "^5.0.0",
"@ethersphere/swarm-cli": "^1.12.0",
"@openzeppelin/contracts": "^3.1.0",
"truffle": "^5.6.3"
},

View File

@ -131,6 +131,10 @@ if $GEN_TRAFFIC ; then
npm run gen:traffic -- "$CHEQUES_COUNT" "$GEN_TRAFFIC_CHECKER_NODE_DEBUG;$GEN_TRAFFIC_UPLOAD_NODE;$GEN_TRAFFIC_UPLOAD_NODE_DEBUG"
echo "traffic has been generated"
echo "Adding postage stamp to Queen"
npx swarm-cli stamp buy --yes --quiet --depth 22 --amount 1_000_000 --label "==testingStamp=="
echo "Stamp bought"
# This sets output parameter in Github Actions that
# is then used to trigger Bee-js PR creation
if [ "$CI" == 'true' ]; then