aurora-is-near / aurora-engine

⚙️ Aurora Engine implements an Ethereum Virtual Machine (EVM) on the NEAR Protocol.
https://doc.aurora.dev/develop/compat/evm
327 stars 80 forks source link

Chore: pass contract feature down from aurora-engine-transactions crate #876

Closed birchmd closed 10 months ago

birchmd commented 10 months ago

Description

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.

Performance / NEAR gas cost considerations

N/A

Testing

N/A