Write state diff to CSV #2
@ -6,7 +6,6 @@ import (
|
||||
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"strings"
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
"time"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
@ -47,13 +46,13 @@ func (p *publisher) publishStateDiffToCSV(sd builder.StateDiff) (string, error)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
var data [][]string
|
||||
data = append(data, Headers)
|
||||
for _, row := range accumulateCreatedAccountRows(sd) {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for _, row := range accumulateAccountRows(sd, createdAccountAction) {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
data = append(data, row)
|
||||
}
|
||||
for _, row := range accumulateUpdatedAccountRows(sd) {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for _, row := range accumulateAccountRows(sd, updatedAccountAction) {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
data = append(data, row)
|
||||
}
|
||||
for _, row := range accumulateDeletedAccountRows(sd) {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for _, row := range accumulateAccountRows(sd, deletedAccountAction) {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
data = append(data, row)
|
||||
}
|
||||
|
||||
@ -67,81 +66,45 @@ func (p *publisher) publishStateDiffToCSV(sd builder.StateDiff) (string, error)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
return filePath, nil
|
||||
}
|
||||
|
||||
func accumulateUpdatedAccountRows(sd builder.StateDiff) [][]string {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var updatedAccountRows [][]string
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
func accumulateAccountRows(sd builder.StateDiff, accountAction string) [][]string {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var accountRows [][]string
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for accountAddr, accountDiff := range sd.UpdatedAccounts {
|
||||
formattedAccountData := formatAccountDiffIncremental(accountAddr, accountDiff, sd, updatedAccountAction)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
formattedAccountData := formatAccountData(accountAddr, accountDiff, sd, accountAction)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
updatedAccountRows = append(updatedAccountRows, formattedAccountData)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for _, accountData := range formattedAccountData {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountRows = append(accountRows, accountData)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
|
||||
return updatedAccountRows
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
return accountRows
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
|
||||
func accumulateDeletedAccountRows(sd builder.StateDiff) [][]string {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var deletedAccountRows [][]string
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for accountAddr, accountDiff := range sd.DeletedAccounts {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
formattedAccountData := formatAccountDiffEventual(accountAddr, accountDiff, sd, deletedAccountAction)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
deletedAccountRows = append(deletedAccountRows, formattedAccountData)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
return deletedAccountRows
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
func accumulateCreatedAccountRows(sd builder.StateDiff) [][]string {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var createdAccountRows [][]string
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for accountAddr, accountDiff := range sd.CreatedAccounts {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
formattedAccountData := formatAccountDiffEventual(accountAddr, accountDiff, sd, createdAccountAction)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
createdAccountRows = append(createdAccountRows, formattedAccountData)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
return createdAccountRows
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
func formatAccountDiffEventual(accountAddr common.Address, accountDiff builder.AccountDiff, sd builder.StateDiff, accountAction string) []string {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
func formatAccountData(accountAddr common.Address, accountDiff builder.AccountDiff, sd builder.StateDiff, accountAction string) [][]string {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
blockNumberString := strconv.FormatInt(sd.BlockNumber, 10)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
blockHash := sd.BlockHash.String()
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
codeHash := accountDiff.CodeHash
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
nonce := strconv.FormatUint(*accountDiff.Nonce.Value, 10)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
balance := accountDiff.Balance.Value.String()
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
newContractRoot := accountDiff.ContractRoot.Value
|
||||
var storageDiffPaths []string
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var storageValue builder.DiffString
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for k, v := range accountDiff.Storage {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
storageValue = v
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
storageDiffPaths = append(storageDiffPaths, k)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
address := accountAddr.String()
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var result [][]string
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for storagePath, storageValue := range accountDiff.Storage {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
formattedAccountData := []string{
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
blockNumberString,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
blockHash,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountAction,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
codeHash,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
nonce,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
balance,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
*newContractRoot,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
storagePath,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
address,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
*storageValue.Value,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
result = append(result, formattedAccountData)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
formattedAccountData := []string{
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
strconv.FormatInt(sd.BlockNumber, 10),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
sd.BlockHash.String(),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountAction,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountDiff.CodeHash,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
strconv.FormatUint(*accountDiff.Nonce.Value, 10),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountDiff.Balance.Value.String(),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
*newContractRoot,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
strings.Join(storageDiffPaths, ","),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountAddr.String(),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
*storageValue.Value,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
return formattedAccountData
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
return result
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
|
||||
func formatAccountDiffIncremental(accountAddr common.Address, accountDiff builder.AccountDiff, sd builder.StateDiff, accountAction string) []string {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
newContractRoot := accountDiff.ContractRoot.Value
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var storageDiffPaths []string
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
var storageValue builder.DiffString
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
for k, v := range accountDiff.Storage {
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
storageDiffPaths = append(storageDiffPaths, k)
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
storageValue = v
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
formattedAccountData := []string{
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
strconv.FormatInt(sd.BlockNumber, 10),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
sd.BlockHash.String(),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountAction,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountDiff.CodeHash,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
strconv.FormatUint(*accountDiff.Nonce.Value, 10),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountDiff.Balance.Value.String(),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
*newContractRoot,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
strings.Join(storageDiffPaths, ","),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
accountAddr.String(),
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
*storageValue.Value,
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
return formattedAccountData
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
}
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
||||
|
||||
And then I think the And then I think the `_` here could be captured to publish the address
And then I think the And then I think the `_` here could be captured to publish the address
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
I'm a little confused about how this works - isn't I'm a little confused about how this works - isn't `accountDiff.Storage` a map? Does `k` capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the data
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
Yep, good call - Yep, good call - `k` is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌
|
And then I think the
_
here could be captured to publish the addressAnd then I think the
_
here could be captured to publish the addressI'm a little confused about how this works - isn't
accountDiff.Storage
a map? Doesk
capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the dataI'm a little confused about how this works - isn't
accountDiff.Storage
a map? Doesk
capture the key and value? Thinking we probably want both of those so that we can parse the new value and associate it with the corresponding key when consuming the dataYep, good call -
k
is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌Yep, good call -
k
is just capturing the path to the storage value. I think I'll want both the key and the value when I add the storage value to the csv 👌