eos icon indicating copy to clipboard operation
eos copied to clipboard

stack limit error when push action

Open giniz opened this issue 8 years ago • 7 comments

Hi,

I got this error when calling an action which performs multiindex.emplace() on a struct inheriting another struct Error 3030020: Runtime Error Processing WASM Error Details: stack limit When removing inheritance and put all properties to child struct, it worked.

giniz avatar May 02 '18 02:05 giniz

Nobody has seen this issue yet..?

giniz avatar May 04 '18 01:05 giniz

@giniz Can you post a link to the source code?

elmato avatar May 04 '18 01:05 elmato

hi @elmato,

My source looks like below:

struct order
{
    uint64_t id;
    account_name client;
    string order_time;
    string order_type;
    asset volume;
    asset price;
}
struct sellorder : order
{
}
struct buyorder : order
{
}
typedef eosio::multi_index<N(sellorder), sellorder> sellorders;

.....

sellorders selltable(_self, _self);
auto neworder = selltable.emplace(_self, [&](auto &a) {
	a.id = selltable.available_primary_key();
	a.client = client;
	a.order_time = order_time;
	a.order_type = order_type;
	a.volume = volume;
	a.price = price;
});

giniz avatar May 04 '18 01:05 giniz

I have the same error,when I push an action at Blockchain. what should I do? details as follows cleos push action child.acnt addtoken '{"id":"3","genes":"genes3","birthTime":"1514736000","cooldownEndTime":"1546272000","matronId":"100","sireId":"200","siringWithId":"50","cooldownIndex":"1","generation":"1","version":"1","_owner":"girl.account"}' -p child.acnt Error 3030020: Runtime Error Processing WASM Error Details: stack limit

lingyiliu016 avatar May 23 '18 08:05 lingyiliu016

Problem with the serializer

ChristianDunst avatar Jun 19 '18 07:06 ChristianDunst

Same here

ghost avatar Jul 26 '18 09:07 ghost

This issue has gone silent for a while, so closing. If you still have the problem and wish to discuss further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for known bug reporting and features tracking, and Stack Exchange is the right place for any technical support discussions (and after discussing, if a bug is identified open a new issue). Thanks!

brianjohnson5972 avatar Oct 31 '18 16:10 brianjohnson5972