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
To expose the newly introduced delegated voting functionality in pallet_dao_token via our chain extension. This will make the delegated voting feature accessible and usable through our chain extension API.
Affected Components
Chain extension backend in chain-extensions/pallet-dao-assets
contracts/extensions/dao-assets-extension
Default implementation of contracts/extensions/dao-assets-contract
Requirements
Update Chain Extension Backend: Modify chain-extensions/pallet-dao-assets to include hooks or calls that interact with the delegated voting feature in pallet_dao_token.
Update Extension Contract: Modify contracts/extensions/dao-assets-extension to include the delegated voting functionality.
Update Default Contract: Make sure that contracts/extensions/dao-assets-contract exposes the new functionality.
Note
The implementation should be in line with the existing architecture and coding standards.
Tasks
Implementation Phase
Update chain-extensions/pallet-dao-assets to include delegated voting hooks or calls.
Update contracts/extensions/dao-assets-extension to include delegated voting functionality.
Update contracts/extensions/dao-assets-contract to expose the new functionality.
Testing Phase
Add unit tests for the newly added functionality in chain-extensions/pallet-dao-assets.
Add unit tests for the new features in contracts/extensions/dao-assets-extension.
Add tests in test_assets.rs to validate the entire flow.
Documentation Phase
Write inline code documentation for all new features and functions.
Update any existing documentation to reflect the new changes.
Acceptance Criteria
All newly added functionalities should be accessible and usable through the chain extension API.
All new and modified code should be fully covered by unit tests.
Documentation should be updated to reflect all changes.
The text was updated successfully, but these errors were encountered:
Objective
To expose the newly introduced delegated voting functionality in
pallet_dao_token
via our chain extension. This will make the delegated voting feature accessible and usable through our chain extension API.Affected Components
chain-extensions/pallet-dao-assets
contracts/extensions/dao-assets-extension
contracts/extensions/dao-assets-contract
Requirements
chain-extensions/pallet-dao-assets
to include hooks or calls that interact with the delegated voting feature inpallet_dao_token
.contracts/extensions/dao-assets-extension
to include the delegated voting functionality.contracts/extensions/dao-assets-contract
exposes the new functionality.Note
The implementation should be in line with the existing architecture and coding standards.
Tasks
Implementation Phase
chain-extensions/pallet-dao-assets
to include delegated voting hooks or calls.contracts/extensions/dao-assets-extension
to include delegated voting functionality.contracts/extensions/dao-assets-contract
to expose the new functionality.Testing Phase
chain-extensions/pallet-dao-assets
.contracts/extensions/dao-assets-extension
.Documentation Phase
Acceptance Criteria
The text was updated successfully, but these errors were encountered: