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

v1.27.2 changes #12159

Merged
merged 8 commits into from
Jul 10, 2024
Merged

v1.27.2 changes #12159

merged 8 commits into from
Jul 10, 2024

Conversation

@rvagg rvagg marked this pull request as draft June 27, 2024 09:16
@rvagg
Copy link
Member Author

rvagg commented Jul 3, 2024

Pulled in #12135

@rvagg rvagg marked this pull request as ready for review July 3, 2024 02:36
@rvagg rvagg changed the title [WIP] v1.27.2 changes v1.27.2 changes Jul 3, 2024
build/version.go Outdated
@@ -39,7 +39,7 @@ func BuildTypeString() string {
}

// NodeBuildVersion is the local build version of the Lotus daemon
const NodeBuildVersion string = "1.27.1"
const NodeBuildVersion string = "1.27.2-dev"
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we sure we don't need to change MinerBuildVersion here @rjan90 ? I think not because I don't see any Miner related changes in this PR but wanted to confirm.

Copy link
Contributor

@aarshkshah1992 aarshkshah1992 left a comment

Choose a reason for hiding this comment

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

couple of comments but otherwise lgtm.

aarshkshah1992 and others added 7 commits July 10, 2024 12:42
… eth_get_log blocks till requested tipset has been indexed (#12080)

* record seen event epochs

* create correct index

* migrate to version 6

* fix typo

* test both conditions

* changes as per review

* record reverted tipsets

* see if tipsets has events and has not been reverted

* sub/unsub tipset updates from the index

* eth_get_logs should wait for events

* fix naming

* changes as per review

* solve issue with missing events

* use correct var

* changes as per review

* add unique constraint

* fix test wait

* check for events at min_height as well

* Apply suggestions from code review

Co-authored-by: Rod Vagg <[email protected]>

* reduce duplication

---------

Co-authored-by: Rod Vagg <[email protected]>
* feat: api: sanity check the "to" address of outgoing messages

If the "to" address of an outgoing message is a _delegated_ address,
verify that it maps to a valid Ethereum address. This isn't a consensus
critical change, but it'll help prevent client-side address conversion
libraries from directing messages into oblivion (e.g., by
mis-translating `0xff0000....` addresses into `f410f...` addresses
instead of `f0...` addresses.

* tests for invalid delegated addresses

* fix lint

---------

Co-authored-by: aarshkshah1992 <[email protected]>
Move the rest of the replace's to the front of go.mod for visibility
Update bootstrap list to support both IPv4 and IPv6
…12110)

* add support for eth_getBlockByNumber to accept the term safe which we are using as 30 blocks

* fix lint catch of unnecessary cast

* add finalized to get block by number

* Update chain/types/ethtypes/eth_types.go

Co-authored-by: Rod Vagg <[email protected]>

* add test for eth get block by number to accept latest and safe and finalized as arguments

---------

Co-authored-by: Rod Vagg <[email protected]>
@rvagg rvagg merged commit 2a383f1 into release/v1.27.2 Jul 10, 2024
87 checks passed
@rvagg rvagg deleted the rvagg/v1.27.2 branch July 10, 2024 03:09
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.

7 participants