This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
* less eager deletion of DB values * archive mode
JoshOrndorff
pushed a commit
to moonbeam-foundation/substrate
that referenced
this pull request
Apr 21, 2021
* Bootstrap impls for runner and executor * Fix frontier version * Cargo lock * Bootstrap rpc handler + runtime api * Refactor + bootstrap impls * Refactor response types * Cargo lock * `ethereum-types` 0.10.0 * Error handling * Add `storage` field * Copyright * Remove unused * Use evm getters * Update frontier and evm dependencies * Update `ethereum` dependency * Update frontier pin * Fix fmt * Context helper + update evm pin * Switch to executor wrapper design * Remove stack module in favor of wrapper * Use BlockchainBackend * Modify runtime api fn signature * Apply subset of extrinsic before tracing * First simple test to validate tracing over intermediate state * Fix nesting * Keep it simple * WIP update evm * Move executor declaration to parent scope * Fix some deps * Update gas_cost retrieval to new evm changes * u8 to stringified opcode conversion * Use getters for StackSubstateMetadata * Handle evm transfers * Chunkify memory * No need to specify type * Add serializer to remove 0x prefix * Serialize U256 as low u64 * Add cli debug option * Add debug option to ts tests * Handle gas_limit * storage tracing (not tested) * update storage cache AFTER step * Move debug flag to RunCmd * remove duplicated response types * wip blockscout tracing * wip blockscout entries insertion * almost complete tracing in wrapper * working tracing (raw + blockscout), need small fixes in rpc * Depth trace format is EVM's returned depth + 1 * Add test for nested calls (raw) * Add test for nested calls (blockscout) * Move nested test to own fn * Fix formatting * 0x prefixes * Pass scheme to `trace_create` * WIP fix staticcall * Add missing gas correction on trace (fix staticcall ok) * Bump spec_version * Add simple replay test utility * Handle request processing error in replay test utility * Add copyright * Prettier * Change the tracer hash * Set `debug` and `txpool` as as optional RPC extensions * Update tests * Prettier * Update frontier pin * Set `require_delimiter` flag to true * Add missing serde camelCase renames * Fix previous commit.. * Default transaction index None in txpool * Update frontier pin * Update test-block to new totalDifficulty * Update frontier * Fix trace_address fields * fix runtime api * Fix fmt * Update frontier + evm * Sync with master * Fix checker * bump frontier dependency hash * Update settings.json * Remove old comments * TraceParams additional fields (unused) * Bump sha3 0.9 * Document evm extension * Opcode greater that 255 is unreachable * Remove frame_support re-export * Fix checker * Fix checker * Try to fix docs * Document TraceRunner * Remove unused * ethers 5.0.32 * Remove comment Co-authored-by: nanocryk <6422796+nanocryk@users.noreply.github.com> Co-authored-by: Alan Sapede <alan.sapede@gmail.com> Co-authored-by: Crystalin <alan@purestake.com>
liuchengxu
pushed a commit
to chainx-org/substrate
that referenced
this pull request
Aug 23, 2021
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
liuchengxu
pushed a commit
to chainx-org/substrate
that referenced
this pull request
Aug 23, 2021
* remove SignedBalance in assets * fix types json * remove signedbalance in types_gen
liuchengxu
added a commit
to autonomys/substrate
that referenced
this pull request
Jun 3, 2022
* Introduce NewSlot event in overseer This event will be handled in collation-generation subsystem. * Produce a dummy transaction bundle on each new slot * Submit transaction bundle to primary chain on new slot * Extract tx bundles of each primary block for further computation * Submit ExecutionReceipt to primary chain * Add some TODOs and fmt cumulus&polkadot * Tweak some comments * Rename binary `parachain-collator` to `subspace-executor` * Migrate all to edition 2021 * Rename `handle_new_slot` in collation-generation to `produce_bundle` * TODO: avoid having to run the embedded node in authorty mode Fixes autonomys/subspace#196 (comment) * Extract the bundles using a runtime api call Fixes autonomys/subspace#196 (comment) * Introduce ExecutorSlotInfo in cirrus-node-primitives Fixes autonomys/subspace#196 (comment) * FMT * Revert NewSlowInfo modification
Wolmin
added a commit
to Quantum-Blockchains/substrate
that referenced
this pull request
Jan 25, 2023
* Fix generating from seed and phrase * Format * Fix build warnings and test configurations
helin6
pushed a commit
to boolnetwork/substrate
that referenced
this pull request
Jul 25, 2023
* Refactor event type decoding hand declartion Fixes paritytech#196, paritytech#181, paritytech#28 ## Dyanmic sized types Before this change, the event decoder assume all the event types have fixed sizes. Some counterexamples are: Hashes, AuthorityList. In this change, instead of decoding by skipping the fixed-length bytes, we introduce `type_segmenter` registry which decodes the raw event bytes with the actual scale codec. So variable length types can be handled correctly. ## New attribute for pallet type definition In the past, trait associated type is the only way to add types to the EventsDecoder implementation of a pallet. But in reality it's common that the events in a pallet references some types not defined in the trait associated types. Some examples are: `IdentificationTuple` and `SessionIndex` in Session pallet. In this change, we introduce more attributes to add the types: ```rust #[module] trait Pallet: System { #![event_type(SomeType)] #![event_alias(TypeNameAlias = SomeType)] #![event_alias(SomeOtherAlias = TypeWithAssociatedTypes<T>)] } ``` ## Tested Compile with `nightly-2020-10-01`; smoke test to sync a full Phala bockchain. * Format code * Make rustfmt::skip an outer attribute * Ignore the sample code * Alias the event segmenter closure * Copy AuthorityList from sp_finality_grandpa * Remove the unused static event type size * Make segmenter as a trait, resue grandpa::Public * Wrap PhantomData in struct TypeMarker
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.