.yaml test Filler format
See original GitHub issueI’ve studied yaml format and could tell that a test format could look like this:
#description of a test
---
add12:
env:
currentCoinbase: 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
currentDifficulty: '0x20000'
currentGasLimit: '1000000'
currentNumber: '1'
currentTimestamp: '1000'
previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6
expect:
- indexes:
data: !!int -1
gas: !!int -1
value: !!int -1
network:
- ALL
result:
#explanation why we expect such a result here
095e7baea6a6c7c4c2dfeb977efac326af552d87:
balance: '1000000000000100000'
code: '0x6001600101600055'
storage:
0x: '0x02'
2adc25665018aa1fe0e6bc666dac8fc2697ff9ba:
balance: '41012'
code: 0x
nonce: '0'
storage: {}
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
balance: '999999999999858988'
code: 0x
nonce: '1'
storage: {}
pre:
095e7baea6a6c7c4c2dfeb977efac326af552d87:
balance: '1000000000000000000'
code: '0x6001600101600055'
nonce: '0'
storage: {}
a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
balance: '1000000000000000000'
code: >-
multiline solididy
or whatever code here
nonce: '0'
storage: {}
transaction:
data:
#description of a data field
- ''
gasLimit:
- '400000'
gasPrice: '1'
nonce: '0'
secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8
to: 095e7baea6a6c7c4c2dfeb977efac326af552d87
value:
- '100000'
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
YAML Tutorial: Everything You Need to Get Started in Minutes
This YAML tutorial will demonstrate the language syntax with a guide and some simple coding examples ... Our test program processes this as:...
Read more >3 YAML tips for better pipelines - GitLab
YAML tip #2: Keep it simple ... It's easy to overwhelm the minimalism of a YAML file by including too many details, or...
Read more >Introduction to YAML: Creating a Kubernetes deployment
YAML is a human-readable text-based format that lets you easily specify configuration-type information by using a combination of maps of name- ...
Read more >Platform.yaml file format - AWS Elastic Beanstalk
Platform.yaml file format. PDF. The platform.yaml file has the following format. version: " version-number " provisioner: type: provisioner-type template: ...
Read more >The state of config file formats: XML vs. YAML vs. JSON vs. HCL
Disadvantages of YAML · Indentation format is prone to syntax and validation errors. · Portability with certain types may not exist due to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Implemented