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

feat: add import&export macro and serialized data copy pass #157

Merged
merged 30 commits into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5b4ed9f
feat: add #[callable_point] proc macro
Feb 18, 2022
65023f1
feat: add #[dynamic_link] proc macro
Feb 18, 2022
91110dc
fix: publiclize the memory module
Feb 18, 2022
1cd5978
feat: add re-exports #[callable_point] and #[dynamic_link]
Feb 18, 2022
89c5cbd
feat: make tuple return by #[callable_point] and #[dynamic_link]
Feb 18, 2022
e584b38
feat: add copies region of args and return between env
Feb 23, 2022
35a8b5f
fix: disable return the tuple type
Feb 23, 2022
b8c8ed8
refactor: improve error handling with proc_macro_error
Feb 23, 2022
3d88957
feat: update sample contract for dynamic_link
Feb 23, 2022
846c37e
test: add unit test for copy_region_vals_between_env
Mar 7, 2022
a57550b
test: add integration test for callable_point macro
Mar 7, 2022
faf8187
test: add integration test for dynamic_link macro
Mar 8, 2022
44f47a5
fix: unlimit the target_arch of memory module
Mar 8, 2022
4792b2d
chore: cargo fmt
Mar 8, 2022
e79a30a
chore: update cargo.lock for contracts
Mar 8, 2022
4d4a73e
fix: fix maximum size
Mar 8, 2022
8f6a78f
chore: cargo clippy
Mar 8, 2022
f6c4ca9
test: add module name test condition for dynamic_link macro
Mar 10, 2022
4ceac33
chore: fix reverted unused warnings in the contracts
Mar 18, 2022
9992a6f
chore: fix typo
Mar 18, 2022
2faa3be
chore: remove unnecessary prefix
Mar 18, 2022
d141996
refactor: improve abort message
Mar 28, 2022
713cc1a
refactor: change to use quote! and proc_macro2
Mar 29, 2022
da17003
chore: update cargo.lock
Mar 29, 2022
9be3489
chore: disable clippy warning for abort_by!
Mar 29, 2022
daeb658
fix: add disallowed type by parameter
Mar 29, 2022
b491d59
chore:cargo fmt
Mar 30, 2022
83ef3e7
chore: avoid false-positive of clippy
Mar 30, 2022
d2800b0
chore: again avoid clippy
Mar 30, 2022
b4b612e
chore: fix typo
Mar 31, 2022
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
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions contracts/burner/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions contracts/crypto-verify/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions contracts/dynamic-callee-contract/.cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
wasm = "build --release --target wasm32-unknown-unknown"
unit-test = "test --lib"
schema = "run --example schema"
integration-test = "test --test integration"
Loading