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

Precompile improvements merge #513

Merged
merged 28 commits into from
Feb 16, 2023
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
bec556f
Light client mode to unlock dynamic state sync (#424)
darioush Jan 10, 2023
91f5897
Fix: typos (#428)
omahs Jan 10, 2023
197add9
Bump to v0.4.8 and bump AvalancheGo dependency to v1.9.6 (#429)
aaronbuchwald Jan 11, 2023
880ec77
Add requirement that Subnet-evm upgrade is enabled at genesis (#419)
anusha-ctrl Jan 13, 2023
adb9529
Add release checklist template (#435)
aaronbuchwald Jan 23, 2023
0a2e17e
Bump avalanchego dep to v1.9.7 and start v0.4.9 release cycle (#433)
aaronbuchwald Jan 23, 2023
dbc1b4d
Coreth 0.11.6 sync (#436)
ceyonur Jan 23, 2023
a584fca
Refactor e2e tests (#425)
aaronbuchwald Jan 26, 2023
13d49a7
Improve version output (#463)
aaronbuchwald Jan 28, 2023
d1cbe9d
nil timestamp in genesis should be upgradeable (#461)
darioush Jan 28, 2023
76e3fe2
release locks on return (#470)
darioush Jan 30, 2023
954fe72
- Adding missing import "encoding/json" (used in Stringer-method) (#465)
itinance Jan 31, 2023
01a16a0
fix allow list comments (#469)
ceyonur Jan 31, 2023
009c86f
add nil checks (#473)
ceyonur Feb 1, 2023
1955873
Warp backend interface and implementation (#452)
Feb 1, 2023
5dfa34f
Add documentation section to PR template (#484)
aaronbuchwald Feb 3, 2023
7aa90d0
remove current rules (#481)
ceyonur Feb 5, 2023
7887607
add documentation guidelines (#486)
darioush Feb 6, 2023
c667f95
parseInt from ENV var (#491)
ceyonur Feb 6, 2023
50da2fd
Add generate precompile script to fix CGO flags issue (#489)
aaronbuchwald Feb 6, 2023
fe5e55c
try to fix lint job (#499)
darioush Feb 8, 2023
40c5212
build with avago v1.9.8 (#498)
cam-schultz Feb 8, 2023
0731a82
Signature Request Handler (#459)
Feb 9, 2023
8343e42
Update codeowners (#492)
aaronbuchwald Feb 9, 2023
38ad7f5
Get signature endpoint: alternative PR with different packaging (#507)
darioush Feb 10, 2023
75a5709
Merge branch 'master' into precompile-improvements-main
aaronbuchwald Feb 16, 2023
4ee9802
Fix regression test added prior to merge
aaronbuchwald Feb 16, 2023
93d274f
Fix fee manager invalid fee config test
aaronbuchwald Feb 16, 2023
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
Prev Previous commit
Next Next commit
Add generate precompile script to fix CGO flags issue (#489)
  • Loading branch information
aaronbuchwald authored Feb 6, 2023
commit 50da2fd667c9bf68f8148f57dfe8a0ec5eb6a8df
21 changes: 21 additions & 0 deletions scripts/generate_precompile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -e

# This script generates a Stateful Precompile stub based off of a Solidity ABI file.
# It first sets the necessary CGO_FLAGs for the BLST library used in AvalancheGo and
# then runs PrecompileGen.
if ! [[ "$0" =~ scripts/generate_precompile.sh ]]; then
echo "must be run from repository root, but got $0"
exit 255
fi

# Load the versions
SUBNET_EVM_PATH=$(
cd "$(dirname "${BASH_SOURCE[0]}")"
cd .. && pwd
)

# Load the constants
source "$SUBNET_EVM_PATH"/scripts/constants.sh

go run ./cmd/precompilegen/main.go $@