Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: resolve function name of ExecutionFailure in transaction detail #170

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"StateRootHash": "State Root Hash",
"Status": "Status",
"Sender": "Sender",
"FailureFunctionName": "Executtion Failure Function",
"FunctionModuleAddress": "Contract Address",
"FunctionModuleName": "Module Name",
"FunctionName": "Function Name",
Expand Down Expand Up @@ -177,4 +178,4 @@
"holderList": "Token Holders List",
"transactionList": "Token Transactions List"
}
}
}
3 changes: 2 additions & 1 deletion public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"StateRootHash": "根哈希",
"Status": "状态",
"Sender": "发送方",
"FailureFunctionName": "执行失败函数名",
"FunctionModuleAddress": "合约地址",
"FunctionModuleName": "模块名",
"FunctionName": "函数名",
Expand Down Expand Up @@ -177,4 +178,4 @@
"holderList": "代币持有者列表",
"transactionList": "代币交易列表"
}
}
}
3 changes: 2 additions & 1 deletion src/modules/Transactions/components/Detail/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ const selector = createSelector(

export default connect(selector, {
getTransaction: actions.getTransaction,
})(Index as any) as any;
getModuleFunctionIndex: actions.getModuleFunctionIndex,
})(Index as any) as any;
Loading