File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ sleep 5
4747# If `VERIFIER_URL` is set, add the `--verify` flag to forge commands.
4848VERIFY_ARGS=()
4949if [[ -n " ${VERIFIER_URL:- } " ]]; then
50- VERIFY_ARGS+=(--verify)
50+ VERIFY_ARGS+=(--verify --retries 10 --delay 10 )
5151fi
5252
5353echo -e " \n=== FORGE SCRIPT DEPLOY ==="
Original file line number Diff line number Diff line change 1+ [profile .default ]
2+ src = " src"
3+ out = " out"
4+ libs = [" lib" ]
5+ ignored_error_codes = [2424 , 4591 ]
Original file line number Diff line number Diff line change @@ -237,12 +237,9 @@ impl InitArgs {
237237 fs:: write ( readme_path, include_str ! ( "../../assets/README.md" ) ) ?;
238238 }
239239
240- // write foundry.toml, if it doesn't exist already
241- let dest = root. join ( Config :: FILE_NAME ) ;
240+ // write foundry.toml
241+ fs :: write ( root. join ( Config :: FILE_NAME ) , include_str ! ( "../../assets/foundry.toml" ) ) ? ;
242242 let mut config = Config :: load_with_root ( & root) ?;
243- if !dest. exists ( ) {
244- fs:: write ( dest, config. clone ( ) . into_basic ( ) . to_string_pretty ( ) ?) ?;
245- }
246243 let git = self . install . git ( & config) ;
247244
248245 // set up the repo
You can’t perform that action at this time.
0 commit comments