Giter Club home page Giter Club logo

testnets's Introduction

Testnets

A collection of genesis transactions and other miscellaneous information relevant to Umee test networks. Note, to find genesis files and peers for active networks, please visit the main umee repository.

To submit a genesis transaction (gentx) for a network, please open a pull request against the main branch of this repository into the relevant network under the networks/ directory.

Current/Planned Public Testnets

  • asherah-1 (v2.0.3-rc2 genesis)
  • bloom-1 (v3.x.x-rcN genesis start date TBD)
  • canon-1 long lived will be test canary for mainnet upgrade (v1->v3 start date TBD)
  • canon-1 (v1.0.3 genesis; will be part of community upgrade test to v3.0.0 once released)

testnets's People

Contributors

armyids avatar bulgakovvlad avatar calista93 avatar crypto20m avatar curlycrypto184 avatar daluxxx avatar dreamcodez avatar fxpy avatar id577 avatar ilhamm02 avatar ivandiazperez avatar jefferson-pham avatar jim380 avatar kinrokinro avatar l0vd2 avatar maxzonder avatar mediumwe11 avatar n0okone avatar nhhtrung avatar nrsirapop avatar outputlayer avatar pjenviri avatar qmin80 avatar qubelabsio avatar rickau123 avatar romanv1812 avatar screenpeaker avatar shivlim avatar shurinov avatar urfinjs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

testnets's Issues

Bug: Atom to Umee didnt transfer

Wallet Atom: cosmos1ct8l6xqy7xyjgcchrj70xdafucv4yn08wv5z89
Wallet Umee: umee1ct8l6xqy7xyjgcchrj70xdafucv4yn08u6farh

I tried to transfer some Atom (testnet) to Umee.
https://testnet.umee.cc/#/markets -> Market -> Atom/Transfer (25%)
Platform said that everything was success. My balance on Atom decreased. But I didnt receive it on Umee chain.
And there are no any Errors and Warnings.

image
Atom:
image
Umee:
image

[ Umeevengest-1 ] Orchestrator: Could not find the last event relayed by ...

1. In block 46 we successfully sent gravity.v1.MsgDelegateKeys transaction, following:

[validator-address] [orchestrator-address] [ethereum-address] [ethereum-signature] [flags]

No predefined variables been used in script for generation, script been successfully tested previously on test net.

{
  "jsonrpc": "2.0",
  "id": -1,
  "result": {
    "txs": [
      {
        "hash": "546ABFCC51454D084494EB384EDE09A410485D893777F7E3B0DEB4DEFACFF26A",
        "height": "46",
        "index": 0,
        "tx_result": {
          "code": 0,
          "data": "Ch0KGy9ncmF2aXR5LnYxLk1zZ0RlbGVnYXRlS2V5cw==",
          "log": "[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/gravity.v1.MsgDelegateKeys\"},{\"key\":\"module\",\"value\":\"delegate_keys\"},{\"key\":\"set_orchestrator_address\",\"value\":\"umee13f3t430uqtg5e48mavtw0en7lzcwltj7d22psl\"},{\"key\":\"set_ethereum_address\",\"value\":\"0x5772Ac9a3eE2340C6BBb3885c83e5375e9bC2bA0\"},{\"key\":\"validator_address\",\"value\":\"umeevaloper1k3prhzm9yc8tay5rw7dwwz9yhnyvkey6z9l3xk\"}]}]}]",
          "info": "",
          "gas_wanted": "68389",
          "gas_used": "66868",
          "events": [
            {
              "type": "coin_spent",
              "attributes": [
                {
                  "key": "c3BlbmRlcg==",
                  "value": "dW1lZTFrM3ByaHptOXljOHRheTVydzdkd3d6OXlobnl2a2V5NnpwYzdodQ==",
                  "index": true
                },
                {
                  "key": "YW1vdW50",
                  "value": "MTAwMDB1dW1lZQ==",
                  "index": true
                }
              ]
            },
            {
              "type": "coin_received",
              "attributes": [
                {
                  "key": "cmVjZWl2ZXI=",
                  "value": "dW1lZTE3eHBmdmFrbTJhbWc5NjJ5bHM2Zjg0ejNrZWxsOGM1bHowN2wwMA==",
                  "index": true
                },
                {
                  "key": "YW1vdW50",
                  "value": "MTAwMDB1dW1lZQ==",
                  "index": true
                }
              ]
            },
            {
              "type": "transfer",
              "attributes": [
                {
                  "key": "cmVjaXBpZW50",
                  "value": "dW1lZTE3eHBmdmFrbTJhbWc5NjJ5bHM2Zjg0ejNrZWxsOGM1bHowN2wwMA==",
                  "index": true
                },
                {
                  "key": "c2VuZGVy",
                  "value": "dW1lZTFrM3ByaHptOXljOHRheTVydzdkd3d6OXlobnl2a2V5NnpwYzdodQ==",
                  "index": true
                },
                {
                  "key": "YW1vdW50",
                  "value": "MTAwMDB1dW1lZQ==",
                  "index": true
                }
              ]
            },
            {
              "type": "message",
              "attributes": [
                {
                  "key": "c2VuZGVy",
                  "value": "dW1lZTFrM3ByaHptOXljOHRheTVydzdkd3d6OXlobnl2a2V5NnpwYzdodQ==",
                  "index": true
                }
              ]
            },
            {
              "type": "tx",
              "attributes": [
                {
                  "key": "ZmVl",
                  "value": "MTAwMDB1dW1lZQ==",
                  "index": true
                }
              ]
            },
            {
              "type": "tx",
              "attributes": [
                {
                  "key": "YWNjX3NlcQ==",
                  "value": "dW1lZTFrM3ByaHptOXljOHRheTVydzdkd3d6OXlobnl2a2V5NnpwYzdodS8y",
                  "index": true
                }
              ]
            },
            {
              "type": "tx",
              "attributes": [
                {
                  "key": "c2lnbmF0dXJl",
                  "value": "NVpPQTJpcVJkSXB3VTBpL0JRd21XbkxlTmVnMUJnK3pOeDFTbWtYV1hNSldzZ0hsQW8xVFcwRlE3Y1MrVUUvN29VQXdhSVprWTZhYlhnamNQRjNsSVE9PQ==",
                  "index": true
                }
              ]
            },
            {
              "type": "message",
              "attributes": [
                {
                  "key": "YWN0aW9u",
                  "value": "L2dyYXZpdHkudjEuTXNnRGVsZWdhdGVLZXlz",
                  "index": true
                }
              ]
            },
            {
              "type": "message",
              "attributes": [
                {
                  "key": "bW9kdWxl",
                  "value": "ZGVsZWdhdGVfa2V5cw==",
                  "index": true
                },
                {
                  "key": "c2V0X29yY2hlc3RyYXRvcl9hZGRyZXNz",
                  "value": "dW1lZTEzZjN0NDMwdXF0ZzVlNDhtYXZ0dzBlbjdsemN3bHRqN2QyMnBzbA==",
                  "index": true
                },
                {
                  "key": "c2V0X2V0aGVyZXVtX2FkZHJlc3M=",
                  "value": "MHg1NzcyQWM5YTNlRTIzNDBDNkJCYjM4ODVjODNlNTM3NWU5YkMyYkEw",
                  "index": true
                },
                {
                  "key": "dmFsaWRhdG9yX2FkZHJlc3M=",
                  "value": "dW1lZXZhbG9wZXIxazNwcmh6bTl5Yzh0YXk1cnc3ZHd3ejl5aG55dmtleTZ6OWwzeGs=",
                  "index": true
                }
              ]
            }
          ],
          "codespace": ""
        },
        "tx": "CvMBCvABChsvZ3Jhdml0eS52MS5Nc2dEZWxlZ2F0ZUtleXMS0AEKMnVtZWV2YWxvcGVyMWszcHJoem05eWM4dGF5NXJ3N2R3d3o5eWhueXZrZXk2ejlsM3hrEit1bWVlMTNmM3Q0MzB1cXRnNWU0OG1hdnR3MGVuN2x6Y3dsdGo3ZDIycHNsGioweDU3NzJBYzlhM2VFMjM0MEM2QkJiMzg4NWM4M2U1Mzc1ZTliQzJiQTAiQVXGtM82bPp0IsJZByH7dGoWaC8XmaBJNEDe+cKjeEdFXflJRmprvVedMwwTYQxopT08vg+/eTwKaV85Ou9qSWEbEmgKUApGCh8vY29zbW9zLmNyeXB0by5zZWNwMjU2azEuUHViS2V5EiMKIQKJoSdf3HBKE0sgnXUihbqKSz94pbDQZcOhYSk+o8xCoBIECgIIARgCEhQKDgoFdXVtZWUSBTEwMDAwEKWWBBpA5ZOA2iqRdIpwU0i/BQwmWnLeNeg1Bg+zNx1SmkXWXMJWsgHlAo1TW0FQ7cS+UE/7oUAwaIZkY6abXgjcPF3lIQ=="
      }
    ],
    "total_count": "1"
  }
}

2. In block 63 we got signature verification failed ethAddress 0x5772Ac9a3eE2340C6BBb3885c83e5375e9bC2bA0

{
  "jsonrpc": "2.0",
  "id": -1,
  "result": {
    "txs": [
      {
        "hash": "FB4630CCF2008503CC91DE68344B5F8997A13FB156E1DF34CCA450B78BBB6DCA",
        "height": "63",
        "index": 0,
        "tx_result": {
          "code": 3,
          "data": null,
          "log": "failed to execute message; message index: 0: signature verification failed ethAddress 0x5772Ac9a3eE2340C6BBb3885c83e5375e9bC2bA0 gravityID umeevengers-1 checkpoint 2d06ce1efa465aa2621db755ba5b45a4f59cd9e5ea8bae039b4566f4dba44ff0 typeURL /gravity.v1.SignerSetTxConfirmation signature 61489ba1676135b0714728ebb1533910c605b9eae2f4a520d26b836b5a049d6f0ea969187a4b61dc985308148e703d2242132065716e7039a534e6236f5c9a6d1c err signature not matching addr b9c5e0f81347a7b676ae90c2581dcba9bfb8e3f1 sig 61489ba1676135b0714728ebb1533910c605b9eae2f4a520d26b836b5a049d6f0ea969187a4b61dc985308148e703d2242132065716e7039a534e6236f5c9a6d1c hash 19457468657265756d205369676e6564204d6573736167653a0a33322d06ce1efa465aa2621db755ba5b45a4f59cd9e5ea8bae039b4566f4dba44ff0: invalid: invalid",
          "info": "",
          "gas_wanted": "2500000",
          "gas_used": "74132",
          "events": [],
          "codespace": "gravity"
        },
        "tx": "CooKCvgBCisvZ3Jhdml0eS52MS5Nc2dTdWJtaXRFdGhlcmV1bVR4Q29uZmlybWF0aW9uEsgBCpgBCiMvZ3Jhdml0eS52MS5TaWduZXJTZXRUeENvbmZpcm1hdGlvbhJxCAYSKjB4NTc3MkFjOWEzZUUyMzQwQzZCQmIzODg1YzgzZTUzNzVlOWJDMmJBMBpBYUiboWdhNbBxRyjrsVM5EMYFueri9KUg0muDa1oEnW8OqWkYekth3JhTCBSOcD0iQhMgZXFucDmlNOYjb1yabRwSK3VtZWUxM2YzdDQzMHVxdGc1ZTQ4bWF2dHcwZW43bHpjd2x0ajdkMjJwc2wK+AEKKy9ncmF2aXR5LnYxLk1zZ1N1Ym1pdEV0aGVyZXVtVHhDb25maXJtYXRpb24SyAEKmAEKIy9ncmF2aXR5LnYxLlNpZ25lclNldFR4Q29uZmlybWF0aW9uEnEIBRIqMHg1NzcyQWM5YTNlRTIzNDBDNkJCYjM4ODVjODNlNTM3NWU5YkMyYkEwGkFLevpJux8BPdR2ElWpRyYbWSadjhpOqsyB5repHS5lnxq0bqb/B3ExNUOzIyrkxnhZj5DZQ3GhNoDOkgI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lbjdsemN3bHRqN2QyMnBzbBIeU2VudCB1c2luZyBBbHRoZWEgT3JjaGVzdHJhdG9yGJ8BEmQKTgpGCh8vY29zbW9zLmNyeXB0by5zZWNwMjU2azEuUHViS2V5EiMKIQMLE4dsFlnyDpyQfn3XxCSPQHD1iUCT9u8K0FfOK1+IEhIECgIIARISCgsKBXV1bWVlEgIyNhCgy5gBGkBTk4IZQYEbg9REuBe8OMNr+Yk3vI/MAapaU9fek3MAfilEV+TrtOmzaouVvB7JZ9azgvKKG092NNcn8ubAzJg8"
      }
    ],
    "total_count": "1"
  }
}

3. Same error appears in every 4th block, at least till 445, where there's another transaction popup from someone also.

TX: E7DD055E7E4F512971D1DF4CF929681A4EA6C0047F7BB0813E2D5593B0E480A2
address: 0xBCA35e36d34bB21ebD4f6378F59CAc374170C205

4. Since 445 error repeats every 4 blocks only for that another address that got this error.

5. There are probably many similar errors for other addresses in later blocks.

6. From here gorc on our server crash every second with following error and restart.

Consideration: looks good
Oracle is resyncing, looking back into the history to find our last event nonce 328, on block 9443195
Oracle is resyncing, looking back into the history to find our last event nonce 328, on block 9438195

The application panicked (crashed).

Message:  Could not find the last event relayed by umee13f3t430uqtg5e48mavtw0en7lzcwltj7d22psl, Last Event nonce is 328 

but no event matching that could be found!

Location: /project/orchestrator/src/oracle_resync.rs:208
7. When we look for that problematic block on Rinkeby, we can see, that it's placed before first two calls, after creation of the umee contract

error-eth-illustration

There was a signinficatnt delay between creation of the contract and then creation of UMEE token. And this failing block is just between these transactions.

https://rinkeby.etherscan.io/txs?block=9438889

https://rinkeby.etherscan.io/txs?a=0xc55BbD2f09246Fc94c38A09d34FD7992c6BB9aF6&p=29

9439264 Deploy ERC20
9438889 ???
9437849 Contract Creation 0x60806040

What we try:

  • Debug this issue more in depth, extracting all data above, create new ETH address, gorc cosmos address and broadcast new signature in hope this will fix previous error, but nothing changes, we still hand on
    looking back into the history to find our last event nonce 328, on block 9443195 Previously signed ETH key got abandoned and we currently running on the new set of keys with constant gorc crash every second. This surprisingly doesn't affect validator at all and we are going smooth without missing any single block, apart of some when instance been restarted.

  • We moved validator across different servers under different IP addresses and put on re-synced database from scratch in hope ito remove some bloat, error still present.

Script used for signature broadcast:

KEY_NAME="key_name" # validator umee key name

GORC_ETH_KEY_NAME="gorc-eth"
GORC_UMEE_KEY_NAME="gorc"

VAL_ADDR=$(umeed keys show "$KEY_NAME" --bech val -a)

GORC_UMEE_KEY=$(umeed keys show "$GORC_UMEE_KEY_NAME" -a)

GORC_ETH_KEY=$(gorc --config "$HOME/gorc/config.toml" keys eth show "$GORC_ETH_KEY_NAME")

GORC_ETH_SIG=$(gorc --config "$HOME/gorc/config.toml" sign-delegate-keys "$GORC_ETH_KEY_NAME" "$VAL_ADDR")

# ... [validator-address] [orchestrator-address] [ethereum-address] [ethereum-signature] [flags]
umeed tx gravity set-delegate-keys "$VAL_ADDR" "$GORC_UMEE_KEY" "$GORC_ETH_KEY" "$GORC_ETH_SIG" \
    --chain-id="umeevengers-1" \
    --from="$KEY_NAME" \
    --fees=80000uumee \
    --gas auto

Rocksdb support fail to build

To support RocksDb backend, the binary need to be built with rocksdb tag

BUILD_TAGS=rocksdb make install

The build failt with the following error :

--> Ensure dependencies have not been modified
all modules verified
--> Installing...
CGO_ENABLED=0 go install -mod=readonly -tags "netgo ledger rocksdb" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=umee -X github.com/cosmos/cosmos-sdk/version.AppName=umeed -X github.com/cosmos/cosmos-sdk/version.Version=v0.3.0 -X github.com/cosmos/cosmos-sdk/version.Commit=0ed4dba863878e0c10baf600bbb0b6ff46f7ed9a -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo ledger rocksdb," -X github.com/tendermint/tendermint/version.TMCoreSemVer=v0.34.14' ./...
# github.com/tendermint/tm-db
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:22:10: undefined: gorocksdb.DB
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:23:10: undefined: gorocksdb.ReadOptions
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:24:10: undefined: gorocksdb.WriteOptions
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:25:10: undefined: gorocksdb.WriteOptions
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:47:59: undefined: gorocksdb.Options
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb.go:141:26: undefined: gorocksdb.DB
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_batch.go:9:9: undefined: gorocksdb.WriteBatch
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:12:14: undefined: gorocksdb.Iterator
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:20:33: undefined: gorocksdb.Iterator
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:138:26: undefined: gorocksdb.Slice
../go/pkg/mod/github.com/tendermint/[email protected]/rocksdb_iterator.go:138:26: too many errors
make: *** [Makefile:75: install] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.