Skip to content

Commit

Permalink
Merge PR #288: IBC Alpha Updates
Browse files Browse the repository at this point in the history
* IBC v1.0.0

* add demo readme

* update ibc-demo.md

* fix readme to match current state

* WIP connection handshake

* Merge PR #174: IBC demo fixes

* Fix branch in demo readme

* Fix branch in script

* Apply suggestions from code review

Co-Authored-By: Anca Zamfir <[email protected]>

* Init ibc-alpha

* Update sdk version to incorporate codec changes

* Upstream codec changes

* Add --node flag to transfer commands

* Remove extra --from flag

* fix app.evidenceKeeper params

* point to 'misc-ibc-issues' SDK branch

* fix build

* target to ibc-alpha

* Update gaia to latest ibc-alpha

* IBC v1.0.0

* add demo readme

* update ibc-demo.md

* fix readme to match current state

* WIP connection handshake

* Merge PR #174: IBC demo fixes

* Fix branch in demo readme

* Fix branch in script

* Apply suggestions from code review

Co-Authored-By: Anca Zamfir <[email protected]>

* Init ibc-alpha

* Update sdk version to incorporate codec changes

* Upstream codec changes

* Add --node flag to transfer commands

* Remove extra --from flag

* fix app.evidenceKeeper params

* point to 'misc-ibc-issues' SDK branch

* fix build

* target to ibc-alpha

* Update gaia to latest ibc-alpha

* Update to latest sdk:ibc-alpha and rebase onto master

* Fix broken tests

* update to v0.38.0 sdk

* Update to latest master, bank changes

* Update to latest SDK ibc-alpha

* update: gaia to master of the sdk

- updated gaia to use the master branch of the sdk
- when full proto?

Signed-off-by: Marko Baricevic <[email protected]>

* bump to master

* Proto updates

* Update makefiles

* Fix codecs in cli tests

* Update CLI tests

* WIP fix deps

* Pin to IBC-alpha

* Updates to build, failing tests

* Update to latest ibc-alpha

* Push

* Update to latest ibc-alpha

* Update upstream SDK version to latest ibc-alpha

* Update to latest ibc-alpha

* Push go.sum changes

* enable historical info tracking

* Update to latest ibc-alpha

* Push latest ibc-alpha version

* Fix build, flags issue still present

* Working build

* Fix lint issue

* Update to latest sdk@ibc-alpha

* Update TM and SDK versions

* Change historical header numsaved to 1000 and update to latest ibc-alpha

* Update upstream SDK version

* Merge PR #318: Hook up 20-Transfer module to Gaia

* hookup transfer module to gaia

* Update upstream SDK version

Co-authored-by: Christopher Goes <[email protected]>

* Update upstream SDK version

* Fix commit

* bump sdk dependency

* Update sdk version

* update to [email protected]

* Update to latest cosmos-sdk

* Push ibc-alpha @jackzampolin: update sdk version

* Push ibc-alpha @jackzampolin: update sdk version

* Push ibc-alpha @jackzampolin: fix go version in dockerfile

* Merge PR #336: Add testing dockerfile for relayer

* Add test docker file for relayer and makefile build, tag and push commands

* add entrypoint on test docker image

* fix typo in makefile

* turn up speed on tests

* Back to 1s blocks

* Test fixes

* Push ibc-alpha @jackzampolin: ensure that tags are indexed

* Push ibc-alpha @jackzampolin: update to latest sdk@ibc-alpha

* Push ibc-alpha @jackzampolin: update sdk to latest ibc-alpha

* Push ibc-alpha @jackzampolin: update sdk version

* Add capability keeper to gaia

* Push ibc-alpha @jackzampolin: clean up go.sum

* Push ibc-alpha @jackzampolin: fix test failures

* Push ibc-alpha @jackzampolin: begin incorporating the port routing changes

* Push ibc-alpha @jackzampolin: begin incorporating the port routing changes

* Merge PR #349: Update to lastest SDK

* make gaia fixes

* Update to latest

* blah

* remove sdk replace

Co-authored-by: Jack Zampolin <[email protected]>

* Push ibc-alpha @jackzampolin: fix go.sum

* Push ibc-alpha @jackzampolin: fix test failure due to key refactor

* Passing cli tests?"

* Push ibc-alpha @jackzampolin: Update to latest SDK master

* Remove unnecessary import

* Passing multisig test

* Update go.mod

Co-Authored-By: Federico Kunze <[email protected]>

* Update lcd_test/helpers.go

Co-Authored-By: Federico Kunze <[email protected]>

* Update lcd_test/helpers.go

Co-Authored-By: Bot from GolangCI <[email protected]>

* Apply suggestions from code review

Co-Authored-By: Federico Kunze <[email protected]>

* Update app/app.go

Co-Authored-By: Federico Kunze <[email protected]>

* Apply suggestions from code review

* revert changes as suggested by @fedekunze

* run go mod tidy

* attempt to fix test-sim-multi-seed-short simulation

* Revert "attempt to fix test-sim-multi-seed-short simulation"

This reverts commit 1ff1a01.

* Push ibc-alpha @jackzampolin: address pr comments and clean up old ibc demo

* remove unnecessary replace statement

* Push ibc-alpha @jackzampolin: update to latest cosmos-sdk master and assoicated changes

* Push ibc-alpha @jackzampolin: update to latest SDK

* Push ibc-alpha @jackzampolin: fix test builds

* Push ibc-alpha @jackzampolin: fix packet send issue

* Push ibc-alpha @jackzampolin: update sdk to fix encoding issue on acks

* Push ibc-alpha @jackzampolin: update for supply removal and packet ack fixes

* Push ibc-alpha @jackzampolin: update to latest sdk master

* Fix test failures

* Push ibc-alpha @jackzampolin: fix gaia supply tests

* Push ibc-alpha @jackzampolin: fix lcd test failures

* WIP debugging

* Push ibc-alpha @jackzampolin: update to include capability fixes

* Push ibc-alpha @jackzampolin: fix test build issue

* add HistoricalInfoKey to skipped prefixes

* fix diff with SDK's Simapp

* typo

* update sim_test.go

* Bump sdk version

* update replay.go and helpers.go

* remove default param override

* Update Dockerfile

* Push ibc-alpha @jackzampolin: update to sdk master

* Push ibc-alpha @jackzampolin: address PR comments

* simplify makefile's docker target, remove remote push

* update .PHONY

remove go mod verify after lint, no longer needed

* Reduce diff size

* Push ibc-alpha @jackzampolin: re-add docker push to Makefile

* Push ibc-alpha @jackzampolin: incorporate historical entries change from SDK

* Address PR comment

Co-authored-by: Federico Kunze <[email protected]>
Co-authored-by: mossid <[email protected]>
Co-authored-by: Christopher Goes <[email protected]>
Co-authored-by: Federico Kunze <[email protected]>
Co-authored-by: Anca Zamfir <[email protected]>
Co-authored-by: Marko Baricevic <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Co-authored-by: Aditya Sripal <[email protected]>
Co-authored-by: Alessio Treglia <[email protected]>
Co-authored-by: Bot from GolangCI <[email protected]>
  • Loading branch information
11 people authored Apr 23, 2020
1 parent f876884 commit 50be36d
Show file tree
Hide file tree
Showing 18 changed files with 413 additions and 208 deletions.
19 changes: 16 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ VERSION := $(shell echo $(shell git describe --tags) | sed 's/^v//')
COMMIT := $(shell git log -1 --format='%H')
LEDGER_ENABLED ?= true
SDK_PACK := $(shell go list -m github.com/cosmos/cosmos-sdk | sed 's/ /\@/g')
TEST_DOCKER_REPO=jackzampolin/gaiatest

export GO111MODULE = on

Expand Down Expand Up @@ -175,7 +176,6 @@ benchmark:
lint:
golangci-lint run
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" | xargs gofmt -d -s
go mod verify

format:
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/lcd/statik/statik.go" | xargs gofmt -w -s
Expand Down Expand Up @@ -221,7 +221,20 @@ contract-tests: setup-transactions
@echo "Running Gaia LCD for contract tests"
dredd && pkill gaiad

.PHONY: all build-linux install install-debug \
test-docker:
@docker build -f contrib/Dockerfile.test -t ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) .
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:$(shell git rev-parse --abbrev-ref HEAD | sed 's#/#_#g')
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:latest

test-docker-push: test-docker
@docker push ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD)
@docker push ${TEST_DOCKER_REPO}:$(shell git rev-parse --abbrev-ref HEAD | sed 's#/#_#g')
@docker push ${TEST_DOCKER_REPO}:latest

.PHONY: all build-linux install format lint \
go-mod-cache draw-deps clean build \
setup-transactions setup-contract-tests-data start-gaia run-lcd-contract-tests contract-tests \
test test-all test-build test-cover test-unit test-race
test test-all test-build test-cover test-unit test-race \
benchmark \
build-docker-gaiadnode localnet-start localnet-stop \
docker-single-node
276 changes: 181 additions & 95 deletions app/app.go

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,25 @@ func TestGaiadExport(t *testing.T) {

// Making a new app object with the db, so that initchain hasn't been called
newGapp := NewGaiaApp(log.NewTMLogger(log.NewSyncWriter(os.Stdout)), db, nil, true, 0, map[int64]bool{}, "")
_, _, err = newGapp.ExportAppStateAndValidators(false, []string{})
_, _, _, err = newGapp.ExportAppStateAndValidators(false, []string{})
require.NoError(t, err, "ExportAppStateAndValidators should not have an error")
}

// ensure that black listed addresses are properly set in bank keeper
func TestBlackListedAddrs(t *testing.T) {
db := db.NewMemDB()
gapp := NewGaiaApp(log.NewTMLogger(log.NewSyncWriter(os.Stdout)), db, nil, true, 0, map[int64]bool{}, "")
app := NewGaiaApp(log.NewTMLogger(log.NewSyncWriter(os.Stdout)), db, nil, true, 0, map[int64]bool{}, "")

for acc := range maccPerms {
require.True(t, gapp.bankKeeper.BlacklistedAddr(gapp.supplyKeeper.GetModuleAddress(acc)))
require.Equal(t, !allowedReceivingModAcc[acc], app.bankKeeper.BlacklistedAddr(app.accountKeeper.GetModuleAddress(acc)))
}
}

func TestGetMaccPerms(t *testing.T) {
dup := GetMaccPerms()
require.Equal(t, maccPerms, dup, "duplicated module account permissions differed from actual module account permissions")
}

func setGenesis(gapp *GaiaApp) error {
genesisState := simapp.NewDefaultGenesisState()
stateBytes, err := codec.MarshalJSONIndent(gapp.Codec(), genesisState)
Expand Down
10 changes: 5 additions & 5 deletions app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

// ExportAppStateAndValidators export the state of gaia for a genesis file
func (app *GaiaApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string,
) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error) {
) (appState json.RawMessage, validators []tmtypes.GenesisValidator, cp *abci.ConsensusParams, err error) {
// as if they could withdraw from the start of the next block
ctx := app.NewContext(true, abci.Header{Height: app.LastBlockHeight()})

Expand All @@ -26,10 +26,10 @@ func (app *GaiaApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteLis
genState := app.mm.ExportGenesis(ctx, app.cdc)
appState, err = codec.MarshalJSONIndent(app.cdc, genState)
if err != nil {
return nil, nil, err
return nil, nil, nil, err
}
validators = staking.WriteValidators(ctx, app.stakingKeeper)
return appState, validators, nil
return appState, validators, app.BaseApp.GetConsensusParams(ctx), nil
}

// prepare for fresh start at zero height
Expand Down Expand Up @@ -90,9 +90,9 @@ func (app *GaiaApp) prepForZeroHeightGenesis(ctx sdk.Context, jailWhiteList []st
app.stakingKeeper.IterateValidators(ctx, func(_ int64, val staking.ValidatorI) (stop bool) {

// donate any unwithdrawn outstanding reward fraction tokens to the community pool
scraps := app.distrKeeper.GetValidatorOutstandingRewards(ctx, val.GetOperator())
scraps := app.distrKeeper.GetValidatorOutstandingRewards(ctx, val.GetOperator()).Rewards
feePool := app.distrKeeper.GetFeePool(ctx)
feePool.CommunityPool = feePool.CommunityPool.Add(scraps.Rewards...)
feePool.CommunityPool = feePool.CommunityPool.Add(scraps...)
app.distrKeeper.SetFeePool(ctx, feePool)

app.distrKeeper.Hooks().AfterValidatorCreated(ctx, val.GetOperator())
Expand Down
21 changes: 12 additions & 9 deletions app/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"testing"

"github.com/stretchr/testify/require"

abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"
Expand All @@ -18,16 +19,17 @@ import (
"github.com/cosmos/cosmos-sdk/store"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth"
"github.com/cosmos/cosmos-sdk/x/bank"
distr "github.com/cosmos/cosmos-sdk/x/distribution"
"github.com/cosmos/cosmos-sdk/x/gov"
"github.com/cosmos/cosmos-sdk/x/mint"
"github.com/cosmos/cosmos-sdk/x/params"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/cosmos/cosmos-sdk/x/simulation"
"github.com/cosmos/cosmos-sdk/x/slashing"
"github.com/cosmos/cosmos-sdk/x/staking"
"github.com/cosmos/cosmos-sdk/x/supply"
)

// Get flags every time the simulator is run
func init() {
simapp.GetSimulatorFlags()
}
Expand Down Expand Up @@ -115,7 +117,7 @@ func TestAppImportExport(t *testing.T) {

fmt.Printf("exporting genesis...\n")

appState, _, err := app.ExportAppStateAndValidators(false, []string{})
appState, _, consensusParams, err := app.ExportAppStateAndValidators(false, []string{})
require.NoError(t, err)

fmt.Printf("importing genesis...\n")
Expand All @@ -138,21 +140,22 @@ func TestAppImportExport(t *testing.T) {
ctxA := app.NewContext(true, abci.Header{Height: app.LastBlockHeight()})
ctxB := newApp.NewContext(true, abci.Header{Height: app.LastBlockHeight()})
newApp.mm.InitGenesis(ctxB, app.cdc, genesisState)
newApp.StoreConsensusParams(ctxB, consensusParams)

fmt.Printf("comparing stores...\n")

storeKeysPrefixes := []StoreKeysPrefixes{
{app.keys[baseapp.MainStoreKey], newApp.keys[baseapp.MainStoreKey], [][]byte{}},
{app.keys[auth.StoreKey], newApp.keys[auth.StoreKey], [][]byte{}},
{app.keys[staking.StoreKey], newApp.keys[staking.StoreKey],
[][]byte{
staking.UnbondingQueueKey, staking.RedelegationQueueKey, staking.ValidatorQueueKey,
staking.HistoricalInfoKey,
}}, // ordering may change but it doesn't matter
{app.keys[slashing.StoreKey], newApp.keys[slashing.StoreKey], [][]byte{}},
{app.keys[mint.StoreKey], newApp.keys[mint.StoreKey], [][]byte{}},
{app.keys[distr.StoreKey], newApp.keys[distr.StoreKey], [][]byte{}},
{app.keys[supply.StoreKey], newApp.keys[supply.StoreKey], [][]byte{}},
{app.keys[params.StoreKey], newApp.keys[params.StoreKey], [][]byte{}},
{app.keys[bank.StoreKey], newApp.keys[bank.StoreKey], [][]byte{bank.BalancesPrefix}},
{app.keys[paramtypes.StoreKey], newApp.keys[paramtypes.StoreKey], [][]byte{}},
{app.keys[gov.StoreKey], newApp.keys[gov.StoreKey], [][]byte{}},
}

Expand All @@ -163,8 +166,8 @@ func TestAppImportExport(t *testing.T) {
failedKVAs, failedKVBs := sdk.DiffKVStores(storeA, storeB, skp.Prefixes)
require.Equal(t, len(failedKVAs), len(failedKVBs), "unequal sets of key-values to compare")

fmt.Printf("compared %d key/value pairs between %s and %s\n", len(failedKVAs), skp.A, skp.B)
require.Equal(t, len(failedKVAs), 0, simapp.GetSimulationLog(skp.A.Name(), app.SimulationManager().StoreDecoders, app.Codec(), failedKVAs, failedKVBs))
fmt.Printf("compared %d different key/value pairs between %s and %s\n", len(failedKVAs), skp.A, skp.B)
require.Equal(t, len(failedKVAs), 0, simapp.GetSimulationLog(skp.A.Name(), app.SimulationManager().StoreDecoders, failedKVAs, failedKVBs))
}
}

Expand Down Expand Up @@ -206,7 +209,7 @@ func TestAppSimulationAfterImport(t *testing.T) {

fmt.Printf("exporting genesis...\n")

appState, _, err := app.ExportAppStateAndValidators(true, []string{})
appState, _, _, err := app.ExportAppStateAndValidators(true, []string{})
require.NoError(t, err)

fmt.Printf("importing genesis...\n")
Expand Down
22 changes: 11 additions & 11 deletions cli_test/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func TestGaiaCLISend(t *testing.T) {
)
require.Empty(t, stderr)
require.True(t, success)
msg := unmarshalStdTx(f.T, stdout)
msg := f.unmarshalStdTx(f.T, stdout)
require.NotZero(t, msg.Fee.Gas)
require.Len(t, msg.Msgs, 1)
require.Len(t, msg.GetSignatures(), 0)
Expand Down Expand Up @@ -369,7 +369,7 @@ func TestGaiaCLICreateValidator(t *testing.T) {
require.True(f.T, success)
require.Empty(f.T, stderr)

msg := unmarshalStdTx(f.T, stdout)
msg := f.unmarshalStdTx(f.T, stdout)
require.NotZero(t, msg.Fee.Gas)
require.Equal(t, len(msg.Msgs), 1)
require.Equal(t, 0, len(msg.GetSignatures()))
Expand Down Expand Up @@ -491,7 +491,7 @@ func TestGaiaCLISubmitProposal(t *testing.T) {
fooAddr.String(), "Text", "Test", "test", sdk.NewCoin(denom, proposalTokens), "--generate-only", "-y")
require.True(t, success)
require.Empty(t, stderr)
msg := unmarshalStdTx(t, stdout)
msg := f.unmarshalStdTx(t, stdout)
require.NotZero(t, msg.Fee.Gas)
require.Equal(t, len(msg.Msgs), 1)
require.Equal(t, 0, len(msg.GetSignatures()))
Expand Down Expand Up @@ -529,7 +529,7 @@ func TestGaiaCLISubmitProposal(t *testing.T) {
success, stdout, stderr = f.TxGovDeposit(1, fooAddr.String(), sdk.NewCoin(denom, depositTokens), "--generate-only")
require.True(t, success)
require.Empty(t, stderr)
msg = unmarshalStdTx(t, stdout)
msg = f.unmarshalStdTx(t, stdout)
require.NotZero(t, msg.Fee.Gas)
require.Equal(t, len(msg.Msgs), 1)
require.Equal(t, 0, len(msg.GetSignatures()))
Expand Down Expand Up @@ -563,7 +563,7 @@ func TestGaiaCLISubmitProposal(t *testing.T) {
success, stdout, stderr = f.TxGovVote(1, gov.OptionYes, fooAddr.String(), "--generate-only")
require.True(t, success)
require.Empty(t, stderr)
msg = unmarshalStdTx(t, stdout)
msg = f.unmarshalStdTx(t, stdout)
require.NotZero(t, msg.Fee.Gas)
require.Equal(t, len(msg.Msgs), 1)
require.Equal(t, 0, len(msg.GetSignatures()))
Expand Down Expand Up @@ -816,7 +816,7 @@ func TestGaiaCLIValidateSignatures(t *testing.T) {
// validate we can successfully sign
success, stdout, _ = f.TxSign(keyFoo, unsignedTxFile.Name())
require.True(t, success)
stdTx := unmarshalStdTx(t, stdout)
stdTx := f.unmarshalStdTx(t, stdout)
require.Equal(t, len(stdTx.Msgs), 1)
require.Equal(t, 1, len(stdTx.GetSignatures()))
require.Equal(t, fooAddr.String(), stdTx.GetSigners()[0].String())
Expand All @@ -831,7 +831,7 @@ func TestGaiaCLIValidateSignatures(t *testing.T) {

// modify the transaction
stdTx.Memo = "MODIFIED-ORIGINAL-TX-BAD"
bz := marshalStdTx(t, stdTx)
bz := f.marshalStdTx(t, stdTx)
modSignedTxFile := WriteToNewTempFile(t, string(bz))
defer os.Remove(modSignedTxFile.Name())

Expand All @@ -858,7 +858,7 @@ func TestGaiaCLISendGenerateSignAndBroadcast(t *testing.T) {
success, stdout, stderr := f.TxSend(fooAddr.String(), barAddr, sdk.NewCoin(denom, sendTokens), "--generate-only")
require.True(t, success)
require.Empty(t, stderr)
msg := unmarshalStdTx(t, stdout)
msg := f.unmarshalStdTx(t, stdout)
require.Equal(t, msg.Fee.Gas, uint64(flags.DefaultGasLimit))
require.Equal(t, len(msg.Msgs), 1)
require.Equal(t, 0, len(msg.GetSignatures()))
Expand All @@ -867,7 +867,7 @@ func TestGaiaCLISendGenerateSignAndBroadcast(t *testing.T) {
success, stdout, stderr = f.TxSend(fooAddr.String(), barAddr, sdk.NewCoin(denom, sendTokens), "--gas=100", "--generate-only")
require.True(t, success)
require.Empty(t, stderr)
msg = unmarshalStdTx(t, stdout)
msg = f.unmarshalStdTx(t, stdout)
require.Equal(t, msg.Fee.Gas, uint64(100))
require.Equal(t, len(msg.Msgs), 1)
require.Equal(t, 0, len(msg.GetSignatures()))
Expand All @@ -876,7 +876,7 @@ func TestGaiaCLISendGenerateSignAndBroadcast(t *testing.T) {
success, stdout, stderr = f.TxSend(fooAddr.String(), barAddr, sdk.NewCoin(denom, sendTokens), "--generate-only")
require.True(t, success)
require.Empty(t, stderr)
msg = unmarshalStdTx(t, stdout)
msg = f.unmarshalStdTx(t, stdout)
require.True(t, msg.Fee.Gas > 0)
require.Equal(t, len(msg.Msgs), 1)

Expand All @@ -903,7 +903,7 @@ func TestGaiaCLISendGenerateSignAndBroadcast(t *testing.T) {
// Sign transaction
success, stdout, _ = f.TxSign(keyFoo, unsignedTxFile.Name())
require.True(t, success)
msg = unmarshalStdTx(t, stdout)
msg = f.unmarshalStdTx(t, stdout)
require.Equal(t, len(msg.Msgs), 1)
require.Equal(t, 1, len(msg.GetSignatures()))
require.Equal(t, fooAddr.String(), msg.GetSigners()[0].String())
Expand Down
Loading

0 comments on commit 50be36d

Please sign in to comment.