mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-11-15 07:07:17 +00:00
Test balance deserialization
This commit is contained in:
3 files changed
+6
-2
No files matched your search
@@ -527,7 +527,7 @@ where
|
||||
&mut self,
|
||||
BalanceAssertion {
|
||||
address: address_string,
|
||||
amount,
|
||||
expected_balance: amount,
|
||||
}: &BalanceAssertion,
|
||||
node: &T::Blockchain,
|
||||
) -> anyhow::Result<()> {
|
||||
|
||||
@@ -57,7 +57,7 @@ pub struct BalanceAssertion {
|
||||
pub address: String,
|
||||
|
||||
/// The amount of balance to assert that the account or contract has.
|
||||
pub amount: U256,
|
||||
pub expected_balance: U256,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
|
||||
|
||||
Reference in new issue
Block a user