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

Caller is origin implementation #1991

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e7f1b8f
Implementing stuff needed for instantiate_contract().
Helios-vmg Oct 27, 2023
506e95d
Implemented return_value() on integration tests.
Helios-vmg Oct 27, 2023
bc8688b
A couple fixes for E2E environment.
Helios-vmg Oct 27, 2023
6ccd54b
Forgot to delete some fluff.
Helios-vmg Oct 27, 2023
34854c5
Fixed dead code warnings.
Helios-vmg Oct 27, 2023
c75ed7d
Added tests.
Helios-vmg Oct 27, 2023
3ccb01f
Fixed-up tomls.
Helios-vmg Oct 27, 2023
2d1950a
Updated stderr test files.
Helios-vmg Oct 27, 2023
2d13b21
Updated CHANGELOG.
Helios-vmg Oct 27, 2023
817f3cc
Passed through rustfmt.
Helios-vmg Oct 27, 2023
6c4efc6
Passed through clippy.
Helios-vmg Oct 27, 2023
25e1810
Passed through rustfmt again.
Helios-vmg Oct 30, 2023
3042f4d
Fixed failing contract builds.
Helios-vmg Oct 31, 2023
8f78fdd
Revert "Updated stderr test files."
Helios-vmg Oct 31, 2023
b350252
Fixed format errors.
Helios-vmg Oct 31, 2023
2dfb9ed
Fixed failing test.
Helios-vmg Oct 31, 2023
a715026
Updated stderr test values.
Helios-vmg Oct 31, 2023
9c74b08
Fixed some dependencies for doc tests.
Helios-vmg Oct 31, 2023
ea15b62
Fixed rustfmt issues.
Helios-vmg Oct 31, 2023
4e8fdc9
Implemented code_hash() and set_code_hash().
Helios-vmg Nov 7, 2023
9981c7f
Minor behavior correction for instantiate_contract().
Helios-vmg Nov 7, 2023
12297f8
Merge branch 'code_hash-implementation' into invoke_contract-implemen…
Helios-vmg Nov 7, 2023
b6478d9
Tentative invoke_contract() implementation.
Helios-vmg Nov 7, 2023
4c04eba
Added invoke_contract_delegate() skeleton.
Helios-vmg Nov 7, 2023
7d4f265
Obviated unsafe block.
Helios-vmg Nov 7, 2023
94f3484
own_code_hash implementation
ramirez7358 Nov 8, 2023
4de3aa0
Add own-code-hash integration test
ramirez7358 Nov 8, 2023
439e90c
Remove unused use.
Helios-vmg Nov 8, 2023
1c33d83
Merge branch 'code_hash-implementation' into invoke_contract-implemen…
Helios-vmg Nov 8, 2023
057e98c
Added some missing semantics.
Helios-vmg Nov 8, 2023
b684b74
Passed through rustfmt.
Helios-vmg Nov 9, 2023
cd6e687
Passed through clippy.
Helios-vmg Nov 9, 2023
c9c7d85
Fixed own_code_hash test.
Helios-vmg Nov 9, 2023
7a8f98d
Tightening up code.
Helios-vmg Nov 9, 2023
37a00d9
Improved contract invokation tests. Fixed some things.
Helios-vmg Nov 9, 2023
1fe7be9
caller-is-origin implementation
ramirez7358 Nov 10, 2023
648c65c
Fix integration tests
ramirez7358 Nov 10, 2023
3c1d66f
Added tests.
Helios-vmg Nov 10, 2023
6cc180c
Removed unused type parameter.
Helios-vmg Nov 10, 2023
cc80e57
Fix e2e tests
ramirez7358 Nov 13, 2023
c135409
Clippy and fmt
ramirez7358 Nov 13, 2023
4e87e30
Updated changelog.
Helios-vmg Nov 13, 2023
f87e5dd
Add comment and fix integration tests
ramirez7358 Nov 13, 2023
58bf736
Merge branch 'integration-tests-api-implementation' into 'caller_is_o…
ramirez7358 Nov 14, 2023
e5c4eda
Add changelog
ramirez7358 Nov 14, 2023
68de165
Merge branch 'master' into caller_is_origin-implementation
ramirez7358 Nov 14, 2023
3e32419
Fixed clippy errors.
Helios-vmg Nov 15, 2023
369ec49
Merge branch 'integration-tests-api-implementations' into 'caller_is_…
ramirez7358 Nov 16, 2023
784e2b8
Passed through rustfmt.
ramirez7358 Nov 16, 2023
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
Passed through rustfmt.
ramirez7358 committed Nov 16, 2023

Verified

This commit was signed with the committer’s verified signature.
melroy89 Melroy van den Berg
commit 784e2b899eeebaceb54f740efc3f01df82bfeb24
Original file line number Diff line number Diff line change
@@ -21,9 +21,7 @@
use super::TraitDefinition;
use crate::{
generator::{
self,
},
generator::{self,},
traits::GenerateCode,
EnforcedErrors,
};
4 changes: 1 addition & 3 deletions crates/ink/ir/src/ir/attrs.rs
Original file line number Diff line number Diff line change
@@ -32,9 +32,7 @@ use syn::{
};

use crate::{
ast::{
self,
},
ast::{self,},
error::ExtError as _,
ir,
ir::{