-
Notifications
You must be signed in to change notification settings - Fork 58
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
transfer-contract: moves state to the transfer-data contract #1247
Conversation
04adb54
to
9f48dbe
Compare
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.
Please split the commits accordingly to their workspace member
d8d957c
to
99f0ff6
Compare
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.
In addition to what commented about ICC security, please split your commit properly.
You shouldn't touch ~/Makefile and ~/contracts/transfer-data/Makefile in the same commit (and prefix the commit with transfer-data
)
Exactly as you shouldn't touch ~/Cargo.toml
, ~/rusk-abi/*
, ~/rusk-recovery/*
and ~/stake/*
in the transfer-data: initial check-in
commit
a6fa9dd
to
193e5dc
Compare
3b91c04
to
550000f
Compare
73cdc25
to
2e66268
Compare
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.
I think the logic of who has access to mint
should be clarified.
Few typos to fix
The rest LGTM
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.
I have some comments, especially related to the assertions of who is the caller, but I also feel like we shouldn't merge this to master
, and it should be kept in something like a proxy
branch.
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.
I'm happy with the changes. Jut a panic message to update
Agree |
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.
I would like to change the naming of owner_raw
or add new function in rusk-abi
that do (de)serialization.
a083974
to
bbb1354
Compare
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.
LGTM
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.
I would like to have tests for all "protected" method that verify that transactions are failing (like we actually have for "mint")
cac3baf
to
b9d96bb
Compare
c7647a4
to
9fb8a77
Compare
9fb8a77
to
0b67d73
Compare
0b67d73
to
82f7b7f
Compare
Makes transfer-contract a logic-only (stateless) contract and moves all state data to the transfer-data contract.
Implements #1235