Skip to content
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

(WIP) refactor(promise)!: refactor promises to schedule at end of function call and allow automatically assigning gas #523

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7d53462
fix(env): Update method name parameters in env to string equivalents
austinabell Aug 3, 2021
fe5ba49
revert removal of conversion of params
austinabell Aug 4, 2021
f995bda
fix help doc
austinabell Aug 4, 2021
2effdf8
update changelog
austinabell Aug 5, 2021
78995da
add PR link
austinabell Aug 5, 2021
a8fbad6
wip setting up queued function call API
austinabell Aug 5, 2021
643eaf6
fix: update ext contract codegen function signature
austinabell Aug 5, 2021
24059a5
wip setup private
austinabell Aug 5, 2021
3a90f36
fix: update ext contract codegen function signature
austinabell Aug 5, 2021
b5b5647
fix: ext contract codegen to take AccountId instead of going through …
austinabell Aug 5, 2021
b263ff0
remove unused ToString imports
austinabell Aug 5, 2021
2e5eccb
changelog
austinabell Aug 5, 2021
d81c952
fix more doc tests
austinabell Aug 5, 2021
37a9c80
rebuild contracts from line changes
austinabell Aug 5, 2021
4d6da5c
fix import
austinabell Aug 5, 2021
9d8d6de
Merge branch 'austin/ext_fix_sig' of github.com:near/near-sdk-rs into…
austinabell Aug 5, 2021
8bbec60
schedule function calls at end of methods
austinabell Aug 5, 2021
7baea1a
wip swapping codegen to use new type
austinabell Aug 5, 2021
90eae1b
setup refactor to include all types of promises
austinabell Aug 8, 2021
e4ba335
setup scheduling and scope function return
austinabell Aug 9, 2021
ea8e0eb
Merge branch 'master' of github.com:near/near-sdk-rs into austin/tmp/…
austinabell Aug 9, 2021
b0832c5
very naive and broken gas calc
austinabell Aug 9, 2021
03cae8c
refactor promises from drop pattern
austinabell Aug 9, 2021
e7f0039
update macro gen
austinabell Aug 9, 2021
5876b9b
cleanup and rebuild wasm
austinabell Aug 9, 2021
5e9b600
fix doc tests and clippy
austinabell Aug 9, 2021
5cdda8d
rebuild wasm
austinabell Aug 9, 2021
a74a5e8
swap BTreeMap to try to reduce code size
austinabell Aug 9, 2021
ca68ec4
fix more doc tests
austinabell Aug 9, 2021
c547b7b
fmt
austinabell Aug 9, 2021
19ad8d3
Update examples/cross-contract-high-level/src/lib.rs
austinabell Aug 11, 2021
96b275f
Merge branch 'master' of github.com:near/near-sdk-rs into austin/tmp/…
austinabell Aug 12, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update examples/cross-contract-high-level/src/lib.rs
  • Loading branch information
austinabell authored Aug 11, 2021
commit 19ad8d34a0738eeb61b4fa06c5ca395db94de563
1 change: 0 additions & 1 deletion examples/cross-contract-high-level/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ impl CrossContract {

#[result_serializer(borsh)]
pub fn merge_sort(&self, arr: Vec<u8>) -> PromiseOrValue<Vec<u8>> {
env::log_str("merge_sort");
if arr.len() <= 1 {
return PromiseOrValue::Value(arr);
}
Expand Down