Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bold/api/backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strconv"
"strings"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
Expand Down
2 changes: 1 addition & 1 deletion bold/assertions/confirmation.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/log"
Expand Down
2 changes: 1 addition & 1 deletion bold/assertions/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"sync"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
Expand Down
2 changes: 1 addition & 1 deletion bold/assertions/poster.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"math/big"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum/log"
Expand Down
2 changes: 1 addition & 1 deletion bold/challenge/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
Expand Down
2 changes: 1 addition & 1 deletion bold/challenge/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package challenge
import (
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum/common"

Expand Down
2 changes: 1 addition & 1 deletion bold/challenge/tracker/challenge_confirmation.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
Expand Down
2 changes: 1 addition & 1 deletion bold/commitment/history/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import (
"errors"
"fmt"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
Expand Down
2 changes: 1 addition & 1 deletion bold/commitment/legacy/legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"errors"
"sync"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum/common"

Expand Down
2 changes: 1 addition & 1 deletion bold/commitment/proof/prefix/prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ import (
"math"
"math/bits"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum/common"
Expand Down
2 changes: 1 addition & 1 deletion bold/protocol/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"regexp"
"strconv"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
Expand Down
2 changes: 1 addition & 1 deletion bold/protocol/sol/assertion_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"strings"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum"
Expand Down
2 changes: 1 addition & 1 deletion bold/protocol/sol/edge_challenge_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"math/big"
"strings"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum/accounts/abi"
Expand Down
2 changes: 1 addition & 1 deletion bold/protocol/sol/transact.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math/big"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/pkg/errors"

"github.com/ethereum/go-ethereum"
Expand Down
2 changes: 1 addition & 1 deletion bold/state/history_commitment_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strconv"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
Expand Down
2 changes: 1 addition & 1 deletion bold/testing/casttest/safe.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package casttest
import (
"testing"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion bold/testing/mocks/state-provider/layer2_state_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"math/big"
"testing"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3
github.com/aws/aws-sdk-go-v2/service/sqs v1.42.25
github.com/cavaliergopher/grab/v3 v3.0.1
github.com/ccoveille/go-safecast v1.1.0
github.com/ccoveille/go-safecast/v2 v2.0.1
github.com/cockroachdb/pebble v1.1.5
github.com/codeclysm/extract/v3 v3.0.2
github.com/enescakir/emoji v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA=
github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0=
github.com/cavaliergopher/grab/v3 v3.0.1 h1:4z7TkBfmPjmLAAmkkAZNX/6QJ1nNFdv3SdIHXju0Fr4=
github.com/cavaliergopher/grab/v3 v3.0.1/go.mod h1:1U/KNnD+Ft6JJiYoYBAimKH2XrYptb8Kl3DFGmsjpq4=
github.com/ccoveille/go-safecast v1.1.0 h1:iHKNWaZm+OznO7Eh6EljXPjGfGQsSfa6/sxPlIEKO+g=
github.com/ccoveille/go-safecast v1.1.0/go.mod h1:QqwNjxQ7DAqY0C721OIO9InMk9zCwcsO7tnRuHytad8=
github.com/ccoveille/go-safecast/v2 v2.0.1 h1:2+mIu3gXtwmWelBia2kkxfB8eP4orTHDH7ClSlWkd6I=
github.com/ccoveille/go-safecast/v2 v2.0.1/go.mod h1:JIYA4CAR33blIDuE6fSwCp2sz1oOBahXnvmdBhOAABs=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk=
github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s=
Expand Down
2 changes: 1 addition & 1 deletion system_tests/overflow_assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"testing"
"time"

"github.com/ccoveille/go-safecast"
"github.com/ccoveille/go-safecast/v2"
Comment thread
ccoVeille marked this conversation as resolved.

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
Expand Down