-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR does a series of refactoring on how we construct node config and swarm configs to make it cleaner: 1. Renames utils.rs in sui-config/ to local_ip_utils.rs, and moved all the IP and port management port into it. Now it contains a manager to generate new IPs and new ports for simtest; for non-simtest it always use localhost and new available port. 2. Previously we start fullnode inside TestCluster, which runs on the client node in simtest. This created a lot of tech debt. This PR moves all fullnode creation into Swarm. Now we can start arbitrary number of fullnodes in a Swarm. When starting TestCluster, it uses Swarm to launch a fullnode, and keep a copy of the fullnode handle locally for rpc access. 3. Also added the ability to start more fullnodes after a test cluster started running, inside swarm. This means we could also run those fullnodes in a container, managed by the swarm. 4. Heavy use of the builder pattern: added ValidatorGenesisConfigBuilder to build a ValidatorGenesisConfig; added ValidatorConfigBuilder and FullnodeConfigBuilder to build their node configs. 5. Removed a number of unused fields in ConfigBuilder and SwarmBuilder. This this PR, we should be able to start removing all the code that spawns individual nodes instead of inside a container.
- Loading branch information
Showing
42 changed files
with
1,069 additions
and
1,078 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.
cd6bbe0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
offline-signer-helper – ./dapps/offline-signer-helper
offline-signer-helper.vercel.app
offline-signer-helper-git-main-mysten-labs.vercel.app
offline-signer-helper-mysten-labs.vercel.app
cd6bbe0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 Validators 500/s Owned Transactions Benchmark Results
4 Validators 500/s Shared Transactions Benchmark Results
20 Validators 50/s Owned Transactions Benchmark Results
20 Validators 50/s Shared Transactions Benchmark Results
Narwhal Benchmark Results