Skip to content

Commit

Permalink
fix chainid
Browse files Browse the repository at this point in the history
  • Loading branch information
ak88 committed Sep 12, 2024
1 parent b347664 commit caed2f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected virtual Task InitBlockchain()

IStateReader stateReader = setApi.StateReader!;
PreBlockCaches? preBlockCaches = (_api.WorldState as IPreBlockCaches)?.Caches;
CodeInfoRepository codeInfoRepository = new(1, preBlockCaches?.PrecompileCache);
CodeInfoRepository codeInfoRepository = new(_api.SpecProvider!.ChainId, preBlockCaches?.PrecompileCache);
ITxPool txPool = _api.TxPool = CreateTxPool(_api.WorldState!, codeInfoRepository);

ReceiptCanonicalityMonitor receiptCanonicalityMonitor = new(getApi.ReceiptStorage, _api.LogManager);
Expand Down

0 comments on commit caed2f3

Please sign in to comment.