Skip to content

Commit

Permalink
Update Thirdweb.Transactions.Tests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFirekeeper committed Apr 12, 2024
1 parent 130dfbd commit 19a8adb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Thirdweb.Tests/Thirdweb.Transactions.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,16 @@ public async Task EstimateTotalCosts_WithoutSetting_CalculatesCostsCorrectly()
Assert.NotEqual(BigInteger.Zero, costs.wei);
}

[Fact]
public async Task EstimateTotalCosts_WithoutValue_CalculatesCostsCorrectly()
{
var transaction = await CreateSampleTransaction();

var costs = await ThirdwebTransaction.EstimateTotalCosts(transaction);

Assert.NotEqual(BigInteger.Zero, costs.wei);
}

[Fact]
public async Task EstimateGasCosts_CalculatesCostsCorrectly()
{
Expand Down

0 comments on commit 19a8adb

Please sign in to comment.