Bridge cost accounting and the wallet

Description

Now that cost accounting is stable, and we have a working implementation of the wallet design, we can link cost accounting and wallets.

The goal of this epic is to provide an initialization wrapper around the user's source code that first checks to ensure the user has enough Rev to pay for the gas specified in the deploy, and (if successful) transfers that amount into the PoS contract.

Work in this epic also includes updating existing tests, developing new tests, and removing deprecated code once the goal of this epic is complete.

Status

Assignee

Artur Gajowy

Reporter

Joseph Denman

Components

Story Points

None

Sprint

Priority

Medium

Epic Name

Bridge cost accounting and the wallet