Skip to content

Commit 99e57c9

Browse files
committed
Change method name to TransactionResultWithBVP
1 parent 7b1eb9b commit 99e57c9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/AElf.WebApp.Application.Chain/Services/TransactionResultAppService.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public interface ITransactionResultAppService
2525
{
2626
Task<TransactionResultDto> GetTransactionResultAsync(string transactionId);
2727

28-
Task<TransactionResultDto> GetTransactionResultV2Async(string transactionId);
28+
Task<TransactionResultDto> GetTransactionResultWithBVPAsync(string transactionId);
2929

3030
Task<List<TransactionResultDto>> GetTransactionResultsAsync(string blockHash, int offset = 0,
3131
int limit = 10);
@@ -127,7 +127,7 @@ await _transactionResultProxyService.InvalidTransactionResultService.GetInvalidT
127127
/// </summary>
128128
/// <param name="transactionId">transaction id</param>
129129
/// <returns></returns>
130-
public async Task<TransactionResultDto> GetTransactionResultV2Async(string transactionId)
130+
public async Task<TransactionResultDto> GetTransactionResultWithBVPAsync(string transactionId)
131131
{
132132
Hash transactionIdHash;
133133
try

test/AElf.WebApp.Application.Chain.Tests/BlockChainAppServiceTest.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ public async Task Get_TransactionResult_Success_Test()
687687
}
688688

689689
[Fact]
690-
public async Task Get_TransactionResultV2_Expired_Test()
690+
public async Task Get_TransactionResultWithBVP_Expired_Test()
691691
{
692692
// Generate a transaction
693693
var transaction = await _osTestHelper.GenerateTransferTransaction();
@@ -701,7 +701,7 @@ public async Task Get_TransactionResultV2_Expired_Test()
701701

702702
// Check transaction status
703703
var response = await GetResponseAsObjectAsync<TransactionResultDto>(
704-
$"/api/blockChain/transactionResultV2?transactionId={transactionHex}");
704+
$"/api/blockChain/transactionResultWithBVP?transactionId={transactionHex}");
705705
response.StatusWithBVP.ShouldBe(TransactionResultStatus.Expired.ToString().ToUpper());
706706
}
707707

0 commit comments

Comments
 (0)