mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-09 09:14:06 +00:00
Send mobymask p2p messages to laconicd (#339)
* Use laconic ETH RPC endpoint for querying * Run peer with message handler to send tx to laconic * Handle revoke messages in mobymask p2p * Set tx gasLimit explicitly for slow eth_estimateGas call * Convert delegationHash to hex string before broadcasting json
This commit is contained in:
@@ -158,7 +158,7 @@ export class Indexer implements IndexerInterface {
|
||||
if (this._serverMode === ETH_CALL_MODE) {
|
||||
const contract = new ethers.Contract(token, this._abi, this._ethProvider);
|
||||
|
||||
// eth_call doesnt support calling method by blockHash https://eth.wiki/json-rpc/API#the-default-block-parameter
|
||||
// eth_call doesn't support calling method by blockHash https://eth.wiki/json-rpc/API#the-default-block-parameter
|
||||
const value = await contract.balanceOf(owner, { blockTag: blockHash });
|
||||
|
||||
result = {
|
||||
|
||||
Reference in New Issue
Block a user