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

chore: send one msg per tx if batch of msgs fails #98

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1aed9a0
chore: init of copying relayer msgs
RafilxTenfen Jan 17, 2025
c8f253a
chore: build message complete
RafilxTenfen Jan 18, 2025
7622a46
Merge branch 'main' of github.com:babylonlabs-io/covenant-emulator in…
RafilxTenfen Jan 20, 2025
df5f9ed
chore: trytest with acc sequence increment
RafilxTenfen Jan 21, 2025
fe84b51
chore: passing with account sequence
RafilxTenfen Jan 21, 2025
f0296c8
fix: lint
RafilxTenfen Jan 21, 2025
530b7e1
chore: add #98 to changelog
RafilxTenfen Jan 21, 2025
614717d
fix: sending with acc number
RafilxTenfen Jan 21, 2025
b36e916
fix: panic
RafilxTenfen Jan 21, 2025
1e149e0
chore: add errgroup
RafilxTenfen Jan 21, 2025
5bb0789
fix: finally signing
RafilxTenfen Jan 21, 2025
2ecb65a
fix: lint and notes
RafilxTenfen Jan 21, 2025
502cf0e
chore: remove split of e2e test runs, failing to start
RafilxTenfen Jan 21, 2025
81f31d3
chore: split e2e run on covenant emulator
RafilxTenfen Jan 21, 2025
430ed8b
chore: remove login docker
RafilxTenfen Jan 21, 2025
130e627
fix: wait group failure
RafilxTenfen Jan 21, 2025
184c4eb
chore: set permissions at the job level
RafilxTenfen Jan 21, 2025
463c313
chore: solve function closure of vars
RafilxTenfen Jan 21, 2025
18ab8ce
fix: lint call add prior to go routine
RafilxTenfen Jan 21, 2025
64fb043
chore: set to run a single message at a time
RafilxTenfen Jan 21, 2025
3980368
tryfix: e2e test wait group
RafilxTenfen Jan 21, 2025
91a7da1
chore: add option to start covenant emulator
RafilxTenfen Jan 21, 2025
960a88c
chore: refactory to return an slice of tx response
RafilxTenfen Jan 21, 2025
df8759b
test: modified to use multiple txs for checking
RafilxTenfen Jan 21, 2025
5994bc1
chore: rollback to use batch first
RafilxTenfen Jan 21, 2025
2114a6e
chore: increase exec time
RafilxTenfen Jan 21, 2025
a78b025
chore: remove opt to remote signer, should always use remote signer (…
RafilxTenfen Jan 29, 2025
9a9453b
chore: small refactor, need to have more public funcs in babylonclient
RafilxTenfen Jan 29, 2025
d7c709d
Merge branch 'main' of github.com:babylonlabs-io/covenant-emulator in…
RafilxTenfen Feb 17, 2025
efb3b43
chore: bump babylon to v1.0.0-rc.6
RafilxTenfen Feb 18, 2025
4e48e7c
chore: refactory send multiple msgs as tx
RafilxTenfen Feb 19, 2025
f30a3e1
chore: reduce code duplication
RafilxTenfen Feb 19, 2025
b2bc2ad
fix: lint removed unused
RafilxTenfen Feb 19, 2025
082eb53
chore: set to send one msg per tx if the batch fails
RafilxTenfen Feb 19, 2025
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
Next Next commit
chore: init of copying relayer msgs
  • Loading branch information
RafilxTenfen committed Jan 17, 2025
commit 1aed9a07274d2f7c74b7d49b1d2cb4a25ba7bdee
16 changes: 16 additions & 0 deletions clientcontroller/babylon.go
Original file line number Diff line number Diff line change
@@ -156,6 +156,22 @@ func (bc *BabylonController) reliablySendMsgs(msgs []sdk.Msg) (*provider.Relayer
)
}

func (bc *BabylonController) reliablySendMsgsAsMultipleTxs(msgs []sdk.Msg) (*provider.RelayerTxResponse, error) {
// ctx := context.Background()

// c := bc.bbnClient.GetConfig()
// c.acc

return nil, nil
// bc.bbnClient.SendMsgToMempool()
// return bc.bbnClient.ReliablySendMsgs(
// context.Background(),
// msgs,
// expectedErrors,
// unrecoverableErrors,
// )
}

// SubmitCovenantSigs submits the Covenant signature via a MsgAddCovenantSig to Babylon if the daemon runs in Covenant mode
// it returns tx hash and error
func (bc *BabylonController) SubmitCovenantSigs(covSigs []*types.CovenantSigs) (*types.TxResponse, error) {
Loading
Loading