Skip to content

Commit

Permalink
Merge branch 'master' into bastian/master-into-memory-metering
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Apr 12, 2022
2 parents d1c8541 + 07c27c2 commit e660906
Show file tree
Hide file tree
Showing 592 changed files with 2,145 additions and 923 deletions.
16 changes: 0 additions & 16 deletions .github/release-drafter.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/release-drafter.yml

This file was deleted.

11 changes: 11 additions & 0 deletions codecov.yml
@@ -0,0 +1,11 @@
coverage:
status:
project:
default:
target: auto
threshold: 5%
informational: false
patch:
default:
target: 100%
informational: false
9 changes: 0 additions & 9 deletions docs/FAQ.md
Expand Up @@ -4,15 +4,6 @@

Yes, there is a [EBNF for Cadence](https://github.com/onflow/cadence/blob/master/docs/cadence.ebnf).

## How can we get syntax highlighting on GitHub?

Syntax highlighting for GitHub is implemented in the [`linguist`](https://github.com/github/linguist) library.
Linguist supports TextMate grammars, and we already have a [TextMate grammar for Cadence in the Visual Studio Code extension](https://github.com/onflow/vscode-flow/blob/master/syntaxes/cadence.tmGrammar.json).

However, GitHub ["[tries] to add new extensions once they have some usage on GitHub. In most cases [GitHub] prefer[s] that each new file extension be in use in at least 200 unique :user/:repo repositories before supporting them [...]"](https://github.com/github/linguist/blob/master/CONTRIBUTING.md#adding-an-extension-to-a-language).

Once we have reached this threshold for Cadence, we should add support for Cadence to linguist.

## How can I inject additional values when executing a transaction or script?

The runtime `Interface` functions `ExecuteTransaction` and `ExecuteScript` require a `Context` argument.
Expand Down

0 comments on commit e660906

Please sign in to comment.