Switch writes to emit SpendValueInGasUnits as well as SpendValue in n… - #726
Conversation
|
👋 russell-stern, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
| func GetResponseMetadataWriteReport(fee *big.Float, chainSelector uint64) capabilities.ResponseMetadata { | ||
| // GetResponseMetadataWriteReport returns billing ResponseMetadata for a completed write-report | ||
| // submission. | ||
| func GetResponseMetadataWriteReport(feeInEth *big.Float, feeInWei *big.Int, chainSelector uint64) capabilities.ResponseMetadata { |
There was a problem hiding this comment.
For all GetResponseMetadataWriteReport, pass feeInWei and convert to legacy format in this method
Co-authored-by: Jordan Krage <jmank88@gmail.com>
| return nil, capabilities.ResponseMetadata{}, nil // should never happen | ||
| } | ||
|
|
||
| // buildPreSubmissionFatalReply evaluates node 0's failed tx and returns a fatal reply |
There was a problem hiding this comment.
do we still need this?
There was a problem hiding this comment.
I don't see it anywhere else in the codebase. The linter had it marked as unused
|
|
||
| func startTestHTTPServer(t *testing.T, handler http.Handler) (net.Listener, func()) { | ||
| listener, err := net.Listen("tcp", "127.0.0.1:0") | ||
| listener, err := new(net.ListenConfig).Listen(context.Background(), "tcp", "127.0.0.1:0") //nolint:noctx // test code |
There was a problem hiding this comment.
/nit use t.Context() instead of context.Background()
|
|
||
| func CreateWasmBinary(t *testing.T, goFile string, wasmFile string) { | ||
| cmd := exec.Command("go", "build", "-o", wasmFile, goFile) // #nosec | ||
| cmd := exec.CommandContext(context.Background(), "go", "build", "-o", wasmFile, goFile) //nolint:noctx,gosec // test code |
|


…ative tokens