-
Notifications
You must be signed in to change notification settings - Fork 10
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
[PLA-2029] Ingest changes for v2.0.0 & remove async from platform:sync #262
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
Minor improvement
src/Services/Processor/Substrate/Codec/Polkadart/Events/Event.php
Outdated
Show resolved
Hide resolved
Signed-off-by: Leonardo Custodio <[email protected]>
PR Type
enhancement, bug_fix
Description
Sync
command to remove asynchronous processing and introducedSubstrateSocketClient
for synchronous RPC calls.BlockProcessor
for accurate block processing duration.getValue
method in theEvent
class to support multiple types for keys.Changes walkthrough 📝
14 files
Sync.php
Refactor Sync Command to Remove Async and Use SubstrateSocketClient
src/Commands/Sync.php
Amp\Future
andAmp\async
.SubstrateSocketClient
for synchronous RPC calls.BalanceSet.php
Simplify Data Retrieval in BalanceSet Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/BalanceSet.php
Deposit.php
Simplify Data Retrieval in Deposit Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/Deposit.php
DustLost.php
Simplify Data Retrieval in DustLost Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/DustLost.php
Endowed.php
Simplify Data Retrieval in Endowed Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/Endowed.php
ReserveRepatriated.php
Simplify Data Retrieval in ReserveRepatriated Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/ReserveRepatriated.php
Reserved.php
Simplify Data Retrieval in Reserved Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/Reserved.php
Slashed.php
Simplify Data Retrieval in Slashed Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/Slashed.php
Transfer.php
Simplify Data Retrieval in Transfer Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/Transfer.php
Unreserved.php
Simplify Data Retrieval in Unreserved Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/Unreserved.php
Withdraw.php
Simplify Data Retrieval in Withdraw Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/Balances/Withdraw.php
Event.php
Enhance getValue Method to Support Multiple Key Types
src/Services/Processor/Substrate/Codec/Polkadart/Events/Event.php
getValue
method to accept multiple types for keys.AccountAdded.php
Simplify Data Retrieval in AccountAdded Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/FuelTanks/AccountAdded.php
AccountRemoved.php
Simplify Data Retrieval in AccountRemoved Event
src/Services/Processor/Substrate/Codec/Polkadart/Events/FuelTanks/AccountRemoved.php
1 files
BlockProcessor.php
Fix Time Calculation in Block Processing
src/Services/Processor/Substrate/BlockProcessor.php