-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add integration test helper contract #273
Conversation
Coverage SummaryTotals
FilesExpand
|
Contract comparison - from fde7172 to 2766212
|
|
||
#[view(getCalleeAddress)] | ||
#[storage_mapper("callee_address")] | ||
fn callee_address(&self) -> SingleValueMapper<ManagedAddress>; |
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 should actually be bridge proxy contract. Rename it accordingly
helper-contract/.DS_Store
Outdated
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 should not be committed.
helper-contract/.gitignore
Outdated
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.
Add .DS_Store to .gitignore
#[upgrade] | ||
fn upgrade(&self) {} | ||
|
||
#[view(getCalleeAddress)] |
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.
Storage mapper usually go last.
Start with init, upgrade, endpoints and end with storages.
fn upgrade(&self) {} | ||
|
||
#[view(getCalleeAddress)] | ||
#[storage_mapper("callee_address")] |
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.
Name of storage mappers should be camelCase. In this case calleeAddress
No description provided.