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: merge main into dev #205

Open
wants to merge 20 commits into
base: dev
Choose a base branch
from
Open

chore: merge main into dev #205

wants to merge 20 commits into from

Conversation

MegaRedHand
Copy link
Contributor

No description provided.

TomasArrachea and others added 15 commits December 17, 2024 17:25
Implement `send_tx_with_retries` to the Simple TxManager that sends a
transaction and retries using Exponential Backoff
This PR implements the method taken from Go SDK repo:
``` go
        func (r *ChainReader) QueryRegistrationDetail(
        opts *bind.CallOpts,
        operatorAddress common.Address,
        ) ([]bool, error) {
            operatorId, err := r.GetOperatorId(opts, operatorAddress)
            if err != nil {
                return nil, err
            }
            value, err := r.registryCoordinator.GetCurrentQuorumBitmap(opts, operatorId)
            if err != nil {
                return nil, err
            }
            numBits := value.BitLen()
            var quorums []bool
            for i := 0; i < numBits; i++ {
                quorums = append(quorums, value.Int64()&(1<<i) != 0)
            }
            return quorums, nil
        }
```

---------

Co-authored-by: supernovahs <[email protected]>
Co-authored-by: tomasarrachea <[email protected]>
Co-authored-by: Pablo Deymonnaz <[email protected]>
Co-authored-by: supernovahs <[email protected]>
Co-authored-by: supernovahs <[email protected]>
Co-authored-by: Tomás Grüner <[email protected]>
Co-authored-by: Pablo Deymonnaz <[email protected]>
Co-authored-by: Tomás Grüner <[email protected]>
Co-authored-by: supernovahs <[email protected]>
Co-authored-by: supernovahs <[email protected]>
Co-authored-by: supernovahs <[email protected]>
Co-authored-by: Tomás Grüner <[email protected]>
I run into some problems when running the tests locally. This PR adds
the way I solved those, for future contributors.
Co-authored-by: Tomas <[email protected]>
Co-authored-by: Pablo Deymonnaz <[email protected]>
Co-authored-by: supernovahs <[email protected]>
@MegaRedHand MegaRedHand marked this pull request as ready for review January 9, 2025 15:59
@MegaRedHand MegaRedHand marked this pull request as draft January 9, 2025 19:18
@MegaRedHand MegaRedHand marked this pull request as ready for review January 9, 2025 20:49
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.

4 participants