Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Cadence 1.0 feature branch #5767

Merged
merged 145 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
311115f
move reusable util funcs to common package
kc1116 Mar 22, 2024
7d09f47
generate tx args
kc1116 Mar 22, 2024
d0e70db
add ingestion throttle
zhangchiqing Feb 1, 2024
d5aec19
increase buffer size
zhangchiqing Feb 1, 2024
0604cc9
remove throttle engine
zhangchiqing Feb 2, 2024
0469425
lint
zhangchiqing Feb 2, 2024
465a3d0
rename throttle
zhangchiqing Feb 2, 2024
669e087
update throttle
zhangchiqing Feb 2, 2024
ffbd640
add happy path tests
kc1116 Mar 29, 2024
45fcead
Update cmd/bootstrap/cmd/keys.go
kc1116 Apr 1, 2024
18f7aec
Update keys.go
kc1116 Apr 1, 2024
c82ffbc
move NotEjected filter to filter package
kc1116 Apr 1, 2024
321da97
get subsets of internal collectors and partner collectors from snapshot
kc1116 Apr 1, 2024
9a4542d
Update cmd/util/cmd/epochs/cmd/recover.go
kc1116 Apr 2, 2024
91d6599
Update cmd/util/cmd/epochs/cmd/recover.go
kc1116 Apr 2, 2024
051629d
Update cmd/util/cmd/epochs/cmd/recover.go
kc1116 Apr 2, 2024
1399e18
Update cmd/util/cmd/epochs/cmd/recover.go
kc1116 Apr 2, 2024
2b9c152
Update recover.go
kc1116 Apr 2, 2024
3c8ee33
epoch counter should be an input
kc1116 Apr 2, 2024
d9db0eb
smart contract should generate random source with revertibleRandom
kc1116 Apr 2, 2024
f48b5a7
Update cmd/util/cmd/epochs/cmd/recover.go
kc1116 Apr 2, 2024
0cb7cae
Update cmd/util/cmd/epochs/cmd/recover.go
kc1116 Apr 2, 2024
884fdbf
add epoch-length and epoch-staking-phase-length
kc1116 Apr 2, 2024
6aacb01
use for range loop
kc1116 Apr 2, 2024
82c5803
dkg group key should be the first key in the array
kc1116 Apr 2, 2024
1d67790
Update cmd/util/cmd/common/clusters.go
kc1116 Apr 2, 2024
1c86a58
Merge branch 'khalil/6959-efm-recvery-epoch-data-generation' of githu…
kc1116 Apr 2, 2024
e8c89f6
added tx result to subscription
Guitarheroua Apr 2, 2024
8d6611f
add godoc for ConstructRootQCsForClusters
kc1116 Apr 2, 2024
263974e
add godoc for *PartnerInfo util funcs
kc1116 Apr 2, 2024
c6a1989
document GetSnapshotAtEpochAndPhase arguments
kc1116 Apr 2, 2024
32df104
refactor fatal level logs
kc1116 Apr 2, 2024
4b3dae6
fix node ids in test root snapshot fixture
kc1116 Apr 2, 2024
3a8ec88
remove debug logs
kc1116 Apr 2, 2024
0060ce9
Update cmd/util/cmd/common/clusters.go
kc1116 Apr 3, 2024
3a2b99e
Update cmd/util/cmd/common/clusters.go
kc1116 Apr 3, 2024
fcb1006
Apply suggestions from code review
kc1116 Apr 3, 2024
340d3ab
Apply suggestions from code review
kc1116 Apr 3, 2024
324d46d
handle missing results
Guitarheroua Apr 3, 2024
53199a4
Added checks to integration test
Guitarheroua Apr 3, 2024
5291a1d
Merge branch 'master' of github.com:The-K-R-O-K/flow-go into AndriiSl…
Guitarheroua Apr 3, 2024
8b25c8a
Merge branch 'master' into AndriiSlisarchuk/5566-tx-result-in-sub-tx-…
Guitarheroua Apr 3, 2024
fba973d
Merge branch 'master' into AndriiSlisarchuk/5566-tx-result-in-sub-tx-…
Guitarheroua Apr 4, 2024
afd1ca5
Fixed insecure lint
Guitarheroua Apr 4, 2024
f319aa2
updated protobuf
Guitarheroua Apr 4, 2024
a5c29ac
Fixed issues with integration test
Guitarheroua Apr 4, 2024
a2cbd6b
Merge branch 'master' of github.com:The-K-R-O-K/flow-go into AndriiSl…
Guitarheroua Apr 4, 2024
b27800f
Added event encoding version
Guitarheroua Apr 4, 2024
ba274c1
Merge branch 'master' of github.com:The-K-R-O-K/flow-go into AndriiSl…
Guitarheroua Apr 5, 2024
6070f4e
add integration tests skeleton
kc1116 Apr 8, 2024
4b71333
Merge branch 'khalil/6959-efm-recvery-epoch-data-generation' of githu…
kc1116 Apr 8, 2024
b491179
Update service_events_fixtures.go
kc1116 Apr 8, 2024
3baf7c0
update comments
zhangchiqing Apr 8, 2024
fb3ec2c
lint fix
kc1116 Apr 8, 2024
a8cfa20
Update recover.go
kc1116 Apr 8, 2024
22511ab
fix lint
kc1116 Apr 8, 2024
2eb6b11
fix imports
kc1116 Apr 8, 2024
ad9cede
fix cmd unit tests add missing "wrote file" logs
kc1116 Apr 9, 2024
2701102
remove extra SN nodes
kc1116 Apr 9, 2024
e07c96a
Update recover_epoch_efm_test.go
kc1116 Apr 9, 2024
6bc838f
Merge branch 'master' into khalil/6959-efm-recvery-epoch-data-generation
kc1116 Apr 9, 2024
d1f78a8
add ingestion core
zhangchiqing Mar 26, 2024
13cfccd
address review comments
zhangchiqing Apr 1, 2024
e2a16a6
move deduplicate to flow package
zhangchiqing Apr 1, 2024
f521f8f
Merge branch 'master' into AndriiSlisarchuk/5566-tx-result-in-sub-tx-…
Guitarheroua Apr 10, 2024
e25a0c8
Fixed remarks
Guitarheroua Apr 10, 2024
a501687
Merge branch 'master' into AndriiSlisarchuk/5566-tx-result-in-sub-tx-…
Guitarheroua Apr 10, 2024
0a4cfb1
remove unused AccountsAtreeLedger
turbolent Apr 10, 2024
17d27c0
improve comment
turbolent Apr 10, 2024
8a0839b
generate set of all storage map domains from slice
turbolent Apr 10, 2024
f4ea637
add timestamp to block type
Apr 12, 2024
b184264
retrieve timestamp on new block
Apr 12, 2024
1f712ce
emit timestamp on block event
Apr 12, 2024
307620a
default test block info
Apr 12, 2024
9fab484
change timestamp type due to rlp serialisation issue
Apr 12, 2024
c39adbf
fix timestamp event type
Apr 12, 2024
ab1ee1e
test timestamp on block
Apr 12, 2024
cc662a8
fix fvm test with blocks info
Apr 12, 2024
d1470a6
Merge branch 'master' into gregor/evm/block-timestamp
sideninja Apr 12, 2024
013c10f
fix lint
Apr 12, 2024
203a05d
add block timestamp to context
Apr 12, 2024
b8f8c2a
add timestamp to evm block contract
Apr 12, 2024
72d01a4
check timestamp on block test
Apr 12, 2024
267c6c3
addres review comments for throttle
zhangchiqing Apr 12, 2024
95b468d
use unix seconds not nanoseconds
Apr 12, 2024
3d1a534
add test cases for flow.Deduplicate
zhangchiqing Apr 12, 2024
b406985
clean up EVM environment setup
turbolent Apr 13, 2024
c27754f
Update integration/tests/epochs/base_suite.go
kc1116 Apr 15, 2024
47024da
use 0 as a default value force the user to provide values
kc1116 Apr 15, 2024
603d1da
Apply suggestions from code review
kc1116 Apr 15, 2024
b40197e
Update cmd/util/cmd/common/node_info.go
kc1116 Apr 15, 2024
6053858
Update cmd/util/cmd/common/node_info.go
kc1116 Apr 15, 2024
a7e6e2c
Apply suggestions from code review
kc1116 Apr 15, 2024
f823c45
Update cmd/util/cmd/common/node_info.go
kc1116 Apr 15, 2024
47361e2
Merge branch 'khalil/6959-efm-recvery-epoch-data-generation' of githu…
kc1116 Apr 15, 2024
5e3dffd
add sanity check ensure all node weights are equal when generating cl…
kc1116 Apr 15, 2024
897809d
Merge branch 'master' into khalil/6959-efm-recvery-epoch-data-generation
kc1116 Apr 15, 2024
7a27621
add bridging interface to COA
sisyphusSmiling Apr 12, 2024
b8d0d83
fix updated EVM dependency aliasing
sisyphusSmiling Apr 15, 2024
4503825
update EVM bridging interfaces for Cadence 0.42
sisyphusSmiling Apr 15, 2024
0a99512
remove entitlement from EVM & fix bootstrap
sisyphusSmiling Apr 16, 2024
a55fda1
Update node_info.go
kc1116 Apr 16, 2024
3ee695d
Merge branch 'khalil/6959-efm-recvery-epoch-data-generation' of githu…
kc1116 Apr 16, 2024
9ce40e2
fix casting statement in EVM contract
sisyphusSmiling Apr 16, 2024
ccc99ec
fix accepted NFT & Vault conformance types in EVM contract
sisyphusSmiling Apr 16, 2024
809c541
fix change_contract_code_migration
sisyphusSmiling Apr 16, 2024
cb42dc5
commit fvm_test.go patch thanks to @m-peter
sisyphusSmiling Apr 16, 2024
ab88472
Update clusters.go
kc1116 Apr 16, 2024
12e3534
Update clusters.go
kc1116 Apr 16, 2024
e64ad8a
Update clusters.go
kc1116 Apr 16, 2024
ade69c9
fix stdlib.ContractCode var mutation scope pointed out by @m-peter
sisyphusSmiling Apr 16, 2024
17c153a
Merge pull request #5657 from onflow/bastian/improve-migrations
turbolent Apr 16, 2024
56de908
Merge pull request #5668 from onflow/bastian/evm-env-setup-cleanup
turbolent Apr 16, 2024
291ea4a
log the checkpoint file when using generating protocol snapshot from
zhangchiqing Apr 16, 2024
b772212
Merge pull request #5337 from onflow/leo/ingestion-throttle
zhangchiqing Apr 16, 2024
547799c
Merge branch 'master' into gregor/evm/block-timestamp
sideninja Apr 17, 2024
2d8f653
Merge pull request #5660 from onflow/gregor/evm/block-timestamp
sideninja Apr 17, 2024
9c4c4a3
Merge pull request #5576 from onflow/khalil/6959-efm-recvery-epoch-da…
kc1116 Apr 17, 2024
d57892b
Merge pull request #5679 from onflow/leo/read-protocol-state-snapshot…
zhangchiqing Apr 17, 2024
78efce2
add BridgeAccessorUpdated event & BridgeAccessor setter to EVM contract
sisyphusSmiling Apr 17, 2024
07d0da7
Merge branch 'master' into giovanni/add-pre-1-bridge-interface
sisyphusSmiling Apr 17, 2024
bc8083c
Merge branch 'master' into AndriiSlisarchuk/5566-tx-result-in-sub-tx-…
Guitarheroua Apr 17, 2024
5aad29e
fix failing fvm tests
sisyphusSmiling Apr 17, 2024
2a6c870
fixed remarks
Guitarheroua Apr 17, 2024
470b426
Changed emulator version
Guitarheroua Apr 18, 2024
76d087c
Merge pull request #5288 from onflow/leo/ingestion-core
zhangchiqing Apr 18, 2024
e2d1b51
fix EVM load test: provide blocks and block header
turbolent Apr 18, 2024
b27fd5d
Merge pull request #5737 from onflow/bastian/fix-evm-load-test
turbolent Apr 19, 2024
995f7e5
Merge branch 'master' into AndriiSlisarchuk/5566-tx-result-in-sub-tx-…
Guitarheroua Apr 19, 2024
ce6f3ce
Merge branch 'master' into giovanni/add-pre-1-bridge-interface
sisyphusSmiling Apr 19, 2024
41926ad
Merge pull request #5677 from onflow/giovanni/add-pre-1-bridge-interface
sisyphusSmiling Apr 19, 2024
0fca805
removed replace
Guitarheroua Apr 19, 2024
6a06688
Merge branch 'master' into AndriiSlisarchuk/5566-tx-result-in-sub-tx-…
Guitarheroua Apr 20, 2024
0983dbb
Merge pull request #5620 from The-K-R-O-K/AndriiSlisarchuk/5566-tx-re…
Guitarheroua Apr 20, 2024
e53ae2c
port https://github.com/onflow/flow-go/pull/5750
j1010001 Apr 22, 2024
9b0c220
fix traversal error handling
zhangchiqing Apr 12, 2024
4860e67
Update state/fork/traversal.go
zhangchiqing Apr 15, 2024
976e3ff
Merge pull request #5751 from onflow/jan/port-fix-util-docker-build
j1010001 Apr 22, 2024
eff9395
Merge pull request #5661 from onflow/leo/fix-traversal-error-handling
zhangchiqing Apr 23, 2024
26d76bf
Merge branch 'master' into bastian/sync-stable-cadence-16
turbolent Apr 24, 2024
70f9aab
adjust to Cadence API changes
turbolent Apr 24, 2024
e34d7b7
adjust expected state commitments
turbolent Apr 24, 2024
cbdad56
update Emulator
turbolent Apr 24, 2024
26e7366
Merge branch 'feature/stable-cadence' into bastian/sync-stable-cadenc…
turbolent Apr 25, 2024
10421b8
update state commitments
turbolent Apr 25, 2024
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 access/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ type API interface {
// SubscribeTransactionStatuses streams transaction statuses starting from the reference block saved in the
// transaction itself until the block containing the transaction becomes sealed or expired. When the transaction
// status becomes TransactionStatusSealed or TransactionStatusExpired, the subscription will automatically shut down.
SubscribeTransactionStatuses(ctx context.Context, tx *flow.TransactionBody) subscription.Subscription
SubscribeTransactionStatuses(ctx context.Context, tx *flow.TransactionBody, requiredEventEncodingVersion entities.EventEncodingVersion) subscription.Subscription
}

// TODO: Combine this with flow.TransactionResult?
Expand Down
23 changes: 18 additions & 5 deletions access/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/onflow/flow-go/engine/common/rpc/convert"
"github.com/onflow/flow-go/model/flow"
"github.com/onflow/flow-go/module"
"github.com/onflow/flow-go/module/counters"

"github.com/onflow/flow/protobuf/go/flow/access"
"github.com/onflow/flow/protobuf/go/flow/entities"
Expand Down Expand Up @@ -1112,11 +1113,23 @@ func (h *Handler) SendAndSubscribeTransactionStatuses(
return err
}

sub := h.api.SubscribeTransactionStatuses(ctx, &tx)
return subscription.HandleSubscription(sub, func(txSubInfo *convert.TransactionSubscribeInfo) error {
err = stream.Send(convert.TransactionSubscribeInfoToMessage(txSubInfo))
if err != nil {
return rpc.ConvertError(err, "could not send response", codes.Internal)
sub := h.api.SubscribeTransactionStatuses(ctx, &tx, request.GetEventEncodingVersion())

messageIndex := counters.NewMonotonousCounter(0)
return subscription.HandleSubscription(sub, func(txResults []*TransactionResult) error {
for i := range txResults {
value := messageIndex.Value()
if ok := messageIndex.Set(value + 1); !ok {
return status.Errorf(codes.Internal, "the message index has already been incremented to %d", messageIndex.Value())
}

err = stream.Send(&access.SendAndSubscribeTransactionStatusesResponse{
TransactionResults: TransactionResultToMessage(txResults[i]),
MessageIndex: value,
})
if err != nil {
return rpc.ConvertError(err, "could not send response", codes.Internal)
}
}

return nil
Expand Down
10 changes: 5 additions & 5 deletions access/mock/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions admin/commands/storage/read_protocol_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (s *ProtocolSnapshotCommand) Handler(_ context.Context, req *admin.CommandR

s.logger.Info().Uint("blocksToSkip", blocksToSkip).Msgf("admintool: generating protocol snapshot")

snapshot, sealedHeight, commit, err := common.GenerateProtocolSnapshotForCheckpoint(
snapshot, sealedHeight, commit, checkpointFile, err := common.GenerateProtocolSnapshotForCheckpoint(
s.logger, s.state, s.headers, s.seals, s.checkpointDir, blocksToSkip)
if err != nil {
return nil, fmt.Errorf("could not generate protocol snapshot for checkpoint, checkpointDir %v: %w",
Expand All @@ -79,10 +79,19 @@ func (s *ProtocolSnapshotCommand) Handler(_ context.Context, req *admin.CommandR
Hex("finalized_block_id", logging.Entity(header)).
Uint64("sealed_height", sealedHeight).
Hex("sealed_commit", commit[:]). // not the commit for the finalized height, but for the sealed height
Str("checkpoint_file", checkpointFile).
Uint("blocks_to_skip", blocksToSkip).
Msgf("admintool: protocol snapshot generated successfully")

return commands.ConvertToMap(serializable.Encodable())
return commands.ConvertToMap(protocolSnapshotResponse{
Snapshot: serializable.Encodable(),
Checkpoint: checkpointFile,
})
}

type protocolSnapshotResponse struct {
Snapshot inmem.EncodableSnapshot `json:"snapshot"`
Checkpoint string `json:"checkpoint"`
}

func (s *ProtocolSnapshotCommand) Validator(req *admin.CommandRequest) error {
Expand Down
2 changes: 1 addition & 1 deletion cmd/access/node_builder/access_node_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ func (builder *FlowAccessNodeBuilder) InitIDProviders() {
filter.And(
filter.HasRole[flow.Identity](flow.RoleConsensus),
filter.Not(filter.HasNodeID[flow.Identity](node.Me.NodeID())),
underlay.NotEjectedFilter,
filter.NotEjectedFilter,
),
builder.IdentityProvider,
)
Expand Down
11 changes: 9 additions & 2 deletions cmd/bootstrap/cmd/check_machine_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
sdk "github.com/onflow/flow-go-sdk"
client "github.com/onflow/flow-go-sdk/access/grpc"
"github.com/onflow/flow-go/cmd"
"github.com/onflow/flow-go/cmd/util/cmd/common"
model "github.com/onflow/flow-go/model/bootstrap"
"github.com/onflow/flow-go/module/epochs"
)
Expand Down Expand Up @@ -44,7 +45,10 @@ func checkMachineAccountRun(_ *cobra.Command, _ []string) {

// read the private node information - used to get the role
var nodeInfoPriv model.NodeInfoPriv
readJSON(filepath.Join(flagOutdir, fmt.Sprintf(model.PathNodeInfoPriv, nodeID)), &nodeInfoPriv)
err = common.ReadJSON(filepath.Join(flagOutdir, fmt.Sprintf(model.PathNodeInfoPriv, nodeID)), &nodeInfoPriv)
if err != nil {
log.Fatal().Err(err).Msg("failed to read json")
}

// read the machine account info file
machineAccountInfo := readMachineAccountInfo(nodeID)
Expand Down Expand Up @@ -97,7 +101,10 @@ func readMachineAccountInfo(nodeID string) model.NodeMachineAccountInfo {
var machineAccountInfo model.NodeMachineAccountInfo

path := filepath.Join(flagOutdir, fmt.Sprintf(model.PathNodeMachineAccountInfoPriv, nodeID))
readJSON(path, &machineAccountInfo)
err := common.ReadJSON(path, &machineAccountInfo)
if err != nil {
log.Fatal().Err(err).Msg("failed to read json")
}

return machineAccountInfo
}
125 changes: 0 additions & 125 deletions cmd/bootstrap/cmd/clusters.go

This file was deleted.

10 changes: 8 additions & 2 deletions cmd/bootstrap/cmd/db_encryption_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/spf13/cobra"

"github.com/onflow/flow-go/cmd/bootstrap/utils"
"github.com/onflow/flow-go/cmd/util/cmd/common"
model "github.com/onflow/flow-go/model/bootstrap"
)

Expand Down Expand Up @@ -35,7 +36,7 @@ func dbEncryptionKeyRun(_ *cobra.Command, _ []string) {
log = log.With().Str("path", dbEncryptionKeyPath).Logger()

// check if the key already exists
exists, err := pathExists(path.Join(flagOutdir, dbEncryptionKeyPath))
exists, err := common.PathExists(path.Join(flagOutdir, dbEncryptionKeyPath))
if err != nil {
log.Fatal().Err(err).Msg("could not check if db encryption key already exists")
}
Expand All @@ -50,5 +51,10 @@ func dbEncryptionKeyRun(_ *cobra.Command, _ []string) {
}
log.Info().Msg("generated db encryption key")

writeText(dbEncryptionKeyPath, dbEncryptionKey)
err = common.WriteText(dbEncryptionKeyPath, flagOutdir, dbEncryptionKey)
if err != nil {
log.Fatal().Err(err).Msg("failed to write file")
}

log.Info().Msgf("wrote file %s/%s", flagOutdir, dbEncryptionKeyPath)
}
13 changes: 11 additions & 2 deletions cmd/bootstrap/cmd/dkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/onflow/crypto"

bootstrapDKG "github.com/onflow/flow-go/cmd/bootstrap/dkg"
"github.com/onflow/flow-go/cmd/util/cmd/common"
model "github.com/onflow/flow-go/model/bootstrap"
"github.com/onflow/flow-go/model/dkg"
"github.com/onflow/flow-go/model/encodable"
Expand Down Expand Up @@ -38,17 +39,25 @@ func runBeaconKG(nodes []model.NodeInfo) dkg.DKGData {
encKey := encodable.RandomBeaconPrivKey{PrivateKey: privKey}
privKeyShares = append(privKeyShares, encKey)

writeJSON(fmt.Sprintf(model.PathRandomBeaconPriv, nodeID), encKey)
err = common.WriteJSON(fmt.Sprintf(model.PathRandomBeaconPriv, nodeID), flagOutdir, encKey)
if err != nil {
log.Fatal().Err(err).Msg("failed to write json")
}
log.Info().Msgf("wrote file %s/%s", flagOutdir, fmt.Sprintf(model.PathRandomBeaconPriv, nodeID))
}

// write full DKG info that will be used to construct QC
writeJSON(model.PathRootDKGData, inmem.EncodableFullDKG{
err = common.WriteJSON(model.PathRootDKGData, flagOutdir, inmem.EncodableFullDKG{
GroupKey: encodable.RandomBeaconPubKey{
PublicKey: dkgData.PubGroupKey,
},
PubKeyShares: pubKeyShares,
PrivKeyShares: privKeyShares,
})
if err != nil {
log.Fatal().Err(err).Msg("failed to write json")
}
log.Info().Msgf("wrote file %s/%s", flagOutdir, model.PathRootDKGData)

return dkgData
}
Loading
Loading