feat: add procedural macros for Aurora SDK and update contract methods #234
Annotations
2 errors
|
no function or associated item named `parse_response` found for struct `aurora::contract::write::DeployERC20` in the current scope:
sdk/src/aurora/contract/write.rs#L134
error[E0599]: no function or associated item named `parse_response` found for struct `aurora::contract::write::DeployERC20` in the current scope
--> sdk/src/aurora/contract/write.rs:134:39
|
92 | pub struct DeployERC20 {
| ---------------------- function or associated item `parse_response` not found for this struct
...
134 | assert_eq!(addr, DeployERC20::parse_response(borsh_addr_bytes)?);
| ^^^^^^^^^^^^^^ function or associated item not found in `DeployERC20`
|
= help: items from traits can only be used if the trait is in scope
help: trait `ContractMethod` which provides `parse_response` is implemented but not in scope; perhaps you want to import it
|
126 + use crate::aurora::ContractMethod;
|
|
|
long literal lacking separators:
sdk/src/aurora/contract/test_macro.rs#L88
error: long literal lacking separators
--> sdk/src/aurora/contract/test_macro.rs:88:24
|
88 | timestamp: 1234567890,
| ^^^^^^^^^^ help: consider: `1_234_567_890`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal
note: the lint level is defined here
--> sdk/src/lib.rs:1:22
|
1 | #![deny(clippy::all, clippy::pedantic, clippy::nursery)]
| ^^^^^^^^^^^^^^^^
= note: `#[deny(clippy::unreadable_literal)]` implied by `#[deny(clippy::pedantic)]`
|