-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Milestone
Description
https://github.com/AdExNetwork/aips/issues/61
Rust reference:
Issue: AmbireTech/adex-validator-stack-rust#382
PRs: AmbireTech/adex-validator-stack-rust#383
Channel
As AIP#61 states the Channel is defined by (leader, follower, guardian, tokenAddr, nonce)
- Channel validation - is token allowed? is the requester a Leader or a Follower?
- No routes for storing Channels, they are gone.
Campaign
- A Campaign is defined by
Campaign { id: CampaignId, channel: Channel, creator, validators, title.... rest of the ChannelSpec fields }
Note: The fields were aligned with Ivo before making the changes for the Campaign. CampaignIdshould be a randomly assigned value bySentry, we've chose theUuidas a random generator in Rust and using a representation of the 16 bytes as0xprefixed hex string
No migration
Apart from that we can remove obsolete fields in the ChannelSpec as the v5 will not have migration from v4 as it will work in a different way that v4.
Reactions are currently unavailable