Skip to content

Commit

Permalink
fix(aqua): Remove topology hack (#125)
Browse files Browse the repository at this point in the history
* Fix scripts

* Remove hack
  • Loading branch information
InversionSpaces authored Oct 25, 2023
1 parent d608bf8 commit 95ce0ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion gateway/aqua/rpc.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 95ce0ad

Please sign in to comment.