https://github.com/rjected/greeter-test
https://github.com/rjected/greeter-test
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rjected/greeter-test
- Owner: Rjected
- License: mit
- Created: 2022-04-22T18:54:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-12T13:38:46.000Z (about 4 years ago)
- Last Synced: 2025-02-09T03:14:49.221Z (over 1 year ago)
- Language: Solidity
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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\ \ \/_/\/_/\/_/
// /\____/
// \_/__/
```