Skip to content

Release v1.9.0#182

Closed
brunobar79 wants to merge 1 commit intodevelopfrom
v1.9.0
Closed

Release v1.9.0#182
brunobar79 wants to merge 1 commit intodevelopfrom
v1.9.0

Conversation

@brunobar79
Copy link
Contributor

No description provided.

@brunobar79 brunobar79 closed this Nov 15, 2019
@brunobar79 brunobar79 deleted the v1.9.0 branch November 15, 2019 16:23
Mrtenz pushed a commit that referenced this pull request Oct 16, 2025
* Refactor function to get cache identifier

The function `cacheIdentifierForPayload` has been renamed to
`cacheIdentifierForRequest`, and refactored to accept a JSON-RPC
request rather than the `Payload` type.

The function `paramsWithoutBlockTag` has been updated to accept a JSON-
RPC request rather than a `Payload` as well. I noticed that this
function wasn't being used anywhere, so the `export` was removed as
well.

The `block-cache` and `inflight-cache` middleware required some
internal updates to accomodate these type changes. No functional
changes or external-facing type changes have been made.

Documentation and tests have been added. This brings test coverage for
`cache.ts` up to 100%.

Relates to #176 in that it helps unblock the necessary changes.

* Make `method` parameter mandatory for cache utility functions

The `method` parameter is now mandatory for the cache utility
functions. It was only made optional in the first place as a side-
effect of an erroneous type that was being used (`Payload`), which has
now been replaced.

* Remove leftover merge marger
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.

1 participant