-
Notifications
You must be signed in to change notification settings - Fork 9
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
Develop #1331
Open
TheNewAutonomy
wants to merge
171
commits into
master
Choose a base branch
from
develop
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Develop #1331
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add ConfigValueParser tests * Add test on empty config * remove unused imports
* Benchmarks added * Non-allocating extensions added * A few usages of ToByteArray replaced with the new extensions for hashing * ICryptoContext got extensions to directly work on messages * Tests amended to use the proper Verify method * File headers * Tests use now IMessage based overloads * Review remarks amended. * API span field * KeySigner just lost two more ToByteArray * Benchmarks amended to comply to code rules * C# bumped up to 8.0 which allows using ref struct for scoping lifetime of serialized messages.
…e config to the SharpRepository
…one under one lock now
* remove duplicate import * add missing library * test for linux * remove pipeline step add project reference * Init commit * Extract publickey from dfs peer id * Refactor to move POATestNode to TestUtils * add method * add correct tag to test * add snappy for linux * fix indent * add snappy for mac * add underscore to library link * User dfs keystore instead of cat * Update keyapi * Use dfs key registry, key store and proxy key signer * Refactor some code * Refactor more classes * Add change to id and public key of peer * Use 32 pub key of libp2p pksi, update cli to base 58 from 32 * Add reference to poa.node.tests to core.lib * Revert GetPeersByIpAndPublicKey * Restore key registry * Update key signer to add key to registry on request * fixed disposal of containers creating rocksdb * Comment out randomly failing test * Update KeySigner Tests Co-authored-by: fran <[email protected]> Co-authored-by: Tomasz Kajetan Stanczak <[email protected]> Co-authored-by: franssl <[email protected]>
* Skip tests which fail intermittently.
Adds Catalyst.Modules.UPnP project for automatic port forwarding
* removed submodule * Remove rust build from pipelines
* Start of libp2p intergration in catalyst * Refactor LibP2P use interfaces and more DI * Update PoaNode and Tests * Update ip/port to use multiaddress in more places * Update unit tests * Update more unit tests * Add multi address in cli * Update proto submodule * Update PoaConsensus intergration * Update POA Concensus * Update get peers by repo * Rename PeerId to Address, Add more PeerRepo signatures, Find POA nodes using PublicKey instead of PeerId * Get POA nodes by PublicKey * Use string instead of bytearray for publicKey * Create custom libp2p protocol * Backup before updating protobuf ver * Use catalyst-protocol libp2p in peer client for testing * Update minimum peers * Use multi-address instead of peerid libp2p * Add try catch to peer client * Use peer client broadcast method * Remove Dto * Revert "Remove Dto" This reverts commit f723bbe. * Remove Dto * Fix sync tests * Update sync * Add cancellation tokens and better async * Fix POA peer repository get peer by public key * Blacklist peers that cannot be connected to but remove the black list entry if they connect into you * Update Catalyst LibP2P protocol intergration tests * Add handlers to libp2p networking * Add handlers to broadcast * Update peer client * Fix bug with sending signed message * Update POA nodes config * Remove RPC Server and Client from Project, as EthController has been discussed as a replacement * Comment out test to test pipeline * Add trait to CatalystProtocol intergration tests * Update protocol and refactor * Comment out unit tests * Add rpc projects back to sln * Peer info request * Update rpc unit tests * Comment out unit test for verify rpc * Comment out unit test for sign rpc * Remove channel handler in rpc * Update ports for Catalyst libp2p protocol * Uncomment some todo tests and update PeerId handler to use MultiAddress * Fix FavouriteByHashAndVoterComparerTests * Variable name refactor * Remove inmemory sharp repo from Catalyst.Abstraction packages * Update protocol submodule * Revert ignore attribute on IntergrationTest for 1241 * Remove unused DI from PeerService * Refactor catalyst node * Use peer client instead of broadcast manager on TransactionReceivedEvent * Remove submodule ffi * Uncomment depricated tests * Refactor some codacy issues * Refactor for codacy * Refactor more issues for codacy * Refactor for codacy * Refactor for codacy * Update for some autofac issues
* Start of libp2p intergration in catalyst * Refactor LibP2P use interfaces and more DI * Update PoaNode and Tests * Update ip/port to use multiaddress in more places * Update unit tests * Update more unit tests * Add multi address in cli * Update proto submodule * Update PoaConsensus intergration * Update POA Concensus * Update get peers by repo * Rename PeerId to Address, Add more PeerRepo signatures, Find POA nodes using PublicKey instead of PeerId * Get POA nodes by PublicKey * Use string instead of bytearray for publicKey * Create custom libp2p protocol * Backup before updating protobuf ver * Use catalyst-protocol libp2p in peer client for testing * Update minimum peers * Use multi-address instead of peerid libp2p * Add try catch to peer client * Use peer client broadcast method * Remove Dto * Revert "Remove Dto" This reverts commit f723bbe. * Remove Dto * Fix sync tests * Update sync * Add cancellation tokens and better async * Fix POA peer repository get peer by public key * Blacklist peers that cannot be connected to but remove the black list entry if they connect into you * Update Catalyst LibP2P protocol intergration tests * Add handlers to libp2p networking * Add handlers to broadcast * Update peer client * Fix bug with sending signed message * Update POA nodes config * Remove RPC Server and Client from Project, as EthController has been discussed as a replacement * Comment out test to test pipeline * Add trait to CatalystProtocol intergration tests * Update protocol and refactor * Comment out unit tests * Add rpc projects back to sln * Peer info request * Update rpc unit tests * Comment out unit test for verify rpc * Comment out unit test for sign rpc * Remove channel handler in rpc * Update ports for Catalyst libp2p protocol * Uncomment some todo tests and update PeerId handler to use MultiAddress * Fix FavouriteByHashAndVoterComparerTests * Variable name refactor * Remove inmemory sharp repo from Catalyst.Abstraction packages * Update protocol submodule * Add self signed cert to ApiModule * Revert ignore attribute on IntergrationTest for 1241 * Remove unused DI from PeerService * Refactor catalyst node * DI endpoint and cert into ApiModule * Update POATestNode * Use http if no cert * Use peer client instead of broadcast manager on TransactionReceivedEvent * Remove FFI submodule * Remove submodule ffi * Allow selfsigned cert for unix * Uncomment depricated tests * Refactor some codacy issues * Refactor for codacy * Refactor more issues for codacy * Refactor for codacy * Refactor for codacy * Update for some autofac issues * Add http and https options * Don't force http to redirect to https * Uncomment blacklist on peer register * Remove peer from blacklist on connection
* Start of libp2p intergration in catalyst * Refactor LibP2P use interfaces and more DI * Update PoaNode and Tests * Update ip/port to use multiaddress in more places * Update unit tests * Update more unit tests * Add multi address in cli * Update proto submodule * Update PoaConsensus intergration * Update POA Concensus * Update get peers by repo * Rename PeerId to Address, Add more PeerRepo signatures, Find POA nodes using PublicKey instead of PeerId * Get POA nodes by PublicKey * Use string instead of bytearray for publicKey * Create custom libp2p protocol * Backup before updating protobuf ver * Use catalyst-protocol libp2p in peer client for testing * Update minimum peers * Use multi-address instead of peerid libp2p * Add try catch to peer client * Use peer client broadcast method * Remove Dto * Revert "Remove Dto" This reverts commit f723bbe. * Remove Dto * Fix sync tests * Update sync * Add cancellation tokens and better async * Fix POA peer repository get peer by public key * Blacklist peers that cannot be connected to but remove the black list entry if they connect into you * Update Catalyst LibP2P protocol intergration tests * Add handlers to libp2p networking * Add handlers to broadcast * Update peer client * Fix bug with sending signed message * Update POA nodes config * Remove RPC Server and Client from Project, as EthController has been discussed as a replacement * Comment out test to test pipeline * Add trait to CatalystProtocol intergration tests * Update protocol and refactor * Comment out unit tests * Add rpc projects back to sln * Peer info request * Update rpc unit tests * Comment out unit test for verify rpc * Comment out unit test for sign rpc * Remove channel handler in rpc * Update ports for Catalyst libp2p protocol * Uncomment some todo tests and update PeerId handler to use MultiAddress * Fix FavouriteByHashAndVoterComparerTests * Variable name refactor * Remove inmemory sharp repo from Catalyst.Abstraction packages * Update protocol submodule * Add self signed cert to ApiModule * Revert ignore attribute on IntergrationTest for 1241 * Remove unused DI from PeerService * Refactor catalyst node * DI endpoint and cert into ApiModule * Update POATestNode * Use http if no cert * Use peer client instead of broadcast manager on TransactionReceivedEvent * Remove submodule ffi * Uncomment depricated tests * Refactor some codacy issues * Refactor for codacy * Refactor more issues for codacy * Refactor for codacy * Refactor for codacy * Update for some autofac issues * Only select delta from highest ranked producer * Fix consensus cycle timings * Turn sync back on * Turn off blacklist * Timing test * Add start method to cycle event provider * Turn on sync * Turn off delta rank in hash observer * Sync update * Readd blacklist * Update peer connection est * SwarmService update * Add additional logging * Remove blacklist * Comment out download deltas * Remove while loop from CatalystProtocol * Fix CycleEvent tests and DFS SecioStream * Fix POA node and update DeltaDfsHash to check fav candidate * Use new cycle event provider * Download one delta at a time sync, until dfs batching upgrade * Increase ask time of DistributedQuery * Update boolean logic in CycleEventsProvider * Update syncroniser * Debug end of stream exception in dfs * Force allow on remote connect * Update SwarmService interface * Codacy refactor * Codacy refactor * Codacy refactor * Codacy refactor * Codacy refactor * Temp Remove sig validation from SecioStream * Dont close socket on InvalidDataException * Refacor and add comments to the CycleEventProvider * Refacor - remove exception params that are not used
* Create CatalystTestPlan.md * Add 1 space between block quote and content * Add new line after list items * remove 1 space before bullets * Indent change for codacy * More codacy changes * Add space for codacy * Try again with the codacy indent. * One more space
* Start of libp2p intergration in catalyst * Refactor LibP2P use interfaces and more DI * Update PoaNode and Tests * Update ip/port to use multiaddress in more places * Update unit tests * Update more unit tests * Add multi address in cli * Update proto submodule * Update PoaConsensus intergration * Update POA Concensus * Update get peers by repo * Rename PeerId to Address, Add more PeerRepo signatures, Find POA nodes using PublicKey instead of PeerId * Get POA nodes by PublicKey * Use string instead of bytearray for publicKey * Create custom libp2p protocol * Backup before updating protobuf ver * Use catalyst-protocol libp2p in peer client for testing * Update minimum peers * Use multi-address instead of peerid libp2p * Add try catch to peer client * Use peer client broadcast method * Remove Dto * Revert "Remove Dto" This reverts commit f723bbe. * Remove Dto * Fix sync tests * Update sync * Add cancellation tokens and better async * Fix POA peer repository get peer by public key * Blacklist peers that cannot be connected to but remove the black list entry if they connect into you * Update Catalyst LibP2P protocol intergration tests * Add handlers to libp2p networking * Add handlers to broadcast * Update peer client * Fix bug with sending signed message * Update POA nodes config * Remove RPC Server and Client from Project, as EthController has been discussed as a replacement * Comment out test to test pipeline * Add trait to CatalystProtocol intergration tests * Update protocol and refactor * Comment out unit tests * Add rpc projects back to sln * Peer info request * Update rpc unit tests * Comment out unit test for verify rpc * Comment out unit test for sign rpc * Remove channel handler in rpc * Update ports for Catalyst libp2p protocol * Uncomment some todo tests and update PeerId handler to use MultiAddress * Fix FavouriteByHashAndVoterComparerTests * Variable name refactor * Remove inmemory sharp repo from Catalyst.Abstraction packages * Update protocol submodule * Add self signed cert to ApiModule * Revert ignore attribute on IntergrationTest for 1241 * Remove unused DI from PeerService * Refactor catalyst node * DI endpoint and cert into ApiModule * Update POATestNode * Use http if no cert * Use peer client instead of broadcast manager on TransactionReceivedEvent * Remove submodule ffi * Uncomment depricated tests * Refactor some codacy issues * Refactor for codacy * Refactor more issues for codacy * Refactor for codacy * Refactor for codacy * Update for some autofac issues * Only select delta from highest ranked producer * Fix consensus cycle timings * Turn sync back on * Turn off blacklist * Timing test * Add start method to cycle event provider * Turn on sync * Turn off delta rank in hash observer * Sync update * Readd blacklist * Update peer connection est * SwarmService update * Add additional logging * Remove blacklist * Comment out download deltas * Remove while loop from CatalystProtocol * Fix CycleEvent tests and DFS SecioStream * Fix POA node and update DeltaDfsHash to check fav candidate * Use new cycle event provider * Download one delta at a time sync, until dfs batching upgrade * Increase ask time of DistributedQuery * Update boolean logic in CycleEventsProvider * Update syncroniser * Debug end of stream exception in dfs * Force allow on remote connect * Update SwarmService interface * Codacy refactor * Codacy refactor * Codacy refactor * Codacy refactor * Codacy refactor * Temp Remove sig validation from SecioStream * Dont close socket on InvalidDataException * Refacor and add comments to the CycleEventProvider * Refacor - remove exception params that are not used * Add unit tests to cycle event provider * Update for codacy * Add IDisposable * Uncomment IsAllowed for swarm in DhtService Co-authored-by: sudhirtibrewal <[email protected]>
* Add password repeater functionality * Add unit tests to password repeater * Fix peer validation unit test
* Add modules for dotnetty and libp2p * Remove IChannelHandlerContext * Update unit tests to use PeerClient interface without dotnetty * Move network specific files into their own network module projects * Cli unit test fixes * Fixes to cli commands * Add seperate observable channel for rpc * Remove depricated project from catalyst solution * Refactor Observers and PeerClient and Service for codacy * Update pipeline to only run tests in solution * Update reference * Update reference * Remove deprecated projects from solution * Move observers in the specific module * Comment out time race condition tests * Restore cli projects * Update pipeline * Update peer settings * Remove unneeded reference to autofac * Add password repeater functionality * Add unit tests to password repeater * Remove partial class * Fix peer validation unit test * Make T parameter covarient * Codacy fixed
* Add modules for dotnetty and libp2p * Remove IChannelHandlerContext * Update unit tests to use PeerClient interface without dotnetty * Move network specific files into their own network module projects * Cli unit test fixes * Fixes to cli commands * Add seperate observable channel for rpc * Remove depricated project from catalyst solution * Refactor Observers and PeerClient and Service for codacy * Update pipeline to only run tests in solution * Update reference * Update reference * Remove deprecated projects from solution * Move observers in the specific module * Comment out time race condition tests * Restore cli projects * Update pipeline * Update peer settings * Remove unneeded reference to autofac * Add password repeater functionality * Add unit tests to password repeater * Remove partial class * Fix peer validation unit test * Make T parameter covarient * Codacy fixed * Fix refs
* add bool to rpc method * includes full txs vs hash of txs * remove unused references Co-authored-by: Alex <[email protected]>
* Add boolean to turn off broadcasting from TransactionReceivedEvent * Restore packages on pipeline * Add projects
* Reject transactions from mempool if they are under minimum gas limit * Add comment to tranaction validator tests * Remove the field '_logger' and declare it as a local variable in the relevant methods.
Network type set via commandline
* Use KVM Address in Producer selection instead of Public Key * Comment out rep manager in concensus process * Update unit tests around peer rep manager * Update protocol submodule
* Add validator set classes * Add validator set classes and updates * Remove validators config from TestUtils * Codacy fixes * Remove reset command line arg * Get validators from current block height in POA Producer Provider * Update protocol submodule
…EVM Code state restore. (#1320) * Add validator set classes * Add validator set classes and updates * Remove validators config from TestUtils * Codacy fixes * Remove reset command line arg * Get validators from current block height in POA Producer Provider * Update protocol submodule * Add proxy smart contract class, Validator smart contract, Fix EVM Code state not saving and restoring * Autofac refactor * Update validator json file with devnet * Start contract validator set at block 90 instead of 900 * Fix eth rpc block controllers and correct author address
* Add Uninstall option, delete IPFS password * Try implement uninstall in Program.cs * Implement uninstall option * Delete unnecessary changes * Rename variables
Part of a series of updates to bring Catalyst and its dependencies up to date. Updates to C# 10 and .NET 6.0. A number of Nuget packages updated to the latest, necessary since some have had security improvements. Tested with a locally updated Nethermind code base. The Nethermind code base will be tested further and then updated to match. CICD to be overhauled but for now these changes are necessary as part of an ongoing update programme.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New Pull Request Submissions:
closes #1
) ?What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information: