Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proto Any init + evidence #6076

Merged
merged 52 commits into from
May 5, 2020
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
f8ddff6
Convert evidence state proto to use Any for benchmarking
aaronc Apr 23, 2020
62efb2e
Revert changes for benchmarking
aaronc Apr 23, 2020
59eec83
Add safe Any implementation
aaronc Apr 24, 2020
27ba717
Have Any Pack/Unpack working
aaronc Apr 25, 2020
e21f8a2
Add Any value cache
aaronc Apr 25, 2020
f1b5f18
Implement Any Rehydrate
aaronc Apr 25, 2020
9e92ca9
WIP on UnpackInterfaces
aaronc Apr 26, 2020
ef82e23
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/pro…
aaronc Apr 29, 2020
82a7a8a
WIP on ADR 019 Any init
aaronc Apr 29, 2020
08a02d3
Merge branch 'master' into aaronc/proto-any-init
aaronc Apr 29, 2020
d9ef343
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/pro…
aaronc Apr 29, 2020
a3ee74b
WIP on fixing tests
aaronc Apr 29, 2020
22828ad
Fix buf.yaml
aaronc Apr 29, 2020
86d42c1
WIP on test fixes
aaronc Apr 29, 2020
09051fc
Remove duplicate Any type registration
aaronc Apr 29, 2020
a92a8e9
reorganize, nolint
aaronc Apr 29, 2020
3ef37a0
Fix tests, reorganization
aaronc Apr 30, 2020
57c9842
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/pro…
aaronc Apr 30, 2020
bf2491d
Doc and linting updates
aaronc Apr 30, 2020
1e174a3
Doc and linting updates
aaronc Apr 30, 2020
3c0bfaf
Test fix
aaronc Apr 30, 2020
3835634
wsl
aaronc Apr 30, 2020
83e1be2
Improve tests
aaronc Apr 30, 2020
3fa3d97
Improve tests
aaronc Apr 30, 2020
68ee2c8
Merge branch 'master' into aaronc/proto-any-init
Apr 30, 2020
7ef3a22
Update scripts/protocgen-any.sh
aaronc May 1, 2020
eeb871d
Merge branch 'master' into aaronc/proto-any-init
aaronc May 1, 2020
2ad95ff
Refactor evidence Codec from std to x/evidence
aaronc May 1, 2020
d7d5506
Merge branch 'aaronc/proto-any-init' of github.com:cosmos/cosmos-sdk …
aaronc May 1, 2020
8fe1ad2
Address review feedback
aaronc May 1, 2020
ef0c11d
Fix bug
aaronc May 1, 2020
84560f1
Address review feedback
aaronc May 1, 2020
99c0034
fix tests
aaronc May 1, 2020
4f24c55
Remove GetCodec from evidence Keeper
aaronc May 1, 2020
1c93275
Change evidence NewKeeper to just take an evidence Codec
aaronc May 1, 2020
b5a95a8
Make NewAnyWithValue require a proto.Message
aaronc May 1, 2020
de52d69
Fix error
aaronc May 1, 2020
3ada5b1
Update codec/types/any.go
aaronc May 1, 2020
9015a45
Update codec/types/interface_registry.go
aaronc May 1, 2020
6306127
Update x/evidence/types/codec.go
aaronc May 1, 2020
96cbff7
Update x/evidence/types/codec.go
aaronc May 1, 2020
ba19f15
Update x/evidence/types/codec.go
aaronc May 1, 2020
be25032
Update codec/types/any.go
aaronc May 1, 2020
2293862
Merge branch 'master' into aaronc/proto-any-init
alexanderbez May 1, 2020
0d050d8
fix tests
aaronc May 1, 2020
cd60b8f
Merge branch 'master' into aaronc/proto-any-init
alexanderbez May 2, 2020
a42a387
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/pro…
aaronc May 4, 2020
b1a5d8e
Merge branch 'master' of github.com:cosmos/cosmos-sdk into aaronc/pro…
aaronc May 4, 2020
b167e09
Merge branch 'master' into aaronc/proto-any-init
aaronc May 4, 2020
49e0538
Merge branch 'master' into aaronc/proto-any-init
alexanderbez May 4, 2020
3a5931c
Merge branch 'master' into aaronc/proto-any-init
aaronc May 5, 2020
70eba6f
Merge branch 'master' into aaronc/proto-any-init
alexanderbez May 5, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test fix
aaronc committed Apr 30, 2020
commit 3c0bfaf4d65bd9bb458b4f2aeeef9338896dbf5b
3 changes: 1 addition & 2 deletions x/capability/simulation/decoder_test.go
Original file line number Diff line number Diff line change
@@ -8,14 +8,13 @@ import (
tmkv "github.com/tendermint/tendermint/libs/kv"

"github.com/cosmos/cosmos-sdk/simapp"
codecstd "github.com/cosmos/cosmos-sdk/std"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/capability/simulation"
"github.com/cosmos/cosmos-sdk/x/capability/types"
)

func TestDecodeStore(t *testing.T) {
cdc := codecstd.NewAppCodec(codecstd.MakeCodec(simapp.ModuleBasics))
cdc, _ := simapp.MakeCodecs()
dec := simulation.NewDecodeStore(cdc)

capOwners := types.CapabilityOwners{