Skip to content

Commit fff1df9

Browse files
committed
Merge branch 'master' into powerslider/4386-migrate-customrawdb-coreth
2 parents bf62dfb + 63cc1a1 commit fff1df9

File tree

26 files changed

+958
-62
lines changed

26 files changed

+958
-62
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
To start developing on AvalancheGo, you'll need a few things installed.
66

7-
- Golang version >= 1.24.7
7+
- Golang version >= 1.24.8
88
- gcc
99
- g++
1010

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The minimum recommended hardware specification for nodes connected to Mainnet is
2323

2424
If you plan to build AvalancheGo from source, you will also need the following software:
2525

26-
- [Go](https://golang.org/doc/install) version >= 1.24.7
26+
- [Go](https://golang.org/doc/install) version >= 1.24.8
2727
- [gcc](https://gcc.gnu.org/)
2828
- g++
2929

connectproto/pb/proposervm/proposervmconnect/service.connect.go

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

connectproto/pb/proposervm/service.pb.go

Lines changed: 119 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

connectproto/proposervm/service.proto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ service ProposerVM {
99
// GetProposedHeight returns the P-Chain height that would be included in a
1010
// block if it were proposed right now.
1111
rpc GetProposedHeight(GetProposedHeightRequest) returns (GetProposedHeightReply);
12+
// GetCurrentEpoch returns the epoch that would be included in a block if it
13+
// were proposed right now.
14+
rpc GetCurrentEpoch(GetCurrentEpochRequest) returns (GetCurrentEpochReply);
1215
}
1316

1417
// Request to get the current proposed block height.
@@ -20,3 +23,16 @@ message GetProposedHeightReply {
2023
// right now.
2124
uint64 height = 1;
2225
}
26+
27+
// Request to get the current epoch.
28+
message GetCurrentEpochRequest {}
29+
30+
// Response containing the current epoch.
31+
message GetCurrentEpochReply {
32+
// Number of the current epoch.
33+
uint64 number = 1;
34+
// P-chain height which used to verify ICM messages for this epoch.
35+
uint64 p_chain_height = 2;
36+
// Start time of this epoch in Unix time (seconds).
37+
int64 start_time = 3;
38+
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module github.com/ava-labs/avalanchego
1313
//
1414
// - If updating between minor versions (e.g. 1.24.x -> 1.25.x):
1515
// - Consider updating the version of golangci-lint (see tools/go.mod)
16-
go 1.24.7
16+
go 1.24.8
1717

1818
require (
1919
connectrpc.com/connect v1.18.1

nix/go.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ let
1919
};
2020

2121
# Update the following to change the version:
22-
goVersion = "1.24.7";
22+
goVersion = "1.24.8";
2323
goSHA256s = {
24-
"linux-amd64" = "da18191ddb7db8a9339816f3e2b54bdded8047cdc2a5d67059478f8d1595c43f";
25-
"linux-arm64" = "fd2bccce882e29369f56c86487663bb78ba7ea9e02188a5b0269303a0c3d33ab";
26-
"darwin-amd64" = "138b6be2138e83d2c90c23d3a2cc94fcb11864d8db0706bb1d1e0dde744dc46a";
27-
"darwin-arm64" = "d06bad763f8820d3e29ee11f2c0c71438903c007e772a159c5760a300298302e";
24+
"linux-amd64" = "6842c516ca66c89d648a7f1dbe28e28c47b61b59f8f06633eb2ceb1188e9251d";
25+
"linux-arm64" = "38ac33b4cfa41e8a32132de7a87c6db49277ab5c0de1412512484db1ed77637e";
26+
"darwin-amd64" = "ecb3cecb1e0bcfb24e50039701f9505b09744cc4730a8b9fc512b0a3b47cf232";
27+
"darwin-arm64" = "0db27ff8c3e35fd93ccf9d31dd88a0f9c6454e8d9b30c28bd88a70b930cc4240";
2828
};
2929

3030
targetSystem = parseSystem pkgs.system;

0 commit comments

Comments
 (0)