-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1678 from radixdlt/feature/pool-improvements
Pools v1.1 + update logic
- Loading branch information
Showing
67 changed files
with
6,224 additions
and
1,516 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
radix-engine-interface/src/api/node_modules/auth/role_assignment/invocations.rs
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
55 changes: 55 additions & 0 deletions
55
radix-engine-tests/assets/metering/cost_radiswap_pools_v1_1.csv
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
Total Cost (XRD) , 0.57356037273, 100.0% | ||
- Execution Cost (XRD) , 0.3676254, 64.1% | ||
- Finalization Cost (XRD) , 0.0427613, 7.5% | ||
- Tipping Cost (XRD) , 0, 0.0% | ||
- Storage Cost (XRD) , 0.16317367273, 28.4% | ||
- Tipping Cost (XRD) , 0, 0.0% | ||
- Royalty Cost (XRD) , 0, 0.0% | ||
Execution Cost Breakdown , 7352508, 100.0% | ||
- AfterInvoke , 1444, 0.0% | ||
- AllocateNodeId , 3395, 0.0% | ||
- BeforeInvoke , 3714, 0.1% | ||
- CloseSubstate , 75852, 1.0% | ||
- CreateNode , 31054, 0.4% | ||
- DropNode , 53650, 0.7% | ||
- EmitEvent , 6566, 0.1% | ||
- LockFee , 500, 0.0% | ||
- MarkSubstateAsTransient , 165, 0.0% | ||
- OpenSubstate::GlobalAccount , 656205, 8.9% | ||
- OpenSubstate::GlobalFungibleResourceManager , 425889, 5.8% | ||
- OpenSubstate::GlobalGenericComponent , 44192, 0.6% | ||
- OpenSubstate::GlobalPackage , 2671378, 36.3% | ||
- OpenSubstate::GlobalTwoResourcePool , 657608, 8.9% | ||
- OpenSubstate::InternalFungibleVault , 355473, 4.8% | ||
- OpenSubstate::InternalGenericComponent , 125641, 1.7% | ||
- PinNode , 408, 0.0% | ||
- PrepareWasmCode , 504358, 6.9% | ||
- QueryActor , 4500, 0.1% | ||
- ReadSubstate , 743734, 10.1% | ||
- RunNativeCode::Worktop_drain , 11224, 0.2% | ||
- RunNativeCode::Worktop_drop , 17918, 0.2% | ||
- RunNativeCode::Worktop_put , 58066, 0.8% | ||
- RunNativeCode::Worktop_take_all , 14602, 0.2% | ||
- RunNativeCode::create_empty_vault_FungibleResourceManager , 35570, 0.5% | ||
- RunNativeCode::get_amount_FungibleBucket , 88128, 1.2% | ||
- RunNativeCode::get_amount_FungibleVault , 28902, 0.4% | ||
- RunNativeCode::get_resource_address_FungibleBucket , 17768, 0.2% | ||
- RunNativeCode::get_vault_amounts_two_resource_pool , 47047, 0.6% | ||
- RunNativeCode::lock_fee , 116047, 1.6% | ||
- RunNativeCode::protected_deposit_two_resource_pool , 55718, 0.8% | ||
- RunNativeCode::protected_withdraw_two_resource_pool , 38847, 0.5% | ||
- RunNativeCode::put_FungibleVault , 49108, 0.7% | ||
- RunNativeCode::take_FungibleVault , 42457, 0.6% | ||
- RunNativeCode::take_advanced_FungibleVault , 44567, 0.6% | ||
- RunNativeCode::try_deposit_batch_or_abort , 121257, 1.6% | ||
- RunNativeCode::withdraw , 57851, 0.8% | ||
- RunWasmCode::Radiswap_swap , 95299, 1.3% | ||
- ValidateTxPayload , 13120, 0.2% | ||
- VerifyTxSignatures , 14000, 0.2% | ||
- WriteSubstate , 19286, 0.3% | ||
Finalization Cost Breakdown , 855226, 100.0% | ||
- CommitEvents , 55131, 6.4% | ||
- CommitLogs , 0, 0.0% | ||
- CommitStateUpdates::GlobalAccount , 100011, 11.7% | ||
- CommitStateUpdates::GlobalGenericComponent , 100010, 11.7% | ||
- CommitStateUpdates::InternalFungibleVault , 600074, 70.2% |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// Provides assets paths to benchmarks. | ||
pub mod common; | ||
pub mod pool_stubs; |
Oops, something went wrong.