aurora-is-near / aurora-relayer

[DEPRECATED] Web3-compatible relayer server for Aurora.
https://aurora-is-near.github.io/aurora-relayer/
Creative Commons Zero v1.0 Universal
26 stars 13 forks source link

the rpc of send raw transaction will block until the tx being packed instead of return immediatly #193

Closed DebugFuture closed 1 year ago

DebugFuture commented 2 years ago

The rpc of send raw transaction will block until the tx being packed instead of return immediatly. This is not compatible with eth rpc behavior.

There are two method in near, broadcast_tx_commit and broadcast_tx_async. I think for the rpc which aurora-relayer provides should use broadcast_tx_async. But now it uses broadcast_tx_commit depending on its dependent libs.

spilin commented 2 years ago

You are correct in your assumption. We have plans to work on 'broadcast_tx_async' functionality in the near future.

spilin commented 1 year ago

This repository is deprecated. If issue still persists, please reopen it on a new repository of Aurora Relayer v2.