You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
I get the following error when starting meteor on a fresh MongoDB database: BulkWriteError: E11000 duplicate key error collection: meteor.validators index: consensus_pubkey_1
So this is the error that make you don't have the list of validators. There is a unique index in the validator consensus key making sure validators won't be duplicated. Can you show me what is in the collection db.validators after you see this error message?
When you run with Meteor directly. It runs the bundled MongoDB in the Meteor application. To remove the db of the application, you either run meteor reset or connect to the mongodb running with it which has a default port of 3001. If you are using mongo client to manipulate it. You should run
Describe the bug
I get the following error when starting meteor on a fresh MongoDB database:
BulkWriteError: E11000 duplicate key error collection: meteor.validators index: consensus_pubkey_1
To Reproduce
Steps to reproduce the behavior:
kwun/sdk-v0.38.x
branchsettings.json
`settings.json` contents
```json { "public":{ "chainName": "Agoric Testnet", "chainId": "testnet-1.17.0", "gtm": "{Add your Google Tag Manager ID here}", "slashingWindow": 10000, "uptimeWindow": 250, "initialPageSize": 30, "bech32PrefixAccAddr": "cosmos", "bech32PrefixAccPub": "cosmospub", "bech32PrefixValAddr": "cosmosvaloper", "bech32PrefixValPub": "cosmosvaloperpub", "bech32PrefixConsAddr": "cosmosvalcons", "bech32PrefixConsPub": "cosmosvalconspub", "bondDenom": "uagstake", "powerReduction": 1000000, "coins": [ { "denom": "uagstake", "displayName": "AGSTAKE", "displayNamePlural": "AGSTAKES", "fraction": 1000000 } ], "gasPrice": 0.00, "coingeckoId": null }, "genesisFile": "https://testnet.agoric.com/genesis.json", "remote":{ "rpc":"http://178.62.245.23:26657", "lcd":"http://127.0.0.1:1317" }, "debug": { "startTimer": true, "readGenesis": true }, "params":{ "startHeight": 0, "defaultBlockTime": 5000, "blockInterval": 15000, "consensusInterval": 1000, "statusInterval":7500, "signingInfoInterval": 1800000, "proposalInterval": -1, "missedBlocksInterval": 60000, "delegationInterval": 900000 } } ```meteor npm install --save
meteor --settings settings.json
Expected behavior
No errors.
Screenshots
log messages from starting meteor with the above settings.json
Desktop (please complete the following information):
n/a
Smartphone (please complete the following information):
n/a
Additional context
Add any other context about the problem here.
Running on
linux_x64
(recent Ubuntu). Agoric testnet-1.17.0.The text was updated successfully, but these errors were encountered: