Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create bounty for solidity 0.8.27 #147

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}