Skip to content

Commit

Permalink
Create bounty for solidity 0.8.27 (#147)
Browse files Browse the repository at this point in the history
* Create bounty for solidity 0.8.27

* Removing unused var and duplicated value definition
  • Loading branch information
claudioantonio authored Sep 6, 2024
1 parent 24daede commit 1665181
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions populate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,17 @@ SOLIDITY_DESCRIPTION=$(jq -r '.description' "$SOLIDITY_INFO_FILE")
SOLIDITY_IMG_LINK=$(jq -r '.imgLink' "$SOLIDITY_INFO_FILE")
SOLIDITY_SPONSOR_NAME="Spencer Smart"

# 0.8.26
# 0.8.27

bounty_index=$(go run ./cli state | jq '.bounties | length')

go run ./cli send bounty \
-f "$DEV_ACCOUNT" \
-n "Solidity 0.8.26" \
-n "Solidity 0.8.27" \
-i "$SOLIDITY_IMG_LINK" \
-d "$SOLIDITY_DESCRIPTION" \
--duration "$ONE_DAY" \
-p '/bounties/examples/solidity-0.8.26-bounty_riscv64.tar.xz' \
-p '/bounties/examples/solidity-0.8.27-bounty_riscv64.tar.xz' \
-t "$TOKEN_ADDRESS"

go run ./cli send sponsor \
Expand Down
2 changes: 1 addition & 1 deletion tests/bounties/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ all:

$(MAKE) -C busybox-bounty riscv64 VERSION=1.36.1

$(MAKE) -C solidity-bounty riscv64 VERSION=0.8.26
$(MAKE) -C solidity-bounty riscv64 VERSION=0.8.27

clean:
$(MAKE) -C lua-bounty clean
Expand Down
5 changes: 3 additions & 2 deletions tests/bounties/solidity-bounty/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARCH=$(shell uname -m)
VERSION=0.8.26
ifndef VERSION
$(error VERSION is not set for Solidity.)
endif
BOUNTY_RISCV64_TAR=solidity-$(VERSION)-bounty_riscv64.tar.xz

# Use GitHub Actions cache when available
Expand Down
4 changes: 2 additions & 2 deletions tests/bounties/solidity-bounty/info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"description": "Find bugs in Solidity, the most popular programming language for smart contracts!\n\nSubmit Solidity code and try to crash the compiler exit with a segmentation fault status (code 139).\n\nThe source code of the bounty can be inspected at:\nhttps://github.com/crypto-bug-hunters/bug-buster/tree/main/tests/bounties/solidity-bounty",
"imgLink": "https://docs.soliditylang.org/en/v0.8.26/_static/img/logo-dark.svg"
"description": "Find bugs in Solidity, the most popular programming language for smart contracts!\n\nSubmit Solidity code and try to crash the compiler exit with a segmentation fault status (code 139).\n\nThe source code of the bounty can be inspected at:\nhttps://github.com/crypto-bug-hunters/bug-buster/tree/main/tests/bounties/solidity-bounty",
"imgLink": "https://docs.soliditylang.org/en/v0.8.27/_static/img/logo-dark.svg"
}

0 comments on commit 1665181

Please sign in to comment.