Astrapolis-peasant
Astrapolis-peasant
# ๐ Bug ## To reproduce **Code snippet to reproduce** ```rust use aptos_rest_client::{Client as RestClient, State, Transaction}; let client = RestClient::new_with_timeout(node_url, Duration::from_secs(20)); let res = client.get_transactions(Some(self.version), Some(TRANSACTION_FETCH_BATCH_SIZE)).await; ``` **Stack trace/error...
having this example code ยทยทยท import { PackedStorableArray} from "ask-lang"; @contract class Flipper { @state flag: bool; @state @packed({ "capacity": 128 }) packeArr: PackedStorableArray = new PackedStorableArray(); @state aArr: PackedStorableArray...
``` protected _transfer(sender: AccountId, recipient: AccountId, amount: u128): void { assert(sender.notEq(AccountId.Null), "ERC20: transfer from the zero address"); assert(recipient.notEq(AccountId.Null), "ERC20: transfer to the zero address"); let spenderBalance =this.balanceOf(sender); assert(spenderBalance >= amount,...
When the contract code contains error, the compiler will still generate `.wasm` file but missing `metadata.json`. Ideally, no file shall be generated when compilation failed