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

Refactor e2e #129

Closed
wants to merge 2 commits into from
Closed

Refactor e2e #129

wants to merge 2 commits into from

Conversation

jim380
Copy link
Contributor

@jim380 jim380 commented Dec 13, 2023

Overview

General plumbing.

@jim380 jim380 requested a review from hacheigriega December 13, 2023 06:30
@hacheigriega
Copy link
Member

hacheigriega commented Dec 14, 2023

LGTM, but it is failing when I run make test-e2e. Do it work on your side?

    e2e_setup_test.go:210: 
                Error Trace:    /Users/hykim/dev/seda-chain/e2e/e2e_setup_test.go:210
                                                        /Users/hykim/dev/seda-chain/e2e/e2e_setup_test.go:100
                                                        /Users/hykim/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
                                                        /Users/hykim/dev/seda-chain/e2e/e2e_setup_test.go:80
                Error:          Received unexpected error:
                                toproto: key type <nil> is not supported
                Test:           TestIntegrationTestSuite
--- FAIL: TestIntegrationTestSuite (0.42s)

@jim380
Copy link
Contributor Author

jim380 commented Dec 14, 2023

@jim380 Can you try again? There was a concurrency issue so I added a mutex. Please and thank you!

@jim380
Copy link
Contributor Author

jim380 commented Dec 14, 2023

--> Running tests
=== RUN   TestIntegrationTestSuite
    e2e_setup_test.go:85: setting up e2e integration test suite...
    e2e_setup_test.go:99: starting e2e infrastructure; chain-id: chain-6dAu2B; datadir: /var/folders/nz/trcdkqqs29d7tst43kbpx_sw0000gn/T/e2e-testnet-3793817921
    e2e_setup_test.go:296: starting chain-6dAu2B validator containers...
    e2e_setup_test.go:331: started chain-6dAu2B validator container: 2c312a0068caeaf5f997d3e1853561b41b6bdba8a5131f6b4012a736bb9bc2ec
    e2e_setup_test.go:331: started chain-6dAu2B validator container: 233bcc493652cb173dab918314e0080c2dd01c8a0e32734c3f1dfea6d28b36d8
=== RUN   TestIntegrationTestSuite/TestWasmStorage
=== RUN   TestIntegrationTestSuite/TestWasmStorage/store_a_data_request_wasm
    e2e_wasm_storage_test.go:113: storing data request Wasm /seda-chain/testwasms/burner.wasm on chain chain-6dAu2B
    exec_commands_test.go:116: executing command [seda-chaind tx wasm-storage store-data-request-wasm /seda-chain/testwasms/burner.wasm -y --wasm-type=data-request --output=json --gas=auto --from=seda145q5jjefnctwgcen9jhxjxnk507ggtrs84n7z7 --chain-id=chain-6dAu2B --home=/seda-chain/.seda-chain --fees=330000aseda --keyring-backend=test --broadcast-mode=sync --gas-adjustment=1.5]
    e2e_wasm_storage_test.go:113: storing data request Wasm /seda-chain/testwasms/reflect.wasm on chain chain-6dAu2B
    exec_commands_test.go:116: executing command [seda-chaind tx wasm-storage store-data-request-wasm /seda-chain/testwasms/reflect.wasm -y --keyring-backend=test --chain-id=chain-6dAu2B --home=/seda-chain/.seda-chain --gas-adjustment=1.5 --fees=330000aseda --wasm-type=tally --output=json --gas=auto --from=seda145q5jjefnctwgcen9jhxjxnk507ggtrs84n7z7 --broadcast-mode=sync]
=== NAME  TestIntegrationTestSuite/TestWasmStorage
    e2e_gov_test.go:100: proposing to store overlay Wasm /seda-chain/testwasms/staking.wasm on chain chain-6dAu2B
    exec_commands_test.go:116: executing command [seda-chaind tx wasm-storage submit-proposal store-overlay-wasm /seda-chain/testwasms/staking.wasm -y --from=seda145q5jjefnctwgcen9jhxjxnk507ggtrs84n7z7 --gas-adjustment=1.5 --title=clean_title --keyring-backend=test --fees=330000aseda --wasm-type=data-request-executor --deposit=10000000aseda --broadcast-mode=sync --output=json --gas=auto --chain-id=chain-6dAu2B --home=/seda-chain/.seda-chain --summary=sustainable_summary --authority=seda10d07y265gmmuvt4z0w9aw880jnsr700jvvla4j]
    e2e_gov_test.go:145: voting yes to proposal 1 on chain chain-6dAu2B
    exec_commands_test.go:116: executing command [seda-chaind tx gov vote 1 yes -y --from=seda145q5jjefnctwgcen9jhxjxnk507ggtrs84n7z7 --broadcast-mode=sync --chain-id=chain-6dAu2B --fees=330000aseda --keyring-backend=test --gas=auto --gas-adjustment=1.5 --home=/seda-chain/.seda-chain --output=json]
    e2e_register_proxy_contract_test.go:144: storing data request Wasm /seda-chain/testwasms/proxy_contract.wasm on chain chain-6dAu2B
    exec_commands_test.go:116: executing command [seda-chaind tx wasm store /seda-chain/testwasms/proxy_contract.wasm -y --gas=auto --from=seda145q5jjefnctwgcen9jhxjxnk507ggtrs84n7z7 --gas-adjustment=1.5 --fees=330000aseda --keyring-backend=test --output=json --broadcast-mode=sync --chain-id=chain-6dAu2B --home=/seda-chain/.seda-chain]
    e2e_register_proxy_contract_test.go:98: proposing to instantiate and register as proxy contract (code ID 1) on chain chain-6dAu2B
    exec_commands_test.go:116: executing command [seda-chaind tx wasm-storage submit-proposal instantiate-and-register-proxy-contract 1 {"token":"aseda"} 74657374696e67 -y --from=seda145q5jjefnctwgcen9jhxjxnk507ggtrs84n7z7 --broadcast-mode=sync --label=fortunate_label --keyring-backend=test --gas=auto --authority=seda10d07y265gmmuvt4z0w9aw880jnsr700jvvla4j --fees=330000aseda --title=clean_title --no-admin=true --summary=sustainable_summary --gas-adjustment=1.5 --chain-id=chain-6dAu2B --fix-msg=true --deposit=10000000aseda --output=json --home=/seda-chain/.seda-chain]
    e2e_gov_test.go:145: voting yes to proposal 2 on chain chain-6dAu2B
    exec_commands_test.go:116: executing command [seda-chaind tx gov vote 2 yes -y --output=json --gas=auto --from=seda145q5jjefnctwgcen9jhxjxnk507ggtrs84n7z7 --broadcast-mode=sync --gas-adjustment=1.5 --home=/seda-chain/.seda-chain --fees=330000aseda --keyring-backend=test --chain-id=chain-6dAu2B]
    e2e_gov_test.go:187: getting seed from contract seda1zf0e3j2f3gy97f5knudjfdvkz5xywcnvvmse7hs42dsznqcr0cusmj3cc8 on chain chain-6dAu2B
    exec_commands_test.go:79: executing command [seda-chaind query wasm contract-state smart seda1zf0e3j2f3gy97f5knudjfdvkz5xywcnvvmse7hs42dsznqcr0cusmj3cc8 {"query_seed_request":{}} --output=json]
=== NAME  TestIntegrationTestSuite
    e2e_setup_test.go:116: tearing down e2e integration test suite...
--- PASS: TestIntegrationTestSuite (77.91s)
    --- PASS: TestIntegrationTestSuite/TestWasmStorage (71.91s)
        --- PASS: TestIntegrationTestSuite/TestWasmStorage/store_a_data_request_wasm (15.49s)
PASS
ok      github.com/sedaprotocol/seda-chain/e2e  78.553s

e2e passing now locally.

@jim380 jim380 force-pushed the jay/refine-e2e-tests branch from f33c869 to adda380 Compare January 5, 2024 07:20
@hacheigriega
Copy link
Member

closing due to several errors

@hacheigriega hacheigriega deleted the jay/refine-e2e-tests branch May 2, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants