1 mwf81318617c/ElrondDevelopers 2years ago he wrote that publicly in the official group? You don't have multiple groups with the same name?
1 mwf81318617c/ElrondDevelopers 2years ago and you are sure that the package is installed? Double checked the right package.json and executed npm install in the right directory?
2 mwf81318617c/ElrondDevelopers 2years ago Like claudio mentioned, this function is unusable for all maiar exchange pairs. And I'm still not sure why you would call it?
2 mwf81318617c/ElrondDevelopers 2years ago An empty return value would indicate that the status is "FundingPeriod" Is that what you would expect currently?
2 mwf81318617c/ElrondDevelopers 2years ago tripple check to make sure this is legit. As I think there was no official announcement regarding this?
1 mwf81318617c/ElrondDevelopers 2years ago What exactly do you mean with nothing happens? Does the egld remain in the sc? Does it get wrapped but not send? Does the user get the egld back(which he probably should in the error case)? Do you get any kind of error message?
1 mwf81318617c/ElrondDevelopers 2years ago and you are sure that the address is valid? No typos/missing chars etc?
2 mwf81318617c/ElrondDevelopers 2years ago Like building your own exchange or using the maiar exchange?
1 mwf81318617c/ElrondDevelopers 2years ago Are you awaiting the promise anywhere or using the then method?
1 mwf81318617c/ElrondDevelopers 2years ago Mhm, that would look good ???? What version of elrond-wasm are you using? Have you changed anything compared to the tutorial?
1 mwf81318617c/ElrondDevelopers 2years ago Or lets turn the question more philosophical: What does it mean for your app to be decentralized? What are the requirements and what advantages does it bring?
1 mwf81318617c/ElrondDevelopers 2years ago Is any of your enums using the new enum? Does any function has it as an input or output? Is that function before or after your enum declaration in the file?
2 mwf81318617c/ElrondDevelopers 2years ago Have you installed it with npm install -g erdwalletjs-cli ?
1 mwf81318617c/ElrondDevelopers 2years ago Are you giving the fungibleFromAmount a number or a string?
1 mwf81318617c/ElrondDevelopers 2years ago You always need to sign a transaction before sending it, everything else would be a security nightmare. Why can't you sign it?
2 mwf81318617c/ElrondDevelopers 2years ago Not a guide, but this would be the official repo for the wegld contract: https://github.com/ElrondNetwork/sc-bridge-elrond/tree/main/egld-esdt-swap Any reason why you want to create your own wegld version?
1 mwf81318617c/ElrondDevelopers 2years ago Seems like the method you are calling doesn't accept nft transfers? Does it have the payable annotation?
2 mwf81318617c/ElrondDevelopers 2years ago This error sounds like an ssl error. Are you maybe behind a corporate proxy that breaks the ssl connection?
2 mwf81318617c/ElrondDevelopers 2years ago Not sure if that's how dapp-core works (since I famously don't use it ????), but does the sendTransactions call also add the current nonce and sign the transactions? If so with what provider are you testing? (Webwallet, Maiar, Extension, etc) Unrelated to that any reason why you aren't using erdjs ... Read more
1 mwf81318617c/ElrondDevelopers 2years ago All devnet shards seem to be producing blocks just fine. Or do you mean something else?
1 mwf81318617c/ElrondDevelopers 2years ago Ok, then what data do you get in the decoded? If you send me the hex and the bech32 I can double check if it's correct. Also what happened to the number?
3 mwf81318617c/ElrondDevelopers 2years ago According to the smart contract storage the correct token identifier is set: https://testnet-gateway.elrond.com/address/erd1qqqqqqqqqqqqqpgq9vkf9r6c5nlmhqyrcd6ep4pttfaf4rgw6cyqjswz9t/keys So I would guess it's a problem in the dapp instead?
1 mwf81318617c/ElrondDevelopers 2years ago For the handling of optional args, as long as you include the arg in your arguments it should work. Do you have a "failed" transaction for me to look at?
1 mwf81318617c/ElrondDevelopers 2years ago Ah that would explain it, not very familiar with the rust testing framework to be honest. Maybe the right workaround for you would be to not create the BigUint with the final number, but instead do some multiplications to get where you need to be?
1 mwf81318617c/ElrondDevelopers 2years ago And you also have enough values in your enum to fill the whole len? And you say this doesn't work? What does your mandos test say?
1 mwf81318617c/ElrondDevelopers 2years ago have you actually initialized the block random seed with mandos before calling your function?
1 mwf81318617c/ElrondDevelopers 2years ago I would recommend a dedicated endpoint, as deployment already takes a lot of gas and you might want to have more wiggle room if working with a lot of data :) What exactly do you mean with "locking" though?
1 mwf81318617c/ElrondDevelopers 2years ago You would have to create your own randomness logic then. Any reason why you want a seeded random? Is the randomness not important to you?
1 mwf81318617c/ElrondDevelopers 2years ago A good usecase would answer the question why and would tell me more about the thing you actually want to achieve ???? So lets try with an assumption: You have a smart contract, other users are calling functions in your smart contracts which changes some kind of data that would be relevant to all us... Read more
1 mwf81318617c/ElrondDevelopers 2years ago I'm a bit confused by what you wrote ? How exactly does your first struct look like?
1 mwf81318617c/ElrondDevelopers 2years ago Mhm, would be quite unusual to have a contract that would need so much gas for deployment ? How big is your wasm file? Any complex logics in your init function?
1 mwf81318617c/ElrondDevelopers 2years ago And you are sure that you got the right smart contract address?