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

Unify wallet: Part 2 #889

Merged
merged 32 commits into from
Apr 23, 2024
Merged

Unify wallet: Part 2 #889

merged 32 commits into from
Apr 23, 2024

Conversation

cyberphysic4l
Copy link
Contributor

@cyberphysic4l cyberphysic4l commented Mar 27, 2024

Following on from #837

This PR removes the DockerWallet and replaces it with the mock Wallet used in the testsuite, but with a nodeclient for the docker network and using a real clock instead of the testsuite time.

closes #789

@cyberphysic4l cyberphysic4l marked this pull request as draft March 27, 2024 17:42
pkg/testsuite/mock/client.go Show resolved Hide resolved
pkg/testsuite/mock/wallet.go Outdated Show resolved Hide resolved
pkg/testsuite/mock/wallet.go Outdated Show resolved Hide resolved
pkg/testsuite/mock/wallet.go Outdated Show resolved Hide resolved
pkg/testsuite/mock/wallet.go Outdated Show resolved Hide resolved
tools/docker-network/tests/dockerframework.go Show resolved Hide resolved
tools/docker-network/tests/dockerframework.go Show resolved Hide resolved
pkg/testsuite/testsuite.go Outdated Show resolved Hide resolved
@cyberphysic4l cyberphysic4l marked this pull request as ready for review April 19, 2024 11:23
Copy link
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Minor comments.

There are a lot of occurences of creating a basic block where the alias is set to "". I think it would be good to set aliases there in case this test ever fails and we look at an error message containing that alias, then a string like "_tagged_data_block" is easier to find and debug than "". Just a thought. If you feel this is unnecessary, feel free to skip.

pkg/testsuite/mock/client.go Show resolved Hide resolved
pkg/testsuite/mock/wallet.go Outdated Show resolved Hide resolved
pkg/testsuite/mock/wallet.go Outdated Show resolved Hide resolved
pkg/testsuite/mock/wallet_transactions.go Outdated Show resolved Hide resolved
tools/docker-network/tests/api_core.go Outdated Show resolved Hide resolved
tools/docker-network/tests/rewards_test.go Outdated Show resolved Hide resolved
tools/docker-network/tests/rewards_test.go Outdated Show resolved Hide resolved
tools/docker-network/tests/rewards_test.go Outdated Show resolved Hide resolved
@muXxer muXxer merged commit 810e687 into develop Apr 23, 2024
4 checks passed
@muXxer muXxer deleted the feat/unify-wallets2 branch April 23, 2024 10:42
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.

Unify wallets in testsuite and dockerframework
4 participants