-
Notifications
You must be signed in to change notification settings - Fork 35
Bump avago subnet #800
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
base: main
Are you sure you want to change the base?
Bump avago subnet #800
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple naming nits, otherwise lgtm
@@ -73,6 +73,8 @@ cp ${BASEDIR}/subnet-evm/subnet-evm ${BASEDIR}/avalanchego/plugins/srEXiWaHuhNyG | |||
echo "Copied ${BASEDIR}/subnet-evm/subnet-evm binary to ${BASEDIR}/avalanchego/plugins/" | |||
|
|||
export AVALANCHEGO_BUILD_PATH=$BASEDIR/avalanchego | |||
export AVALANCHEGO_PATH=$AVALANCHEGO_BUILD_PATH/avalanchego |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something we can change? Building into $BASEDIR/avalanchego/avalanchego
seems a little confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual location of the build is the same as it was before. ~/.teleporter-deps/avalanchego/avalanchego
where the final avalanchego is the actual binary but the folder also contains a plugins
subfolder with the subnet-evm
binary there.
The only difference here is that instead of passing that path in the code to tmpnet we now set it as a env variable that tmpnet reads.
@@ -23,18 +23,18 @@ import ( | |||
nativeMinter "github.com/ava-labs/icm-contracts/abi-bindings/go/INativeMinter" | |||
"github.com/ava-labs/icm-contracts/tests/interfaces" | |||
gasUtils "github.com/ava-labs/icm-contracts/utils/gas-utils" | |||
ethereum "github.com/ava-labs/libevm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
importing libevm
and ethereum
seems slightly strange to me, but not pressed about it either way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the pattern used inside subnet-evm
for imports of libevm
top level exports.
Why this should be merged
Updates dependencies in testing to the current versions.
How this works
libevm
instead ofgo-ethereum
How this was tested
CI
How is this documented