-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs: #10598 ## Description The dashboard will requires data for each transaction. In the course of designing that we explored how to design the storage node paths without creating too much cost in IAVL. (The data in HEAD carry a burden of magnitude O(k+v) for all network nodes (including non-validators) into perpetuity.) Examining [the trade-offs](https://alpha.decidedly.co/d/b27cbb6a-df71-4136-aa27-3e947015e84b/view) we arrived at: - store one node per transaction - push all changes through it - rely on indexer to demux - delete on demand - when we have [an API for block-safe deletion](#7405) it can delete in the operation - until then keep track of what to delete - a core-eval can be run to cull data whenever necessary ### Security Considerations none ### Scaling Considerations One storage path per transaction, which persists until the deletion job is called. One entry in a set to keep track of transactions to delete. ### Documentation Considerations Not developer facing ### Testing Considerations CI ### Upgrade Considerations not yet deployed
- Loading branch information
Showing
29 changed files
with
2,624 additions
and
272 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
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 |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@agoric/cosmic-proto": "dev", | ||
"@agoric/fast-usdc": "dev", | ||
"@cosmjs/crypto": "^0.32.4", | ||
"@cosmjs/proto-signing": "^0.32.4", | ||
"@cosmjs/stargate": "^0.32.4", | ||
|
@@ -41,7 +42,54 @@ | |
"typescript": "~5.7.2" | ||
}, | ||
"resolutions": { | ||
"axios": "1.6.7" | ||
"axios": "1.6.7", | ||
"@agoric/cosmos": "portal:../golang/cosmos", | ||
"@agoric/ertp": "portal:../packages/ERTP", | ||
"@agoric/swingset-vat": "portal:../packages/SwingSet", | ||
"@agoric/access-token": "portal:../packages/access-token", | ||
"agoric": "portal:../packages/agoric-cli", | ||
"@agoric/async-flow": "portal:../packages/async-flow", | ||
"@agoric/base-zone": "portal:../packages/base-zone", | ||
"@agoric/builders": "portal:../packages/builders", | ||
"@agoric/cache": "portal:../packages/cache", | ||
"@agoric/casting": "portal:../packages/casting", | ||
"@agoric/client-utils": "portal:../packages/client-utils", | ||
"@agoric/cosmic-proto": "portal:../packages/cosmic-proto", | ||
"@agoric/cosmic-swingset": "portal:../packages/cosmic-swingset", | ||
"@agoric/create-dapp": "portal:../packages/create-dapp", | ||
"@agoric/deploy-script-support": "portal:../packages/deploy-script-support", | ||
"@agoric/eslint-config": "portal:../packages/eslint-config", | ||
"@agoric/fast-usdc": "portal:../packages/fast-usdc", | ||
"@agoric/governance": "portal:../packages/governance", | ||
"@agoric/import-manager": "portal:../packages/import-manager", | ||
"@agoric/inter-protocol": "portal:../packages/inter-protocol", | ||
"@agoric/internal": "portal:../packages/internal", | ||
"@agoric/kmarshal": "portal:../packages/kmarshal", | ||
"@agoric/network": "portal:../packages/network", | ||
"@agoric/notifier": "portal:../packages/notifier", | ||
"@agoric/orchestration": "portal:../packages/orchestration", | ||
"@agoric/pegasus": "portal:../packages/pegasus", | ||
"@agoric/smart-wallet": "portal:../packages/smart-wallet", | ||
"@agoric/solo": "portal:../packages/solo", | ||
"@agoric/sparse-ints": "portal:../packages/sparse-ints", | ||
"@agoric/spawner": "portal:../packages/spawner", | ||
"@agoric/stat-logger": "portal:../packages/stat-logger", | ||
"@agoric/store": "portal:../packages/store", | ||
"@agoric/swing-store": "portal:../packages/swing-store", | ||
"@agoric/swingset-liveslots": "portal:../packages/swingset-liveslots", | ||
"@agoric/swingset-xsnap-supervisor": "portal:../packages/swingset-xsnap-supervisor", | ||
"@agoric/telemetry": "portal:../packages/telemetry", | ||
"@agoric/time": "portal:../packages/time", | ||
"@agoric/vat-data": "portal:../packages/vat-data", | ||
"@agoric/vats": "portal:../packages/vats", | ||
"@agoric/vm-config": "portal:../packages/vm-config", | ||
"@agoric/vow": "portal:../packages/vow", | ||
"@agoric/wallet": "portal:../packages/wallet", | ||
"@agoric/wallet-backend": "portal:../packages/wallet/api", | ||
"@agoric/xsnap": "portal:../packages/xsnap", | ||
"@agoric/xsnap-lockdown": "portal:../packages/xsnap-lockdown", | ||
"@agoric/zoe": "portal:../packages/zoe", | ||
"@agoric/zone": "portal:../packages/zone" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"include": [ | ||
"src", | ||
"tools", | ||
"test" | ||
], | ||
"compilerOptions": { | ||
"checkJs": false | ||
} | ||
"src", | ||
"tools", | ||
"test" | ||
] | ||
} |
Oops, something went wrong.