Skip to content

Commit

Permalink
copyright headers
Browse files Browse the repository at this point in the history
Signed-off-by: Danno Ferrin <[email protected]>
  • Loading branch information
shemnon committed Nov 12, 2022
1 parent c63a0f8 commit e3fa724
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright contributors to Hyperledger Besu
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.besu.ethereum.vm.operations;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down
6 changes: 2 additions & 4 deletions evm/src/main/java/org/hyperledger/besu/evm/MainnetEVMs.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ public static void registerFrontierOperations(
registry.put(new CallOperation(gasCalculator));
registry.put(new CallCodeOperation(gasCalculator));

// Register the PUSH0 operation.
registry.put(new Push0Operation(gasCalculator));

// Register the PUSH1, PUSH2, ..., PUSH32 operations.
for (int i = 1; i <= 32; ++i) {
registry.put(new PushOperation(i, gasCalculator));
Expand Down Expand Up @@ -429,6 +426,7 @@ public static void registerShandongOperations(
final GasCalculator gasCalculator,
final BigInteger chainID) {
registerParisOperations(registry, gasCalculator, chainID);
// PUSH0
// Register the PUSH0 operation.
registry.put(new Push0Operation(gasCalculator));
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright ConsenSys AG.
* Copyright contributors to Hyperledger Besu
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
Expand Down

0 comments on commit e3fa724

Please sign in to comment.