File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 28
28
29
29
#### Start ipfs, database & redis
30
30
``` bash
31
- docker run --rm --name ipfs -p 5001:5001 -d ipfs/go-ipfs
31
+ docker run --rm --name ipfs -p 5001:5001 -d ipfs/kubo
32
32
docker run --name superhero-postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -e POSTGRES_DB=superhero -p5432:5432 -d postgres
33
33
docker run --name redis -p 6379:6379 -d redis
34
34
```
Original file line number Diff line number Diff line change 1
1
version : " 3.6"
2
2
services :
3
3
superhero-backend :
4
- image : aeternity/superhero-backend
4
+ build : .
5
5
container_name : superhero-backend
6
6
ports :
7
7
- " 3000:3000"
@@ -54,7 +54,7 @@ services:
54
54
- POSTGRES_DB=superhero
55
55
56
56
ipfs : # this instance will sync with other peers and act as a p2p node, check the ipfs config to avoid that
57
- image : ipfs/go-ipfs
57
+ image : ipfs/kubo
58
58
hostname : ipfs
59
59
restart : unless-stopped
60
60
container_name : superhero-ipfs
Original file line number Diff line number Diff line change @@ -390,7 +390,10 @@ const aeternity = {
390
390
async getOracleAllClaimedUrls ( ) {
391
391
if ( ! client ) throw new Error ( 'Init sdk first' ) ;
392
392
return oracleGetter
393
- . get_oracle_claimed_urls ( process . env . ORACLE_CONTRACT_ADDRESS )
393
+ . get_oracle_claimed_urls ( process . env . ORACLE_CONTRACT_ADDRESS , {
394
+ gasMax : 11e18 ,
395
+ gasLimit : 10e18 ,
396
+ } )
394
397
. then ( res => res . decodedResult )
395
398
. catch ( e => {
396
399
logger . error ( e . message ) ;
You can’t perform that action at this time.
0 commit comments