This PR adds the contract feature to the aurora-engine-transactions crate. This allows Near smart contracts using this crate to use the ecrecover host function in the Near runtime to check transaction signatures instead of relying on an implementation inside the contract. This is important because the host function uses much less gas and allows the smart contract to be much smaller.
Description
This PR adds the
contract
feature to theaurora-engine-transactions
crate. This allows Near smart contracts using this crate to use theecrecover
host function in the Near runtime to check transaction signatures instead of relying on an implementation inside the contract. This is important because the host function uses much less gas and allows the smart contract to be much smaller.Performance / NEAR gas cost considerations
N/A
Testing
N/A