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

add faucet output as var context #3685

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

pause125
Copy link
Collaborator

@pause125 pause125 commented Aug 23, 2022

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

  • mpm faucet 输出交易信息和结果,可以用来获取相关信息,比如获取接受 faucet 的地址。$.faucet[0].txn.raw_txn.decoded_payload.ScriptFunction.args[0]

Other information

@baichuan3
Copy link

从faucet中获取address给个示例呗

@pause125
Copy link
Collaborator Author

从faucet中获取address给个示例呗

前面 pr 说明里面有的

@codecov
Copy link

codecov bot commented Aug 23, 2022

Codecov Report

Merging #3685 (6c1bca8) into master (cb0549f) will decrease coverage by 0.23%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3685      +/-   ##
==========================================
- Coverage   28.86%   28.64%   -0.22%     
==========================================
  Files         588      588              
  Lines       50410    50411       +1     
  Branches    23656    23657       +1     
==========================================
- Hits        14544    14433     -111     
- Misses      21862    22190     +328     
+ Partials    14004    13788     -216     
Flag Coverage Δ
unittests 28.64% <0.00%> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
vm/starcoin-transactional-test-harness/src/lib.rs 0.15% <0.00%> (-<0.01%) ⬇️
...ccount_config/resources/module_upgrade_strategy.rs 25.72% <0.00%> (-17.14%) ⬇️
vm/types/src/language_storage_ext.rs 29.17% <0.00%> (-12.50%) ⬇️
vm/types/src/on_chain_config/vm_config.rs 35.00% <0.00%> (-10.00%) ⬇️
vm/types/src/transaction_metadata.rs 55.23% <0.00%> (-8.95%) ⬇️
vm/transaction-builder/src/lib.rs 14.43% <0.00%> (-8.31%) ⬇️
abi/decoder/src/lib.rs 1.46% <0.00%> (-7.29%) ⬇️
sync/src/block_connector/test_write_block_chain.rs 25.59% <0.00%> (-6.20%) ⬇️
network-rpc/core/src/lib.rs 20.00% <0.00%> (-6.00%) ⬇️
rpc/api/src/contract_api.rs 11.12% <0.00%> (-5.55%) ⬇️
... and 98 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb0549f...6c1bca8. Read the comment docs.

@jolestar jolestar merged commit c6634ad into starcoinorg:master Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants