Additions to the Circuit
Allocated Structures - A fourth signature, which corresponds to the earnest price, is added as a circuit element with its allocated size being: MAX_CIRCUIT_MSG_HASH_BITS - (3 * E::Fr::CAPACITY).
Circuit - The earnest prices for the two orders is implemented by adding two new elements to the special prices vector. Each new element denotes the earnest price for their respective order.
Signatures - The signature is now also composed of the bits of the fourth signature. As a result verification of the signature message construction also includes the fourth signature.
Transactions - The fourth signature is added to operation calculations during the ChangePubKey, Close Account, Deposit, ForcedExit, FullExit, MintNFT, Noop, Swap, Transfer, TransferToNew, Withdraw, and WithdrawNFT actions.
Last updated