diff --git a/.github/workflows/splitList.sh b/.github/workflows/splitList.sh index 4c56f06c09..4f302dc0cc 100755 --- a/.github/workflows/splitList.sh +++ b/.github/workflows/splitList.sh @@ -1,7 +1,22 @@ +#!/usr/bin/env bash +## +## 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 +## + N=$2 # Number of groups i=0 # Initialize counter cat $1 | while read line; do echo "$line" >> "group_$((i % N + 1)).txt" let i++ done - diff --git a/.github/workflows/splitTestsByTime.sh b/.github/workflows/splitTestsByTime.sh index 2b9893819b..1d581cc765 100755 --- a/.github/workflows/splitTestsByTime.sh +++ b/.github/workflows/splitTestsByTime.sh @@ -1,4 +1,18 @@ #!/bin/bash +## +## 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 +## REPORTS_DIR="$1" SPLIT_COUNT=$2 @@ -66,4 +80,4 @@ done < tmp/newTests.list # return the requests index, without quotes to drop the last trailing space -echo ${tests[$SPLIT_INDEX]//,/ } \ No newline at end of file +echo ${tests[$SPLIT_INDEX]//,/ } diff --git a/acceptance-tests/tests/src/test/resources/pki-certs/create.sh b/acceptance-tests/tests/src/test/resources/pki-certs/create.sh index c780e5e113..efc59a09c7 100644 --- a/acceptance-tests/tests/src/test/resources/pki-certs/create.sh +++ b/acceptance-tests/tests/src/test/resources/pki-certs/create.sh @@ -1,4 +1,18 @@ #! /bin/sh +## +## 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 +## set -e diff --git a/build.gradle b/build.gradle index 5ebb7d5af9..7899616ac9 100644 --- a/build.gradle +++ b/build.gradle @@ -219,7 +219,14 @@ allprojects { endWithNewline() } // Below this line are currently only license header tasks - format 'bash', { target '**/*.sh' } + format 'ShellScripts', { + target '**/*.sh' + targetExclude '**/src/reference-test/**', '**/src/main/generated/**', '**/src/test/generated/**', '**/src/jmh/generated/**' + trimTrailingWhitespace() + endWithNewline() + + licenseHeaderFile("${rootDir}/gradle/spotless/sh.license","^(?!##).+").skipLinesMatching("^#!.+?\$") + } format 'Solidity', { target '**/*.sol' targetExclude '**/src/reference-test/**', '**/src/main/generated/**', '**/src/test/generated/**', '**/src/jmh/generated/**' diff --git a/docker/test.sh b/docker/test.sh index 1538ced8d5..6e08db13b5 100755 --- a/docker/test.sh +++ b/docker/test.sh @@ -1,4 +1,18 @@ #!/bin/bash +## +## 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 +## export TEST_PATH=./tests export GOSS_PATH=$TEST_PATH/goss-linux-${architecture} diff --git a/ethereum/evmtool/src/test/benchmarks/bench-caliper.sh b/ethereum/evmtool/src/test/benchmarks/bench-caliper.sh index b579394655..48d628aae2 100755 --- a/ethereum/evmtool/src/test/benchmarks/bench-caliper.sh +++ b/ethereum/evmtool/src/test/benchmarks/bench-caliper.sh @@ -1,3 +1,19 @@ +#!/usr/bin/env sh +## +## 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 +## + # open ../../../build/install/evmtool/bin/evm \ --code=0x608060405234801561001057600080fd5b50600436106100415760003560e01c80631de45b10146100465780637c261929146101a25780639064129314610271575b600080fd5b6101a06004803603606081101561005c57600080fd5b810190808035906020019064010000000081111561007957600080fd5b82018360208201111561008b57600080fd5b803590602001918460018302840111640100000000831117156100ad57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561011057600080fd5b82018360208201111561012257600080fd5b8035906020019184600183028401116401000000008311171561014457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190929190505050610336565b005b61025b600480360360208110156101b857600080fd5b81019080803590602001906401000000008111156101d557600080fd5b8201836020820111156101e757600080fd5b8035906020019184600183028401116401000000008311171561020957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610429565b6040518082815260200191505060405180910390f35b6103346004803603604081101561028757600080fd5b81019080803590602001906401000000008111156102a457600080fd5b8201836020820111156102b657600080fd5b803590602001918460018302840111640100000000831117156102d857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019092919050505061049b565b005b806000846040518082805190602001908083835b6020831061036d578051825260208201915060208101905060208303925061034a565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060008282540392505081905550806000836040518082805190602001908083835b602083106103e457805182526020820191506020810190506020830392506103c1565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060008282540192505081905550505050565b600080826040518082805190602001908083835b60208310610460578051825260208201915060208101905060208303925061043d565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020549050919050565b806000836040518082805190602001908083835b602083106104d257805182526020820191506020810190506020830392506104af565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902081905550505056fea265627a7a72315820f89fa48c6c4d5d7df165b5e3dba04cbe258ce57a3a4ef3bab1377546b84b699f64736f6c634300050b0032 \ diff --git a/ethereum/evmtool/src/test/benchmarks/bench-loop.sh b/ethereum/evmtool/src/test/benchmarks/bench-loop.sh index 8300b87645..e3f747530f 100755 --- a/ethereum/evmtool/src/test/benchmarks/bench-loop.sh +++ b/ethereum/evmtool/src/test/benchmarks/bench-loop.sh @@ -1,3 +1,19 @@ +#!/usr/bin/env sh +## +## 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 +## + # divadd ../../../build/install/evmtool/bin/evm \ --code=0x606060405263ffffffff60e060020a60003504166315d42327811461004257806359e3e1ea14610070578063c4f8b9fb1461009e578063e01330bb146100c9575bfe5b341561004a57fe5b61005e6004356024356044356064356100f4565b60408051918252519081900360200190f35b341561007857fe5b61005e60043560243560443560643561011e565b60408051918252519081900360200190f35b34156100a657fe5b61005e600435602435604435610152565b60408051918252519081900360200190f35b34156100d157fe5b61005e600435602435604435610179565b60408051918252519081900360200190f35b600084815b83811015610110578486830991505b6001016100f9565b8192505b5050949350505050565b600084815b8381101561011057858281151561013657fe5b04850191505b600101610123565b8192505b5050949350505050565b600083815b8381101561016c57908401905b600101610157565b8192505b50509392505050565b600083815b8381101561016c57908402905b60010161017e565b8192505b505093925050505600a165627a7a72305820065081bd1e9fdffccd251332523241eaabd0fb1881a06529599a9c67d0a568e50029 \ @@ -17,4 +33,3 @@ --genesis=evmtool-genesis.json \ --gas 1000000000 \ --repeat=10 - diff --git a/ethereum/evmtool/src/test/benchmarks/bench-mainnet.sh b/ethereum/evmtool/src/test/benchmarks/bench-mainnet.sh index 3300df7178..084799e96a 100755 --- a/ethereum/evmtool/src/test/benchmarks/bench-mainnet.sh +++ b/ethereum/evmtool/src/test/benchmarks/bench-mainnet.sh @@ -1,3 +1,19 @@ +#!/usr/bin/env sh +## +## 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 +## + # mainnet SLOAD heavy ../../../build/install/evmtool/bin/evm \ --code=6060604052600436106100af576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063260a2da6146100b15780634ea90317146100ea578063502a86301461012357806355a5194b146102115780636c4d727c146102555780636e11957014610298578063736d8b9c146102d15780637592a81d14610309578063786454ae14610351578063b1fa6a391461038a578063dd0c8643146103db575b005b34156100bc57600080fd5b6100e8600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506103f0565b005b34156100f557600080fd5b610121600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610492565b005b341561012e57600080fd5b610136610534565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200194505050505060405180910390f35b341561021c57600080fd5b610253600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080351515906020019091905050610632565b005b341561026057600080fd5b61027660048080359060200190919050506106ea565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b34156102a357600080fd5b6102cf600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610717565b005b34156102dc57600080fd5b610307600480803563ffffffff1690602001909190803563ffffffff169060200190919050506107b9565b005b341561031457600080fd5b61034f600480803563ffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061098c565b005b341561035c57600080fd5b610388600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061167e565b005b341561039557600080fd5b6103c1600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611720565b604051808215151515815260200191505060405180910390f35b34156103e657600080fd5b6103ee6117d3565b005b600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561044e57600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156104f057600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600080600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561059857600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16935093509350935090919293565b600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561069057600080fd5b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006007600083815260200190815260200160002060009054906101000a900463ffffffff169050919050565b600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561077557600080fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600080600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561081d57600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1693508590505b8463ffffffff168163ffffffff161015610984578373ffffffffffffffffffffffffffffffffffffffff166352898b1282600060405160e001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808263ffffffff1663ffffffff16815260200191505060e060405180830381600087803b15156108dd57600080fd5b6102c65a03f115156108ee57600080fd5b505050604051805190602001805190602001805190602001805190602001805190602001805190602001805190509091929394955090919293509091925090915050809350819450505060048260ff16101561097757806007600085815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff1602179055505b8080600101915050610846565b505050505050565b6000806000806000806000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169250600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050671bc16d674ec80000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16311115611063578273ffffffffffffffffffffffffffffffffffffffff166321555d82896000604051608001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050608060405180830381600087803b1515610af257600080fd5b6102c65a03f11515610b0357600080fd5b505050604051805190602001805190602001805190602001805190509091509050508096505060008663ffffffff16111515610b3e57600080fd5b88620186a087020163ffffffff1696506007600088815260200190815260200160002060009054906101000a900463ffffffff1694508273ffffffffffffffffffffffffffffffffffffffff166352898b1286600060405160e001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808263ffffffff1663ffffffff16815260200191505060e060405180830381600087803b1515610bf757600080fd5b6102c65a03f11515610c0857600080fd5b505050604051805190602001805190602001805190602001805190602001805190602001805190602001805190509091929394955090919293945090919250909150600860008b81526020019081526020016000206000600a60008d81526020019081526020016000206000600960008f8152602001908152602001600020600086919050558591906101000a81548160ff021916908360ff16021790555084919050555050508173ffffffffffffffffffffffffffffffffffffffff1663e52926228a8a600060405160e001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808363ffffffff1663ffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060e060405180830381600087803b1515610d6657600080fd5b6102c65a03f11515610d7757600080fd5b5050506040518051906020018051906020018051906020018051906020018051906020018051906020018051905090919293949550909192939450909192935090919250905050809450506003600a600089815260200190815260200160002060009054906101000a900460ff1660ff16148015610e1a57508360ff16600a600089815260200190815260200160002060009054906101000a900460ff1660ff16115b1561105e578173ffffffffffffffffffffffffffffffffffffffff16631fcec53e600089600a60008c815260200190815260200160002060009054906101000a900460ff16600860008d815260200190815260200160002054600960008e8152602001908152602001600020548b6040518763ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808760ff1681526020018681526020018560ff1660ff1681526020018481526020018381526020018263ffffffff1663ffffffff1681526020019650505050505050600060405180830381600087803b1515610f1157600080fd5b6102c65a03f11515610f2257600080fd5b5050508073ffffffffffffffffffffffffffffffffffffffff16637350ac76600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a670de0b6b3a764000060648e63ffffffff16811515610f8057fe5b0463ffffffff16026040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018267ffffffffffffffff1681526020019350505050600060405180830381600087803b151561104957600080fd5b6102c65a03f1151561105a57600080fd5b5050505b611673565b8273ffffffffffffffffffffffffffffffffffffffff166321555d82896000604051608001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050608060405180830381600087803b151561110657600080fd5b6102c65a03f1151561111757600080fd5b505050604051805190602001805190602001805190602001805190509091509050508096505060008663ffffffff1611151561115257600080fd5b88620186a087020163ffffffff1696506007600088815260200190815260200160002060009054906101000a900463ffffffff1694508273ffffffffffffffffffffffffffffffffffffffff166352898b1286600060405160e001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808263ffffffff1663ffffffff16815260200191505060e060405180830381600087803b151561120b57600080fd5b6102c65a03f1151561121c57600080fd5b505050604051805190602001805190602001805190602001805190602001805190602001805190602001805190509091929394955090919293945090919250909150600860008b81526020019081526020016000206000600a60008d81526020019081526020016000206000600960008f8152602001908152602001600020600086919050558591906101000a81548160ff021916908360ff16021790555084919050555050508173ffffffffffffffffffffffffffffffffffffffff1663e52926228a8a600060405160e001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808363ffffffff1663ffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060e060405180830381600087803b151561137a57600080fd5b6102c65a03f1151561138b57600080fd5b5050506040518051906020018051906020018051906020018051906020018051906020018051906020018051905090919293949550909192939450909192935090919250905050809450506004600a600089815260200190815260200160002060009054906101000a900460ff1660ff1610801561142e57508360ff16600a600089815260200190815260200160002060009054906101000a900460ff1660ff16115b15611672578173ffffffffffffffffffffffffffffffffffffffff16631fcec53e600089600a60008c815260200190815260200160002060009054906101000a900460ff16600860008d815260200190815260200160002054600960008e8152602001908152602001600020548b6040518763ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808760ff1681526020018681526020018560ff1660ff1681526020018481526020018381526020018263ffffffff1663ffffffff1681526020019650505050505050600060405180830381600087803b151561152557600080fd5b6102c65a03f1151561153657600080fd5b5050508073ffffffffffffffffffffffffffffffffffffffff16637350ac76600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a670de0b6b3a764000060648e63ffffffff1681151561159457fe5b0463ffffffff16026040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018267ffffffffffffffff1681526020019350505050600060405180830381600087803b151561165d57600080fd5b6102c65a03f1151561166e57600080fd5b5050505b5b505050505050505050565b600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415156116dc57600080fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561178057600080fd5b6000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600115156000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514151561183157600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff00a165627a7a723058202089229a3472e7827d9f5418524ce35d576b9c32144b129f723a7dec09646c0c0029 \ @@ -6,4 +22,3 @@ --receiver=0x888bC67Ec5c6F6DabbD49490bEe2383E674E426D \ --genesis=evmtool-mainnet.json \ --repeat=100 - diff --git a/ethereum/evmtool/src/test/benchmarks/bench-static.sh b/ethereum/evmtool/src/test/benchmarks/bench-static.sh index 7efaa711d3..6ae063d3b0 100755 --- a/ethereum/evmtool/src/test/benchmarks/bench-static.sh +++ b/ethereum/evmtool/src/test/benchmarks/bench-static.sh @@ -1,3 +1,19 @@ +#!/usr/bin/env sh +## +## 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 +## + # call ../../../build/install/evmtool/bin/evm \ --code=5B600080808060045AFA50600056 \ diff --git a/gradle/spotless/sh.license b/gradle/spotless/sh.license new file mode 100644 index 0000000000..97909d3507 --- /dev/null +++ b/gradle/spotless/sh.license @@ -0,0 +1,15 @@ +## +## 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 +## + diff --git a/privacy-contracts/src/main/solidity/generateWrappers.sh b/privacy-contracts/src/main/solidity/generateWrappers.sh index 068d7a1e3a..5d7fd7f9fc 100755 --- a/privacy-contracts/src/main/solidity/generateWrappers.sh +++ b/privacy-contracts/src/main/solidity/generateWrappers.sh @@ -1,4 +1,18 @@ #!/usr/bin/env bash +## +## 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 +## targets=" FlexiblePrivacyGroupManagementInterface diff --git a/scripts/dco_check.sh b/scripts/dco_check.sh index 86716237f7..dd44675398 100755 --- a/scripts/dco_check.sh +++ b/scripts/dco_check.sh @@ -1,4 +1,18 @@ #!/bin/bash +## +## 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 +## status=0 while IFS= read -r -a line; do