-
Notifications
You must be signed in to change notification settings - Fork 674
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
[antithesis] Enable custom plugin dir for subnet-evm #3305
Conversation
6b9c81b
to
721bd9e
Compare
tests/antithesis/compose.go
Outdated
network.DefaultFlags[config.PluginDirKey] = pluginDirForCompose | ||
} else { | ||
// Ensure the plugin dir is not provided so that the default is used | ||
delete(network.DefaultFlags, config.PluginDirKey) |
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.
You've already deleted it above, on line 72.
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.
Removed
tests/antithesis/compose.go
Outdated
@@ -61,9 +61,27 @@ func GenerateComposeConfig(network *tmpnet.Network, baseImageName string) error | |||
return fmt.Errorf("failed to get bootstrap volume path: %w", err) | |||
} | |||
|
|||
// Save the plugin dir for use with compose configuration and remove it from flags so pluginDir can |
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.
How does this relate to the pluginDir
variable set earlier from the environment variable? Why does the flag need to be removed if pluginDir
is passed as the third argument to initBootstrapDB()
?
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.
Removed
69e02b8
to
e490875
Compare
Why this should be merged
subnet-evm's docker image uses a non-default plugin dir and it needs to be possible to set it for nodes that will run under the antithesis docker compose project.
How this works
How this was tested