darwinia-network / dj

Darwinia bridge relayer tool implemented in nodejs
GNU General Public License v3.0
4 stars 5 forks source link

Update the receipt API #81

Closed clearloop closed 3 years ago

clearloop commented 4 years ago

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:

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

Closes