Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Batch initialization of RelayProvider in deployment #128

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

scnale
Copy link
Collaborator

@scnale scnale commented Mar 30, 2023

This PR adds interfaces for batch updates of several state attributes in the RelayProvider and a function that allows setting the entire state (minus irrelevant internal structures like initialized mapping for upgrades) in one call.

This reduces the typical deployment of a RelayProvider instance in a given chain to just two transactions.

@scnale scnale requested review from JoeHowarth and derpy-duck March 30, 2023 00:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant