foundry-rs / foundry-fork-db

Apache License 2.0
28 stars 9 forks source link

Public update state functions #10

Closed Ethanol48 closed 1 month ago

Ethanol48 commented 2 months ago

Motivation

In issue #6 was requested a public API for changing the state of the database,

Solution

Functions were implemented in SharedBackend and required some changes to the BackendHandler in order to implement the database changes. There's no breaking changes, but some edge cases must be tested.

There are some test to be written, like using a cache file, in the coming days I'll come up with a solution.

PR Checklist

No Breaking changes

Ethanol48 commented 2 months ago

Changing the CHANGELOG.md is pending.

Ethanol48 commented 2 months ago

Test involving a chache file is pending.

Ethanol48 commented 1 month ago

I'm having a problem with git cliff, I can't manage to have a different tag, is my first time using this tool, if someone could give me it would be great.

mattsse commented 1 month ago

changelog is updated automatically, no need to update it