Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@

### Fixed

- [#6577](https://github.com/ChainSafe/forest/issues/6577): Fixed `Filecoin.EthGetBalance` compatibility issue with Lotus Gateway.

- [#6551](https://github.com/ChainSafe/forest/pull/6551): Fixed `ErrExecutionReverted` JSONRPCError conversion error with Lotus Gateway.

## Forest v0.32.0 "Ember"
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/api_compare/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ services:
- |
set -euxo pipefail
export FULLNODE_API_INFO="$(cat /data/forest-token):/dns/forest/tcp/${FOREST_RPC_PORT}/http"
lotus-gateway run --api-max-lookback 72000h --listen 0.0.0.0:${FOREST_VIA_GATEWAY_RPC_PORT}
lotus-gateway run --api-max-lookback 72000h --api-wait-lookback-limit 2000 --listen 0.0.0.0:${FOREST_VIA_GATEWAY_RPC_PORT}
healthcheck:
test: |
export FULLNODE_API_INFO="/dns/forest-via-gateway/tcp/${FOREST_VIA_GATEWAY_RPC_PORT}/http"
Expand Down
8 changes: 1 addition & 7 deletions scripts/tests/api_compare/filter-list-gateway
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
!Filecoin.ChainSetHead
!Filecoin.ChainStatObj
!Filecoin.ChainTipSetWeight
!Filecoin.EthGetBlockReceiptsLimited
!Filecoin.F3
!Filecoin.GasEstimateGasLimit
!Filecoin.MinerCreateBlock
Expand Down Expand Up @@ -56,12 +57,5 @@

# broken
!Filecoin.EthCall
!Filecoin.EthGetBalance
!Filecoin.EthGetBlockReceipts
!Filecoin.EthGetBlockReceiptsLimited
!Filecoin.EthGetFilterLogs
!Filecoin.EthGetTransactionByHash
!Filecoin.EthGetTransactionReceipt
!Filecoin.StateSearchMsg
!Filecoin.StateWaitMsg
!Filecoin.EthSyncing
2 changes: 1 addition & 1 deletion src/rpc/log_layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl<S> Logging<S> {
F: Future<Output = MethodResponse>,
{
// Avoid performance overhead if DEBUG level is not enabled.
if !tracing::enabled!(tracing::Level::DEBUG) {
if !Self::log_enabled() {
return future.await;
}

Expand Down
1 change: 1 addition & 0 deletions src/rpc/methods/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ pub struct BlockNumber {
#[serde(rename_all = "camelCase")]
pub struct BlockHash {
block_hash: EthHash,
#[serde(default)]
require_canonical: bool,
}

Expand Down
2 changes: 1 addition & 1 deletion src/rpc/snapshots/forest__rpc__tests__rpc__v0.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/rpc/snapshots/forest__rpc__tests__rpc__v1.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/rpc/snapshots/forest__rpc__tests__rpc__v2.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading