-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore: fix CI and refactor patch deployment script #16
Conversation
fungible_proxy/src/lib.rs
Outdated
@@ -181,7 +181,7 @@ impl FungibleProxy { | |||
} else { | |||
// return full amount for `ft_resolve_transfer` on the token contract | |||
let change = (amount.0 + args.fee_amount.0).to_string(); | |||
log!("Failed to transfer to account {}. Returning attached amount of {} of token {} to {}", args.to, change, token_address, payer); | |||
log!("Transfer failed to {} or {}. Returning attached amount of {} of token {} to {}", args.to, args.fee_address, change, token_address, payer); |
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.
We don't know which transfer failed. We could but the token will probably throw an explicit error anyway.
|
||
./build.sh | ||
|
||
if [ "$contract_name" = "fungible_proxy" ]; then | ||
set -x |
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.
Is this for debugging? Do you want to keep it in there?
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.
Yes, I plan to keep it here to show the commands that are run, so it's easier to understand what's going on, especially if something went wrong, but not only.
2208b8e
to
e9a56d8
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.
The code changes look good. 👍 Nice cleanup.
Please consider adding Request Network to the authors list for conversion_proxy and mocks
Co-authored-by: MantisClone <[email protected]>
Co-authored-by: MantisClone <[email protected]>
Bandaid for #20
fix: CI with
rustup default 1.67.0
quick-winchore: Github workflow should only run on PR targeting master or push to master, not on every push
chore: Github workflow includes linting checks (+ checks applied)
chore: refactor patch deployment script
chore: fix error log when one transfer goes wrong