ant4g0nist / chinstrap Goto Github PK
View Code? Open in Web Editor NEWA development environment, testing framework, and origination pipeline focused solely on Tezos
License: MIT License
A development environment, testing framework, and origination pipeline focused solely on Tezos
License: MIT License
Describe the issue
Changing the structure of the originations object for better discoverability.
Examples
The current originations object is structured as follows:
{
"chinstrap": {
"networks": {
"development": {
"ce454cb23b49e96cd9190eed128ab4eb5e83bca865b3c3ef1c4ede0124ba5a0a": {
"orignation_hash": "ooDL2ymhse9ExVpJCV9M1xD54ACPXr7s7DQ2fejXTHz2jXmb94i",
"address": "KT1VuEMFcjJ1GnhVyg3LdfYbhKH7F7wo2u5B",
"name": "contract_name",
"date": "2022-08-16T11:22:48.104119"
},
}
}
}
}
For better discoverability I propose the following:
{
"chinstrap": {
"networks": {
"development": {
"<contract_name>": [
{
"hash": "ce454cb23b49e96cd9190eed128ab4eb5e83bca865b3c3ef1c4ede0124ba5a0a",
"orignation_hash": "ooDL2ymhse9ExVpJCV9M1xD54ACPXr7s7DQ2fejXTHz2jXmb94i",
"address": "KT1VuEMFcjJ1GnhVyg3LdfYbhKH7F7wo2u5B",
"name": "contract_name",
"date": "2022-08-16T11:22:48.104119"
}
]
}
}
}
}
At every run of chinstrap originate
, the script would check if a contract already exists at the corresponding index of the contract_name
array. For example, suppose you want to deploy two instances of nft_contract
to the sandbox and have two files in the originations/
folder:
The steps would be as follows:
chinstrap originate
, two instances will be originated and two corresponding objects will be appended to the array under chinstrap.networks.development.nft_contract
chinstrap.networks.development.nft_contract
, and simply returns the existing deployments.3_nft_contract_b.py
to the originations/
folder and run chinstrap originate
. The first two originations are skipped as per the logic above, but the third one is executed because the script detects nothing at index 3 of the nft_contract
array.Is there a chance to have a docker image so we can install it with a oneliner and without deps?
Any chances to use it to compile ligo contracts in some near feature?
Hi, I use chinstrap with docker as expressed in README via the following command:
docker run -v pwd
:/home --rm -it ant4g0nist/chinstrap
when I run the --originate option, chinstrap actually performs --test pytest command instead of originating contracts.
I have the same issue with other commands such as --debug or --network .
Describe the issue
The current released image is oxheadalpha/flextesa:20230607 and
SmatyPy version is v0.18.2
Version:
Test:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.