You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update all Fondant dependencies to their latest Casper 2.0-compatible versions. This includes casper-node, casper-client, cctl and any other relevant tools.
Data Parsing:
Modify Fondant's data parsing logic to accommodate the new Casper 2.0 data structures for blocks and transactions.
Implement support for the new Casper 2.0 event system, which utilizes message topics for event subscription and filtering.
Subscribe to relevant message topics emitted by contracts and handle these events within your application's logic.
Ensure compatibility with the older Casper 1.x event system (CES) by maintaining existing event handling mechanisms while introducing support for the new native events.
Hi, I have some objections about this point - Casper Events Support.
Not sure it will be easy to implement
Subscribe to relevant message topics emitted by contracts and handle these events within your application's logic
because the application will need to store some state about the installed contracts. I know we can rely on sidecar here but as current version of Fondant doesn't use it I can't say how far we can go with this functionality.
Casper 2.0 Fondant
Dependency Upgrade:
casper-node
,casper-client
,cctl
and any other relevant tools.Data Parsing:
AddressableEntity:
AccountHash
andContractHash
with the unifiedKey::AddressableEntity
.EntityKindTag
(Account or SmartContract) to specify the type of theAddressableEntity
.AddressableEntity
format.Casper Events Support:
Casper Client Command Updates:
get-account
command withget-entity
to retrieve information about an addressable entity (account or contract).get-deploy
command withget-transaction
to retrieve details about a specific transaction.put-deploy
command withput-txn
to submit a new transaction to the network.The text was updated successfully, but these errors were encountered: