-
Notifications
You must be signed in to change notification settings - Fork 60
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
Update interacting with COA docs with token transfer transactions #1169
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@joshuahannan updated error messages in a4a00bb |
cf8d405
to
a4a00bb
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.
Looks good!
@@ -154,7 +154,8 @@ fun main(address: Address): EVM.EVMAddress { | |||
// Borrow a reference to the COA from the storage location we saved it to | |||
let coa = account.storage.borrow<&EVM.CadenceOwnedAccount>( | |||
from: /storage/evm | |||
) ?? panic("Could not borrow reference to the COA") | |||
) ?? panic("Could not borrow reference to the signer's CadenceOwnedAccount (COA). " | |||
.concat("Ensure the signer account has a COA stored in the canonical /storage/evm path")) |
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 should have mentioned this earlier, but the simple string interpolation feature is available in the emulator, testnet, and mainnet now, so we should try to start using that from now on. I know you're busy right now, so no need to update this, but from now on when we're making new updates to error messages, lets try to use that.
Closes: #1151