Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add boilerplate new opcodes * Format * Update changelog * Add more boilerplate * Add code for ec add and ec mul * Update reserved_registers * Add source code pairing * use alloc vec * Add gas costs charge * Add tests for new zk opcodes * remove forget dbg * Add more test case for zk opcodes * Remove old todo * Fix clippy in tests * Change elliptic curve point error variant * Change gas costs to v5 because v4 is already released * format * Update ec pairing to ouput directly in the register and fix the test * Update comments on opcodes * Update zk opcode to match the new spec * Update EPAR prototype * update gas costs functions * Update default gas ecop based on benches * Add tests with instructions * Change gas epar * Fomat * Update fuel-vm/src/interpreter/crypto.rs Co-authored-by: Hannes Karppila <2204863+Dentosal@users.noreply.github.com> * cleanup for add zk opcodes PR (#874) * Simplify error types * Use MemoryOverflow instead of ArithmeticOverflow * Fix inversion letter --------- Co-authored-by: AurelienFT <aurelien.foucault@epitech.eu> * Add some doc about the usage of operation symbols + and * * Add memory overflow tests * fix clippy --------- Co-authored-by: Hannes Karppila <2204863+Dentosal@users.noreply.github.com>
- Loading branch information