-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
Description
Which components does the task require to be changed? (think hard pls)
snforge
Description
replace_node_rpc_url_placeholders is called whenever a test package (from crates/forge/tests/data/) is being set up for a test. It then processes all the files inside that set up package, no matter their extension. Because of that, it searches for {{ NODE_RPC_URL }} in all of the project files, making unnecessary overhead - it should only read from files that have .cairo.template extension.
- Change function implementation to replace contents of only those files that have the
.cairo.templateextension. - Change extension of
.cairofiles in/crates/forge/tests/data/that contain{{ NODE_RPC_URL }}string to.cairo.template.
Original discussion here.
Search in code by TODO (#2074)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done