Brice
Brice
In case this affects the solution to this issue, the actual limit on-chain is only 40 characters.
If you try to deploy a contract with name over 40 but less than 128, the main interface loads, but the cost estimate never does:
Clarinet's deployment plans allow for specifying these kind of sequences when working from the command line. Maybe that specification format could be reused in some way here. It would also...
Note - let's add a strict mode to publish, only succeeding if no warnings or errors.
Sounds a bit like https://github.com/hirosystems/clarinet/issues/463. We've been discussing enabling extensions using the ASTVisitor trait (see https://github.com/hirosystems/clarity-repl/blob/develop/src/analysis/ast_visitor.rs). I will work on this soon.
Ignore my last comment. I discussed with @lgalabru and now understand that defining a plugin in Rust is not what we're looking for here. We can just expose the AST...
Hi @MarvinJanssen. I have not been able to prioritize this yet. How urgent is your need?
I'm not really sure what kind of effort this will take. I have not looked at this code path yet. I'm going to take a look now...
I think the key task for this is going to be figuring out how to represent the AST in the JSON (which gets passed from Rust to Typescript).
Are the needs in this issue handled by #333?