Skip to content

Commit

Permalink
Remove store
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastijankuzner committed Nov 28, 2024
1 parent a0cf029 commit 0556dec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/api-evm/source/actions/eth-get-block-by-hash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ export class EthGetBlockByHashAction implements Contracts.Api.RPC.Action {
@inject(Identifiers.Application.Instance)
private readonly app!: Contracts.Kernel.Application;

@inject(Identifiers.State.Store)
private readonly stateStore!: Contracts.State.Store;

@inject(Identifiers.Database.Service)
private readonly databaseService!: Contracts.Database.DatabaseService;

Expand All @@ -22,7 +19,7 @@ export class EthGetBlockByHashAction implements Contracts.Api.RPC.Action {
maxItems: 2,
minItems: 2,

prefixItems: [{ $ref: "prefixedHex" }, { type: "boolean" }],
prefixItems: [{ $ref: "prefixedHex" }, { type: "boolean" }], // TODO: Replace prefixedHex with prefixedBlockId
type: "array",
};

Expand Down

0 comments on commit 0556dec

Please sign in to comment.