Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Update the receipt API #81

Merged
merged 8 commits into from
Sep 15, 2020
Merged

Update the receipt API #81

merged 8 commits into from
Sep 15, 2020

Conversation

clearloop
Copy link
Collaborator

@clearloop clearloop commented Sep 12, 2020

Desc

Ref to #85, Follows #281, use

pub struct MMRProof {
	pub member_leaf_index: u64,
	pub last_leaf_index: u64,
	pub proof: Vec<H256>
}

as the mmr_proof field of receipt resp.

Note

Two new binaries here:

  • dj-confirm: set confirmed block
  • dj-proposal: submit proposal directly

These two binaries will be installed automatically with @darwinia/dj

Closes

@clearloop clearloop marked this pull request as ready for review September 14, 2020 13:42
@clearloop clearloop added the A0-pleasereview Pull request needs code review. label Sep 14, 2020
@hackfisher hackfisher merged commit 17946fb into master Sep 15, 2020
@hackfisher hackfisher deleted the api branch September 15, 2020 01:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-pleasereview Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple instances of @polkadot/keyring detected
2 participants