Skip to content

Commit

Permalink
update to Stable Cadence preview 4
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Nov 10, 2022
1 parent f8d357b commit 7479ccf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
12 changes: 6 additions & 6 deletions lib/go/test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module github.com/onflow/flow-core-contracts/lib/go/test
go 1.19

require (
github.com/onflow/cadence v0.29.0-stable-cadence
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20220720151516-797b149ceaaa
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20220720151516-797b149ceaaa
github.com/onflow/flow-emulator v0.38.2-0.20221027205358-7107a3d7f301
github.com/onflow/cadence v0.29.0-stable-cadence-4
github.com/onflow/flow-core-contracts/lib/go/contracts v0.11.2-0.20221110195343-f8d357b82aa9
github.com/onflow/flow-core-contracts/lib/go/templates v0.11.2-0.20221110195343-f8d357b82aa9
github.com/onflow/flow-emulator v0.39.0-stable-cadence-4
github.com/onflow/flow-ft/lib/go/templates v0.2.0
github.com/onflow/flow-go v0.28.1-0.20221027204513-ff6332839b80
github.com/onflow/flow-go-sdk v0.29.0
github.com/onflow/flow-go v0.29.0-stable-cadence-4
github.com/onflow/flow-go-sdk v0.29.0-stable-cadence-4
github.com/onflow/flow-go/crypto v0.24.4
github.com/stretchr/testify v1.8.0
)
Expand Down
22 changes: 8 additions & 14 deletions lib/go/test/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -455,25 +455,19 @@ github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1
github.com/onflow/atree v0.4.0 h1:+TbNisavAkukAKhgQ4plWnvR9o5+SkwPIsi3jaeAqKs=
github.com/onflow/atree v0.4.0/go.mod h1:7Qe1xaW0YewvouLXrugzMFUYXNoRQ8MT/UsVAWx1Ndo=
github.com/onflow/cadence v0.11.2/go.mod h1:8NwJGO535nnY/+QWEMDc2rhvOFChToWQ9Bg7fUIIc/I=
github.com/onflow/cadence v0.28.0 h1:18A1V9xqGewibEhuzqBNEoNvqG6OwVqHg7gKu3UliaM=
github.com/onflow/cadence v0.28.0/go.mod h1:h+SbY8RNl6Q6sT6l/2cvpUZUJNCbzJya+3Bkwe/0YwY=
github.com/onflow/cadence v0.29.0-stable-cadence h1:tkSt55BNZ+kvYsSnvlLgMOI3bfQS0/AOUH7QW1hrXiY=
github.com/onflow/cadence v0.29.0-stable-cadence/go.mod h1:h+SbY8RNl6Q6sT6l/2cvpUZUJNCbzJya+3Bkwe/0YwY=
github.com/onflow/flow-emulator v0.38.1 h1:ZfkbhCe2TA4tiZTuhGjuuzUCg+9Z4VWzh40dCtykSZk=
github.com/onflow/flow-emulator v0.38.1/go.mod h1:EK8PWAwcCV5eEP1V1f0ummHW2QZSbeGmb42+SztmE2U=
github.com/onflow/flow-emulator v0.38.2-0.20221027205358-7107a3d7f301 h1:QO3bnNDpuWRGOEMMmZbP0LAgam7apiQ9fHlsnDZSqbk=
github.com/onflow/flow-emulator v0.38.2-0.20221027205358-7107a3d7f301/go.mod h1:oWA76SNYv2HFdYzmzx3gEBG7OY2csqjN8b9xMOFRDlI=
github.com/onflow/cadence v0.29.0-stable-cadence-4 h1:hzAfjDGaKD6YG/wN+T6FjGDUi3j0y6v3/3/WmyzG8pQ=
github.com/onflow/cadence v0.29.0-stable-cadence-4/go.mod h1:IpiqITdEX5zO/jeJd/5dqAodD7NDKnsrnymwb5kbCEE=
github.com/onflow/flow-emulator v0.39.0-stable-cadence-4 h1:8r391k9nqKgLeuUb2I1VqzEJUhi5s7ElHb8EZNpln3k=
github.com/onflow/flow-emulator v0.39.0-stable-cadence-4/go.mod h1:Oebu1+IA2Ay8gWs7jSMFo1k2LC3J3+MR/EPHN0+tBPs=
github.com/onflow/flow-ft/lib/go/contracts v0.5.0 h1:Cg4gHGVblxcejfNNG5Mfj98Wf4zbY76O0Y28QB0766A=
github.com/onflow/flow-ft/lib/go/contracts v0.5.0/go.mod h1:1zoTjp1KzNnOPkyqKmWKerUyf0gciw+e6tAEt0Ks3JE=
github.com/onflow/flow-ft/lib/go/templates v0.2.0 h1:oQQk5UthLS9KfKLkZVJg/XAVq8CXW7HAxSTu4HwBJkU=
github.com/onflow/flow-ft/lib/go/templates v0.2.0/go.mod h1:qwkTElMcI+PnSBGIWGu1K9OYBLatNimWTC8un9qUji0=
github.com/onflow/flow-go v0.26.14-test-synchronization.0.20221012204608-ed91c80fee2b h1:QIEm7fAG1RjtJFof4p966IS34CpdDRqOyboFnc0hkIE=
github.com/onflow/flow-go v0.26.14-test-synchronization.0.20221012204608-ed91c80fee2b/go.mod h1:WmDshMvR2IEQa4NOaz+edoSIR25b9zC22NuB64efvcM=
github.com/onflow/flow-go v0.28.1-0.20221027204513-ff6332839b80 h1:FgRFWWQKenHNhXvvG3hwpgAHgmNuCvp9unESJfysi90=
github.com/onflow/flow-go v0.28.1-0.20221027204513-ff6332839b80/go.mod h1:QqdroNkmNOaR9bg+4eciPkmX+mTIxY+F7SjkqMlVEGY=
github.com/onflow/flow-go v0.29.0-stable-cadence-4 h1:irCm1gnB3YUvQ5YE4rw0TsxzbqNVBnK1e2lWKbhSKcM=
github.com/onflow/flow-go v0.29.0-stable-cadence-4/go.mod h1:9P0xn5chtfIN7YvksDo8W6BFn/TSyRUPBioQefHXOec=
github.com/onflow/flow-go-sdk v0.13.0/go.mod h1:yqnSajzJVFfrTg68F4WXRR1Yzs1akqAjyscEDyFudPE=
github.com/onflow/flow-go-sdk v0.29.0 h1:dTQvTZkHsHMU3eEnHaE8JE2SOPeAIYx5CgTul5MgDYE=
github.com/onflow/flow-go-sdk v0.29.0/go.mod h1:58y6+IddssbrUnrCdYXJuAh64cMHvxy+InUfBA3e8v0=
github.com/onflow/flow-go-sdk v0.29.0-stable-cadence-4 h1:Vmutb6Cs72+Ayns6dx2mD8RByam3UB7Bg5/YB1ePPh4=
github.com/onflow/flow-go-sdk v0.29.0-stable-cadence-4/go.mod h1:KEfJICFBZ/GAV4Zj1+jCavTs7qDe77F+s6z6ot0XZSI=
github.com/onflow/flow-go/crypto v0.24.4 h1:SwEtoVS2TidCIHYCZMgQ7U2YsqhI9upnw94fhdHTubM=
github.com/onflow/flow-go/crypto v0.24.4/go.mod h1:dkVL98P6GHR48iD9zCB6XlnkJX8IQd00FKgt1reV90w=
github.com/onflow/flow/protobuf/go/flow v0.1.8/go.mod h1:kRugbzZjwQqvevJhrnnCFMJZNmoSJmxlKt6hTGXZojM=
Expand Down
5 changes: 2 additions & 3 deletions lib/go/test/staking_test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ func (evt EpochTotalRewardsPaidEvent) FeesBurned() cadence.UFix64 {
}

func stubInterpreter() *interpreter.Interpreter {
return &interpreter.Interpreter{
Config: &interpreter.Config{},
}
inter, _ := interpreter.NewInterpreter(nil, nil, &interpreter.Config{})
return inter
}

// Defines utility functions that are used for testing the staking contract
Expand Down

0 comments on commit 7479ccf

Please sign in to comment.