-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: normalize manifest files and use the manifest description p…
…roperty for metadata parsing
- Loading branch information
1 parent
a6ec5dc
commit 0b89897
Showing
37 changed files
with
224 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.cache | ||
.cache | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
{ | ||
"deno.enable": true, | ||
"files.eol": "\n" | ||
"deno.enable": true, | ||
"files.eol": "\n" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
|
||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "check contracts", | ||
"group": "test", | ||
"type": "shell", | ||
"command": "clarinet check" | ||
}, | ||
{ | ||
"label": "test contracts", | ||
"group": "test", | ||
"type": "shell", | ||
"command": "clarinet test" | ||
} | ||
] | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "check contracts", | ||
"group": "test", | ||
"type": "shell", | ||
"command": "clarinet check" | ||
}, | ||
{ | ||
"label": "test contracts", | ||
"group": "test", | ||
"type": "shell", | ||
"command": "clarinet test" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
178 changes: 0 additions & 178 deletions
178
examples/city-coin/contracts/newyorkcitycoin-token-v2.clar
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
**/settings/Mainnet.toml | ||
**/settings/Testnet.toml | ||
.cache/** | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[project] | ||
name = "citycoin" | ||
description = "A real-world use case demonstrates the proof of transfer of New York City Coins from one account to another." | ||
authors = [] | ||
telemetry = true | ||
cache_dir = "./.cache" | ||
|
||
[[project.requirements]] | ||
contract_id = "SP466FNC0P7JWTNM2R9T199QRZN1MYEDTAR0KP27.citycoin-token-trait" | ||
[[project.requirements]] | ||
contract_id = "SP466FNC0P7JWTNM2R9T199QRZN1MYEDTAR0KP27.citycoin-core-trait" | ||
[[project.requirements]] | ||
contract_id = "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard" | ||
[[project.requirements]] | ||
contract_id = "SP2H8PY27SEZ03MWRKS5XABZYQN17ETGQS3527SA5.newyorkcitycoin-auth" | ||
|
||
[contracts.newyorkcitycoin-token-v2] | ||
path = "contracts/newyorkcitycoin-token-v2.clar" | ||
clarity_version = 1 | ||
|
||
[repl.analysis] | ||
passes = ["check_checker"] | ||
|
||
[repl.analysis.check_checker] | ||
strict = false | ||
trusted_sender = false | ||
trusted_caller = false | ||
callee_filter = false |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { | ||
Clarinet, | ||
Tx, | ||
Chain, | ||
Account, | ||
types, | ||
} from "https://deno.land/x/[email protected]/index.ts"; | ||
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts"; | ||
|
||
// TODO | ||
|
||
Clarinet.test({ | ||
name: "Ensure that <...>", | ||
async fn(chain: Chain, accounts: Map<string, Account>) { | ||
let block = chain.mineBlock([ | ||
/* | ||
* Add transactions with: | ||
* Tx.contractCall(...) | ||
*/ | ||
]); | ||
assertEquals(block.receipts.length, 0); | ||
assertEquals(block.height, 2); | ||
|
||
block = chain.mineBlock([ | ||
/* | ||
* Add transactions with: | ||
* Tx.contractCall(...) | ||
*/ | ||
]); | ||
assertEquals(block.receipts.length, 0); | ||
assertEquals(block.height, 3); | ||
}, | ||
}); |
Oops, something went wrong.