-
Notifications
You must be signed in to change notification settings - Fork 123
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
Timelock example #1068
base: main
Are you sure you want to change the base?
Timelock example #1068
Conversation
Waiting for context injections #1076 to land before writing actual tests |
eb5cbb3
to
9c2c3ab
Compare
1eaa311
to
aa51f3e
Compare
bdfa028
to
e99cc03
Compare
@@ -0,0 +1,313 @@ | |||
use borsh::{BorshDeserialize, BorshSerialize}; | |||
#[cfg(not(feature = "bindings"))] | |||
use wasmlanche_sdk::Context; |
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.
🤔 What if we just made this an enum?
Not for this PR, but just a thought
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.
Can you please explain what could be an enum (probably selected the wrong piece of code?)
.run_step(&Step { | ||
endpoint: Endpoint::Execute, | ||
method: "schedule".to_string(), | ||
max_units: u64::MAX, |
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.
😳
293f691
to
762a248
Compare
17aef7e
to
34b8011
Compare
34b8011
to
7fa89ae
Compare
This PR should be merged after the Multisig #1047 |
36b8f2c
to
44c962b
Compare
c5dd019
to
000bce5
Compare
be21b8f
to
6a07ba0
Compare
206be8a
to
c967dfd
Compare
c967dfd
to
b9dcce5
Compare
This branch is currently based on both https://github.com/ava-labs/hypersdk/tree/multisig_example for arbitrary return function call types and https://github.com/ava-labs/hypersdk/tree/add_timestamp to have access to the timestamp in the context