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

Update evmtool graalvm build #5639

Merged
merged 7 commits into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
merge
Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
  • Loading branch information
shemnon committed Jun 28, 2023
commit b49a8df8f656d9b5b2574031745cc90bb77d9614
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Breaking Changes

### Additions and Improvements
- EvmTool now executes the `execution-spec-tests` via the `t8n` and `b11r`. See the [README](ethereum/evmtool/README.md) in EvmTool for more instructions.

### Bug Fixes
- Use the node's configuration to determine if DNS enode URLs are allowed in calls to `admin_addPeer` and `admin_removePeer` [#5584](https://github.com/hyperledger/besu/pull/5584)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,25 @@ public class B11rSubCommand implements Runnable {
description = "The account state after the transition")
private final Path outBlock = Path.of("block.json");

@CommandLine.ParentCommand private final EvmToolCommand parentCommand;
@ParentCommand private final EvmToolCommand parentCommand;

@Parameters(parameterConsumer = OnlyEmptyParams.class)
@SuppressWarnings("UnusedVariable")
private final List<String> parameters = new ArrayList<>();

static class OnlyEmptyParams implements IParameterConsumer {
@Override
public void consumeParameters(
final Stack<String> args, final ArgSpec argSpec, final CommandSpec commandSpec) {
while (!args.isEmpty()) {
if (!args.pop().isEmpty()) {
throw new CommandLine.ParameterException(
argSpec.command().commandLine(),
"The block-builder command does not accept any non-empty parameters");
}
}
}
}

@SuppressWarnings("unused")
public B11rSubCommand() {
Expand All @@ -135,7 +153,7 @@ public B11rSubCommand(final EvmToolCommand parentCommand) {
@Override
public void run() {
ObjectMapper objectMapper = JsonUtils.createObjectMapper();
final ObjectReader t8nReader = objectMapper.reader();
final ObjectReader b11rReader = objectMapper.reader();

ObjectNode config;
try {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.