Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: The relay relies on fallback gas estimations instead of properly…
… sending requests to mirror node (#2860) * refactor: Validation logic in the `server` package Signed-off-by: Victor Yanev <[email protected]> * fix: rpc_batch3.spec.ts Signed-off-by: Victor Yanev <[email protected]> * fix: rpc_batch3.spec.ts Signed-off-by: Victor Yanev <[email protected]> * chore: address comments Signed-off-by: Victor Yanev <[email protected]> * chore: extend tests in `validator.spec.ts` to cover `tracerConfig` type Signed-off-by: Victor Yanev <[email protected]> * chore: final touches + address comments Signed-off-by: Victor Yanev <[email protected]> * fix: build error Signed-off-by: Victor Yanev <[email protected]> * fix: allow "0x" value for BASE_HEX_REGEX Signed-off-by: Victor Yanev <[email protected]> * fix: allow ``"0x"` value for `hex` type Signed-off-by: Victor Yanev <[email protected]> * fix: allow ``"0x"` value for `hex` type Signed-off-by: Victor Yanev <[email protected]> * fix: Bug due to validations of `eth_call` Signed-off-by: Victor Yanev <[email protected]> * fix: tests after new validations for Transaction object Signed-off-by: Victor Yanev <[email protected]> * fix: The relay relies on fallback gas estimations instead of properly sending requests to mirror node Signed-off-by: Victor Yanev <[email protected]> * fix: The relay relies on fallback gas estimations instead of properly sending requests to mirror node Signed-off-by: Victor Yanev <[email protected]> * fix: The relay relies on fallback gas estimations instead of properly sending requests to mirror node Signed-off-by: Victor Yanev <[email protected]> * chore: add `await` to `ethImpl.contractCallFormat` calls in eth_estimateGas.spec.ts Signed-off-by: Victor Yanev <[email protected]> * chore: fix tests in eth_estimateGas.spec.ts Signed-off-by: Victor Yanev <[email protected]> * chore: fix tests in eth_estimateGas.spec.ts and eth_call.spec.ts Signed-off-by: Victor Yanev <[email protected]> * chore: nit consistency fix Signed-off-by: Victor Yanev <[email protected]> * chore: fetch account from mirror node when `OPERATOR_KEY_FORMAT !== 'HEX_ECDSA'` Signed-off-by: Victor Yanev <[email protected]> * fix: eth_call.spec.ts and eth_estimateGas.spec.ts Signed-off-by: Victor Yanev <[email protected]> * fix: build error Signed-off-by: Victor Yanev <[email protected]> --------- Signed-off-by: Victor Yanev <[email protected]> Signed-off-by: Victor Yanev <[email protected]>
- Loading branch information