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: evm signer - tryprocessout #1809

Merged
merged 29 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b2bd171
initial commit
kevinssgh Feb 23, 2024
c1aa5f7
fix lint errors
kevinssgh Feb 23, 2024
da6a663
Merge branch 'develop' into refactor-tryprocessout
kevinssgh Feb 26, 2024
2bcb9ba
add changelog entry
kevinssgh Feb 26, 2024
11ef7c5
fix e2e test case
kevinssgh Feb 26, 2024
92f5e8f
merge develop
kevinssgh Feb 26, 2024
2a440b8
merge develop
kevinssgh Feb 26, 2024
32e218d
update mocks and test files
kevinssgh Feb 28, 2024
53e87b9
fix tryprocessout test case
kevinssgh Feb 29, 2024
95b7f2f
complete evm_signer test cases and remove hardcoded private key
kevinssgh Feb 29, 2024
9715ef2
make generate and lint
kevinssgh Feb 29, 2024
1fe018f
Merge branch 'develop' into refactor-tryprocessout
kevinssgh Feb 29, 2024
6cfd6e9
print error in mock tss signer
kevinssgh Feb 29, 2024
3b8ce2a
integrate develop changes and fix test cases
kevinssgh Feb 29, 2024
68fff48
ran go imports
kevinssgh Feb 29, 2024
aca80ad
addressed comments
kevinssgh Mar 1, 2024
fd2e812
fix e2e test
kevinssgh Mar 1, 2024
51bfa74
addressed more comments
kevinssgh Mar 4, 2024
e69928e
Merge branch 'develop' into refactor-tryprocessout
kevinssgh Mar 4, 2024
8ab5ef0
fix unit tests
kevinssgh Mar 4, 2024
2401f3d
address comments
kevinssgh Mar 5, 2024
4289771
Merge branch 'develop' into refactor-tryprocessout
kevinssgh Mar 5, 2024
f8f83c5
renamed file
kevinssgh Mar 5, 2024
d1f1430
added test cases and converted SetTransactionData into constructor
kevinssgh Mar 6, 2024
908bc52
update comments
kevinssgh Mar 6, 2024
8b07017
Merge branch 'develop' into refactor-tryprocessout
kevinssgh Mar 6, 2024
a05f46d
add unit test
kevinssgh Mar 6, 2024
322ac2d
add more unit tests
kevinssgh Mar 6, 2024
b2fe4d3
Merge branch 'develop' into refactor-tryprocessout
kevinssgh Mar 6, 2024
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
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
* [1766](https://github.com/zeta-chain/node/pull/1766) - Refactors the `PostTxProcessing` EVM hook functionality to deal with invalid withdraw events
* [1630](https://github.com/zeta-chain/node/pull/1630) - added password prompts for hotkey and tss keyshare in zetaclient
* [1760](https://github.com/zeta-chain/node/pull/1760) - Make staking keeper private in crosschain module
* [1809](https://github.com/zeta-chain/node/pull/1809) - Refactored tryprocessout function in evm signer

### Fixes

Expand Down
5 changes: 3 additions & 2 deletions zetaclient/bitcoin/bitcoin_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ import (
crosschaintypes "github.com/zeta-chain/zetacore/x/crosschain/types"
observertypes "github.com/zeta-chain/zetacore/x/observer/types"
"github.com/zeta-chain/zetacore/zetaclient/testutils"
"github.com/zeta-chain/zetacore/zetaclient/testutils/stub"
)

func MockBTCClientMainnet() *BTCChainClient {
return &BTCChainClient{
chain: common.BtcMainnetChain(),
zetaClient: testutils.MockCoreBridge(),
Tss: testutils.NewMockTSSMainnet(),
zetaClient: stub.NewZetaCoreBridge(),
Tss: stub.NewTSSMainnet(),
}
}

Expand Down
3 changes: 2 additions & 1 deletion zetaclient/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ type Config struct {

func NewConfig() *Config {
return &Config{
cfgLock: &sync.RWMutex{},
cfgLock: &sync.RWMutex{},
EVMChainConfigs: make(map[int64]*EVMConfig),
}
}

Expand Down
Loading
Loading