-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sdk): asset lock quorum and core locked height verification #2030
base: master
Are you sure you want to change the base?
Conversation
9c21078
to
b3f5f17
Compare
a328081
to
f57e455
Compare
|
||
pub fn new_devnet() -> Self { | ||
QuorumParams { | ||
// FIXME: local devnet uses regtest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs discussion how to handle that.
Ok(()) | ||
} | ||
} | ||
AssetLockProof::Instant(v) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not gonna check if we can verify signature in Drive, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have any hint how to do that client-side, I would be happy to include this here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@QuantumExplorer can you give me some formula to add it here?
Issue being fixed or feature implemented
We want to be able to check if the platform can process an asset lock.
What was done?
Added AssetLockProofVerifier trait with verify() method, implemented on AssetLockProof.
How Has This Been Tested?
Added test.
Note: Requires #2061 to pass the tests.
Breaking Changes
None
Checklist:
For repository code-owners and collaborators only