Giter Site home page Giter Site logo

chains's Introduction

Commercio.network - The Documents Blockchain

GitHub release CircleCI codecov Go Report Card GitHub code size in bytes GitHub

Commercio.network, as known as The Documents Blockchain is the easiest way for companies to manage their business documents using the blockchain technology.

Our ultimate goal is not just to share documents, but to create a network of trusted organizations.

References

Version

Current Software Version is v5.1.0

Current Chain Version is commercio-3

Quick Start

To compile our software (Debian/Ubuntu SO)

apt update && apt upgrade -y
apt install -y git gcc make unzip
snap install --classic go


echo 'export GOPATH="$HOME/go"' >> ~/.profile
echo 'export PATH="$GOPATH/bin:$PATH"' >> ~/.profile
echo 'export PATH="$PATH:/snap/bin"' >> ~/.profile

source ~/.profile

git clone https://github.com/commercionetwork/commercionetwork.git
cd commercionetwork
git checkout tags/v5.1.0
go mod verify
make install

You can verify your installation with

commercionetworkd version

chains's People

Contributors

enricotal70 avatar lmc-mint avatar marcotradenet avatar riccardom avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

chains's Issues

Unsupported param in genenis.json

Starting a new node from scratch, the application crashes reading the genesis.json indicating that a field "max_wasm_code_size" is unknown
Removing the item from file, the daemon starts without problems.

11:05PM INF asserting crisis invariants inv=10/11 module=x/crisis name=distribution/module-account
11:05PM INF asserting crisis invariants inv=11/11 module=x/crisis name=gov/module-account
11:05PM INF asserted all invariants duration=146.379372 height=2233554 module=x/crisis
11:05PM INF created new capability module=ibc name=ports/transfer
11:05PM INF port binded module=x/ibc/port port=transfer
11:05PM INF claimed capability capability=1 module=transfer name=ports/transfer
panic: unknown field "max_wasm_code_size" in types.Params

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/codec.(*ProtoCodec).MustUnmarshalJSON(0x0?, {0xc00022c1a0?, 0x28797d0?, 0xc0010d3ce0?}, {0x285e260?, 0xc006ca2080?})
	github.com/cosmos/[email protected]/codec/proto_codec.go:178 +0x45
github.com/CosmWasm/wasmd/x/wasm.AppModule.InitGenesis({{}, {_, _}, _, {_, _}, {_, _}, {_, _}}, ...)
	github.com/CosmWasm/[email protected]/x/wasm/module.go:161 +0xc2
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x2870220, 0xc00012c000}, {0x287fe60, 0xc000024880}, {{0x0, 0x0}, {0xc0013b40e0, 0xb}, 0x2214d2, ...}, ...}, ...)
	github.com/cosmos/[email protected]/types/module/module.go:327 +0x29d
github.com/commercionetwork/commercionetwork/app.(*App).InitChainer(_, {{0x2870220, 0xc00012c000}, {0x287fe60, 0xc000024880}, {{0x0, 0x0}, {0xc0013b40e0, 0xb}, 0x2214d2, ...}, ...}, ...)
	github.com/commercionetwork/commercionetwork/app/app.go:933 +0x20e
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc000420380, {{0x0, 0xed7eab600, 0x0}, {0xc0013b40e0, 0xb}, 0xc000deea60, {0xc000e37500, 0x47, 0x47}, ...})
	github.com/cosmos/[email protected]/baseapp/abci.go:63 +0x455
github.com/tendermint/tendermint/abci/client.(*localClient).InitChainSync(0xc000e886c0, {{0x0, 0xed7eab600, 0x0}, {0xc0013b40e0, 0xb}, 0xc000deea60, {0xc000e37500, 0x47, 0x47}, ...})
	github.com/tendermint/[email protected]/abci/client/local_client.go:272 +0x118
github.com/tendermint/tendermint/proxy.(*appConnConsensus).InitChainSync(0x0?, {{0x0, 0xed7eab600, 0x0}, {0xc0013b40e0, 0xb}, 0xc000deea60, {0xc000e37500, 0x47, 0x47}, ...})
	github.com/tendermint/[email protected]/proxy/app_conn.go:77 +0x55
github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(_, {{{0xb, 0x0}, {0x284f6e0, 0x8}}, {0xc0013b40e0, 0xb}, 0x2214d2, 0x0, {{0x0, ...}, ...}, ...}, ...)
	github.com/tendermint/[email protected]/consensus/replay.go:319 +0xd78
github.com/tendermint/tendermint/consensus.(*Handshaker).Handshake(0xc000fd9d90, {0x28808b0, 0xc001c040d0})
	github.com/tendermint/[email protected]/consensus/replay.go:268 +0x3d4
github.com/tendermint/tendermint/node.doHandshake({_, _}, {{{0xb, 0x0}, {0x284f6e0, 0x8}}, {0xc0013b40e0, 0xb}, 0x2214d2, 0x0, ...}, ...)
	github.com/tendermint/[email protected]/node/node.go:329 +0x1b8
github.com/tendermint/tendermint/node.NewNode(0xc000dc28c0, {0x286cea0, 0xc000d11720}, 0xc001c08810, {0x2856860, 0xc000012ab0}, 0x0?, 0x0?, 0xc001c08a20, {0x28713d8, ...}, ...)
	github.com/tendermint/[email protected]/node/node.go:777 +0x597
github.com/cosmos/cosmos-sdk/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x288bce8, 0xc000d13980}, {0x0, 0x0}, {0x2875b98, 0xc000e828c0}, ...}, ...)
	github.com/cosmos/[email protected]/server/start.go:280 +0x7db
github.com/cosmos/cosmos-sdk/server.StartCmd.func2(0xc000fe6f00?, {0x3737130?, 0x0?, 0x0?})
	github.com/cosmos/[email protected]/server/start.go:128 +0x169
github.com/spf13/cobra.(*Command).execute(0xc000fe6f00, {0x3737130, 0x0, 0x0})
	github.com/spf13/[email protected]/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001b9500)
	github.com/spf13/[email protected]/command.go:1040 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/[email protected]/command.go:968
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	github.com/spf13/[email protected]/command.go:961
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0x0?, {0xc00014ee28, 0x17})
	github.com/cosmos/[email protected]/server/cmd/execute.go:36 +0x1eb
main.main()
	github.com/commercionetwork/commercionetwork/cmd/commercionetworkd/main.go:13 +0x2c

New directory structure

In order to reduce the confusion between new and old chain ids i propose the following directory structure for this repository:

├── olds
│   ├── mainnets
│   │   └── commercio-mainnet
│   │   │  ├── .data
│   │   │  └── genesis.json 
│   │   └── [others old mainnets]
│   ├── devnets
│   │   ├── commercio-devnet01
│   │   │  ├── .data
│   │   │  └── genesis.json 
│   │   └── [others old devnets]
│   └── testnets
│   │   ├── commercio-testnet1001 
│   │   │  ├── .data
│   │   │  └── genesis.json 
│   │   ├──  commercio-testnet2000
│   │   │  ├── .data
│   │   │  └── genesis.json 
│   │   └──  [others old testnets]
├── commercio-2_1
│   ├── .data
│   └── genesis.json 
├── commercio-2_2
│   ├── .data
│   └── genesis.json 
├── commercio-devnet05
│   ├── .data
│   └──genesis.json 
├── commercio-meeting01
│   ├── .data
│   └── genesis.json
├── [others active nets]
├── resources
│   ├── scripts
│   │   └── update_chain.sh
├── LICENSE
└── README.md

The main change is the olds directory where deprecated/inactive networks genesis files are stored.

When square brackets are applied in the directory tree means the list continues as suggested.
"old" means networks which have a release version older then 2.1.

Documentation needs to be updated accordingly.

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.