An open API service indexing awesome lists of open source software.

https://github.com/rjected/greeter-test


https://github.com/rjected/greeter-test

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# greeter-test

Used for testing [forge scripting](https://github.com/foundry-rs/foundry/pull/1208) - deploy the `GreeterV1337` contract with:
```
forge script ./src/test/GreeterV1337.t.sol -i 1 --tc GreeterTest --sig "deployGreeter()" --fork-url --execute
```

Additionally, [GreeterV1337.t.sol](./src/test/GreeterV1337.t.sol) would need to be changed to include the address you'd like to broadcast the deploy transaction from.

```
// __ ___ ___
// /'_ `\ /' __` __`\
// /\ \L\ \ /\ \/\ \/\ \
// \ \____ \ \ \_\ \_\ \_\
// \/___L\ \ \/_/\/_/\/_/
// /\____/
// \_/__/
```