worldwide-asset-exchange / wax-blockchain-legacy

Worldwide Asset eXchange (WAX/wax.io) is an eos compatible blockchain and protocol token designed to make e-commerce transactions faster, easier, and safer.
https://developer.wax.io/
MIT License
125 stars 47 forks source link

Transaction net usage is too high #54

Closed dominic-healid closed 2 years ago

dominic-healid commented 4 years ago

Anyone can point me on how much should we stake fo CPU and Net in order for us to make transaction? So far we already staked 140 wax for CPU and 60 for Net and we are still unable to make a transaction by calling a smart contract function.

porkchop commented 4 years ago

You will have to see what the current network usage is like and do a bit of trial and error. What contract function are you calling? Is it your own contract? That makes a huge difference regarding cpu and net requirements to execute the function. However, you could get away with very little net+cpu for a function like transfer on the system token contract. Ex: https://wax.bloks.io/transaction/7a35a5a83e83d40ada1fe9c6125f4ffe936119191e110bdcfdfa27e48b9d7862?tab=raw

dominic-healid commented 4 years ago

I'm actually calling our own contract. What do you mean by looking at the current network usage? Can you please point me to that? Will it work if we add more CPU/NET?

Thank you for your response, appreciate it!