mirror of https://github.com/hyperledger/besu
Tag:
Branch:
Tree:
5bd8b4be69
23.4.4-branch
4844-devnet-5b
5561migrate-tests-to-Junit5
CloseServerSocket
TransactionValidatorService
add-peer-dns
besu-for-fleet
bump_web3j
eip-4844-interop
github_ci
main
mega-eof
pectra-devnet-4
pectra-devnet3-block-110500-issue
reduceRetries
release-23.1.x
release-23.10.2
release-23.10.3
release-23.10.x
release-23.4.x
release-23.7.x
release-24.1.1
release-24.1.2
release-24.1.x
release-24.2.0
release-24.3.0-hotfix
release-24.3.2-hotfix
release-24.3.3-hotfix
release-24.4.0
release-24.5.0-rc1
release-24.5.0-rc2
release-24.5.3
release-24.7.0
revert-7203-patch-1
revert-7586-fixCHANGELOGtypo
sally-delete-me-2
sally-delete-me-testing-rules
sonarTour
tag-24.3.2
tessera_as_internal_process
test-dco1
test-dco2
test-dco3
verkle
0.8.0
0.8.0-RC1
0.8.0-RC2
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.9.0
0.9.1
1.0.0
1.0.0-RC1
1.0.1
1.0.2
1.0.3
1.1.0
1.1.0-RC1
1.1.1
1.1.2
1.1.3
1.1.4
1.2.0
1.2.0-RC1
1.2.1
1.2.2
1.2.3
1.2.4
1.3.0
1.3.0-RC1
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.0-RC1
1.4.0-RC2
1.4.0-beta1
1.4.0-beta2
1.4.0-beta3
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.5-RC1
1.4.5-RC2
1.4.5-RC3
1.4.6
1.4.6-RC1
1.4.6-RC2
1.5.0
1.5.0-RC1
1.5.0-RC2
1.5.0-RC3
1.5.1
1.5.1-RC1
1.5.2
1.5.3
1.5.4
1.5.5
1626082128492
1626086821182
20.10.0
20.10.0-RC1
20.10.0-RC2
20.10.1
20.10.2
20.10.3
20.10.4
21.1.0
21.1.0-RC1
21.1.0-RC2
21.1.1
21.1.2
21.1.3
21.1.4
21.1.5
21.1.6
21.1.7
21.10.0
21.10.0-RC1
21.10.0-RC2
21.10.0-RC3
21.10.0-RC4
21.10.1
21.10.2
21.10.3
21.10.4
21.10.5
21.10.6
21.10.7
21.10.8
21.10.9
21.2.0-RC1
21.7.0
21.7.0-RC1
21.7.0-RC2
21.7.1
21.7.2
21.7.3
21.7.4
22.1.0
22.1.0-RC1
22.1.0-RC2
22.1.0-RC3
22.1.0-RC4
22.1.1
22.1.2
22.1.3
22.10.0
22.10.0-RC1
22.10.0-RC2
22.10.1
22.10.101
22.10.2
22.10.3
22.12.8.1
22.12.8.2
22.12.8.3
22.12.8.4
22.4.0
22.4.0-RC1
22.4.0-RC2
22.4.1
22.4.2
22.4.3
22.4.4
22.7.0
22.7.0-RC1
22.7.0-RC2
22.7.0-RC3
22.7.1
22.7.2
22.7.3
22.7.4
22.7.5
22.7.6
22.7.7
23.1.0
23.1.0-BETA
23.1.0-RC1
23.1.0-RC2
23.1.1
23.1.1-RC1
23.1.100
23.1.2
23.1.3
23.10.0
23.10.1
23.10.2
23.10.3
23.10.3-hotfix
23.4.0
23.4.0-RC1
23.4.1
23.4.2
23.4.3
23.4.4
23.7.0
23.7.1
23.7.2
23.7.3
24.1.0
24.1.1
24.1.2
24.10.0
24.10.0-RC1
24.10.0-RC2
24.2.0
24.2.0-RC1
24.2.0-RC2
24.2.0-RC3
24.2.0-RC4
24.3.0
24.3.0-hotfix
24.3.1
24.3.2
24.3.3
24.4.0
24.4.0-RC1
24.4.0-RC2
24.4.0-RC3
24.5.0
24.5.0-RC1
24.5.1
24.5.2
24.5.2-RC0
24.5.2-RC1
24.5.3
24.5.4
24.6.0
24.6.0-RC1
24.6.0-RC2
24.7.0
24.7.0-RC1
24.7.1
24.7.1-RC1
24.8.0
24.8.0-RC1
24.9.0
24.9.0-RC1
24.9.0-RC2
24.9.1
24.9.1-RC1
GHA-TESTRUN-1
GHA.TESTRUN.1
canary
dev
develop
${ noResults }
9 Commits (5bd8b4be695d89087c04dbbecd2bb416ed1749d5)
Author | SHA1 | Message | Date |
---|---|---|---|
Antony Denyer |
424de5a55b
|
Start external services before we start plugins (#3118)
* Start external services before we start mining Reasons: - you may wish to query the blockchain using rpc before you start processing - you may wish to register a websocket e.g to listen for blocks currently you will probably miss one because we start processing before we start the ws service Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Add beforeExternalServices hook for plugins Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * move the acceptance test plugins move the test plugins that are used in the acceptance tests into the same package namespace as the acceptance tests so that they are ignored by sonar for code coverage Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Fix typo in log Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net> |
3 years ago |
Antony Denyer |
99a495275d
|
Move plugin validation to happen after startPlugins (#2957)
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> |
3 years ago |
Antony Denyer |
a30c314290
|
Allow Besu to host RPC endpoints via a plugin. (#2754)
This is a re-implementation of the initial POC done in https://github.com/PegaSysEng/pantheon/pull/1909/ by Danno Ferrin <danno.ferrin@gmail.com> * Only enable plugin rpc api when enabled on --rpc-http-api or --rpc-ws-apis * Only allow new rpc endpoints to be defined Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> |
3 years ago |
Danno Ferrin |
2abc7074bb
|
Create new datatypes module for Address, Hash, and Wei (#2779)
* Create new datatypes module Create a new `datatypes` module to hold datatypes that are broadly used. This will aid modularization by making sure the base types in the module minimize the amount of unrelated support classes needed. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com> * Add Address, Hash, and Wei to datatypes Move the Address, Hash, and Wei to datatypes in as they are needed for EVM modularization. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com> |
3 years ago |
Danno Ferrin |
367b6a74f1
|
Remove EIP-1702 account versioning (#2657)
EIP-1702 account versioning was a candidate for the Istanbul hard fork but was removed prior to the first testnet. Other versioning techniques have greater core dev mind share and one preparatory step landed in London, EIP-3541, making EIP-1702 very unlikely to make it to Mainnet. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com> |
3 years ago |
Antony Denyer |
19c34514a1
|
[Privacy] Allow users to provide a private genesis (#2509)
* Refactor: PrivacyBlockProcessor to clarify intent Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Wire up privacy genesis options into PrivacyParameters Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Refactor private state genesis into it's own class - pass through in privacyParameters Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Refactor: inject PrivateStateGenesis into PrivacyPrecompiles Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Private Genesis initialisation - set code, balance and storage from private-genesis.json Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Check on-chain with private genesis in acceptance tests Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Remove unused EthGetCodeCall Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Use a plugin based aproach for privacy genesis - if the plugin is registered it will be used to apply private genesis state - if onchain flexible privacy groups is enable that will be applied after Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * PrivateGenesisAcceptanceTest::createPrivacyGroup can be private Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * PrivateStateGenesis add debug logs Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Warn if genesis account allocation is in reserved precompile range Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Add sender into unsignedPrivateMarkerTransaction for plugin to make descision Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Remove locking solution as may not be needed - if this is required we should first evaluate actual use cases and test scenarios Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Rename PrivateStateGenesis -> PrivateStateGenesisAllocator Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Tidy up naming for getPrivateStateGenesisAllocator Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Privacy Plugin javadocs Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> |
3 years ago |
Antony Denyer |
41521b6c03
|
Privacy plugin pmt factory (#2557)
* Refactor: clarify intent of arg when testing permissioning plugin Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Refactor: remove duplicate createPrivateMarkerTransaction Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * PrivateMarkerTransactionFactory: add option to delegate to plugin if defined the plugin will be responsible for creating the pmt Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Implement locking strategy for eea_sendRawTransaction - this will lock per address being sent to prevent nonce too low errors Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Refactor plugin integration to use a more explicit poco - the plugin will need to sign the transaction with the data it's given - it will not need to query anything e.g nonce etc Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * refactor: update naming and tidy up based on comments Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Isolate code for calculating gas limit when using privacy plugin Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Vijay Michalik <vijay.michalik@consensys.net> |
3 years ago |
Antony Denyer |
ffc22522f8
|
Privacy payload plugin (#2377)
* Hook up an empty plugin for future unrestricted privacy encryption Skeleton implementation for PrivacyPayloadEncryptionProvider Wire up unencrypted serialization for private transactions Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * wire up simple privacy plugin in acceptance tests Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Pass the marker transaction through to plugin Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Move getters/setters into consistent place Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Rename plugin methods and config to be more generic - remove protections around transaction.restriction - the plugin is responsible for this - make plugin more generic so could be used for restricted/unrestricted Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Provide more meaningful error message Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Fix up test naming to match impl naming Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Rename UNRESTRICTED_PRIVACY to PLUGIN_PRIVACY Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix typo in PrivacyParmeters::toString Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Fix exception messages to be PrivacyPlugin Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Remove blockNumber from getPrivateTransactionFromPayload Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> |
3 years ago |
Antony Denyer |
840d364659
|
PermissioningService Besu Plugin (#2218)
* Permissioning: Add plugin extension point Added plugin extension point to allow developers to write their own implementation of `NodePermissioningProvider::isPermitted` This will allow developers to implement their own interpretations of things like on-chain permissioning. Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * refactor: rename NodePermissioningProvider::isPermitted Interface will be used for other pemissioning needs Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * Permissioning: added hook for NodeMessagePermissioning All message sent to a peer will call into isMessagePermitted if providers have been registered through the plugin api Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * AcceptanceTests: test node nodePermissioningProvider 4 node cluster with permissioning blocking a direct between two nodes and permissioning blocking transaction messages for a single node Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: unit tests for NodePermissioningControllerFactory Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: fat finger typo Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: reduce likely hood of flakey test Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: remove comment Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: typos Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: remove jitpack references Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: tidy up EthPeerTest args Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: update plugin hash check Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * fix: improve test reliability Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> * refactor: move test-plugins out from besu/main into acceptance-tests Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> |
4 years ago |