diff --git a/gateway/aqua/rpc.aqua b/gateway/aqua/rpc.aqua index 328f39b..aaf7561 100644 --- a/gateway/aqua/rpc.aqua +++ b/gateway/aqua/rpc.aqua @@ -42,7 +42,6 @@ func balancedEthCall{Logger, Balancer}(method: string, jsonArgs: []string) -> Js worker, provider <- Balancer.next() Logger.logWorker(worker) Logger.logCall(provider) - Op.noop() -- dirty hack for topology to converge rpc <- fromWorkerProvider(worker, provider) result <- rpcCall{rpc}(method, jsonArgs) <- result diff --git a/gateway/package.json b/gateway/package.json index 03a9a05..d38cf5a 100644 --- a/gateway/package.json +++ b/gateway/package.json @@ -5,9 +5,8 @@ "main": "src/index.js", "type": "module", "scripts": { - "run:example": "fluence aqua -i aqua/ -o aqua-compiled/ --js && node src/index.js \"config.json\"", - "run": "fluence aqua -i aqua/ -o aqua-compiled/ --js && node src/index.js", - "compile": "fluence aqua -i aqua/ -o aqua-compiled/ --js", + "run": "npm run compile && node src/index.js", + "compile": "fluence aqua -i aqua/ -o aqua-compiled/ --js --no-input", "req": "node web3run.js" }, "bin": {