EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.28k stars 3.76k forks source link

Change maximum decompressed trx size to be subjective/adjustable #6684

Open spoonincode opened 5 years ago

spoonincode commented 5 years ago

The maximum net usage of a transaction is controlled via the max_transaction_net_usage parameter (defaults to 512KB in default genesis). However, the maximum decompressed transaction size is fixed at 1MB, see

https://github.com/EOSIO/eos/blob/08163818d51f849f23ad35b4060c895e7de54bba/libraries/chain/transaction.cpp#L216

This value should be adjustable, otherwise you can get in to odd situations like if max_transaction_net_usage is 2MB, it's only possible to send a 1MB-2MB transaction uncompressed.

aclark-b1 commented 4 years ago

In order to focus our efforts on issues that are currently creating difficulty for the community we are closing tickets that were created prior to the EOSIO 2.0 release. If you believe this issue is still relevant please feel free to reopen it or create a new one. Thank you for your continued support of EOSIO!