Refactoring the code base with substrate v3.0.0 node template
Removed unnecessary runtime pallets imports
Reimported the frontier modules for supporting EVM in substrate v3.0.0
Refactored pallet-fulfillment into different pallets by their functionality, including:
pallet-attestor: maintenance of Attestor entity.
pallet-geode: maintenance of Geode entity.
pallet-liveness: interaction between Attestor and Geode including the attestation and misconduct reports.
ReImplemented the logics in the above pallets, including compositing with Framework v2, data structures definition, storage declaration, and all the functions definition regardingly.
Adding new RPC APIs such as:
attested_geode: return all the geodes being attested
attestor_attested_geode: return all the geodes being attested by a given attestor, with [u8; 32] as a parameter to indicate the account ID of the Attestor.
The changes included in this PR:
pallet-attestor
: maintenance of Attestor entity.pallet-geode
: maintenance of Geode entity.pallet-liveness
: interaction between Attestor and Geode including the attestation and misconduct reports.attested_geode
: return all the geodes being attestedattestor_attested_geode
: return all the geodes being attested by a given attestor, with[u8; 32]
as a parameter to indicate the account ID of the Attestor.spec_version
to be 106 currently.