Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
chore: new contract and config (#385)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
  • Loading branch information
julianmrodri and AuHau authored Nov 13, 2020
1 parent c98ea78 commit fb8c622
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ You might have some problems during development, here are few pointers about wha
- make sure that the ABIs in Cache match contracts deployed on your network (Ganache, Testnet, etc). The same version of contracts has to be everywhere.
- check if confirmations are enabled (when ran in [`VERBOSE` mode](#Logging), you should see the whole Config logged). If they are, make sure you emit empty blocks to get enough confirmations.
- run Cache with log level [`DEBUG`](#Logging) (you can filter out database logging with log filter `-db`) and see if events are incoming to Cache
- if updating contract's version, make sure that topics of the contract's Events matches!

#### CLI issues

Expand Down
2 changes: 1 addition & 1 deletion config/default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
'TotalCapacitySet(address,uint64)',
'BillingPlanSet(address,address,uint64,uint128)',
'MessageEmitted(address,bytes32[])',
'NewAgreement(bytes32[],address,address,uint128,uint64,uint128,address,uint256)',
'NewAgreement(bytes32[],address,address,uint64,uint64,uint128,address,uint256)',
'AgreementFundsDeposited(bytes32,uint256,address)',
'AgreementFundsWithdrawn(bytes32,uint256,address)',
'AgreementFundsPayout(bytes32,uint256,address)',
Expand Down
10 changes: 5 additions & 5 deletions config/ganache.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
storage: {
enabled: true,
storageManager: {
contractAddress: "0xeea2Fc1D255Fd28aA15c6c2324Ad40B03267f9c5",
contractAddress: "0xDDb64fE46a91D46ee29420539FC25FD07c5FEa3E",
eventsEmitter: {
confirmations: 2
}
},
staking: {
contractAddress: "0x7231ECd1355a60251eE56Bf81f987969fc9bAe29",
contractAddress: "0x4339316e04CFfB5961D1c41fEF8E44bfA2A7fBd1",
eventsEmitter: {
confirmations: 2
}
Expand All @@ -23,7 +23,7 @@
enabled: true,
batchContractAddress: "0xc0b3B62DD0400E4baa721DdEc9B8A384147b23fF",
owner: {
contractAddress: "0x4bf749ec68270027C5910220CEAB30Cc284c7BA2",
contractAddress: "0x26b4AFb60d6C903165150C6F0AA14F8016bE4aec",
eventsEmitter: {
confirmations: 2
}
Expand All @@ -35,7 +35,7 @@
}
},
placement: {
contractAddress: "0x12ae8689c3E889A0fC81f4E2ba9D6C5Bf358F392",
contractAddress: "0xeF391648603DCb012e30eF706452b3DfF6466dE8",
eventsEmitter: {
confirmations: 2
}
Expand All @@ -47,7 +47,7 @@
}
},
fifsAddrRegistrar: {
contractAddress: "0xFF6049B87215476aBf744eaA3a476cBAd46fB1cA",
contractAddress: "0x6eD79Aa1c71FD7BdBC515EfdA3Bd4e26394435cC",
eventsEmitter: {
confirmations: 2
}
Expand Down
6 changes: 4 additions & 2 deletions config/staging.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
storage: {
enabled: true,
storageManager: {
contractAddress: "0x2e851dD35163fb4FFc6a8D0aDe95D4f8B8D4BCEa",
contractAddress: "0xEaEff4a8A8622B7520eE34f4CC2e50f1e58411C0",
eventsEmitter: {
startingBlock: 1333889,
confirmations: 3
}
},
staking: {
contractAddress: "0x976f2727d5eaC1eb1043aE48241008c071983bAC",
contractAddress: "0xB45BbC3B983E9d60c131F177831e911043a36b6f",
eventsEmitter: {
startingBlock: 133904,
confirmations: 3
}
},
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@oclif/plugin-help": "^3.2.0",
"@rsksmart/rif-communications-pubsub": "0.1.0-dev.10",
"@rsksmart/rif-marketplace-nfts": "~0.1.4",
"@rsksmart/rif-marketplace-storage": "^0.1.0-dev.5",
"@rsksmart/rif-marketplace-storage": "^0.1.0-dev.6",
"@rsksmart/rns-auction-registrar": "1.0.2",
"@rsksmart/rns-reverse": "^1.0.2",
"@rsksmart/rns-rskregistrar": "^1.2.1",
Expand Down

0 comments on commit fb8c622

Please sign in to comment.