Skip to content

Commit

Permalink
Remove Banff upgrade path from PlatformVM (ava-labs#2128)
Browse files Browse the repository at this point in the history
Co-authored-by: Alberto Benegiamo <[email protected]>
  • Loading branch information
StephenButtolph and abi87 authored Oct 20, 2022
1 parent 238682a commit e0d84bd
Show file tree
Hide file tree
Showing 24 changed files with 1,105 additions and 2,398 deletions.
3 changes: 3 additions & 0 deletions vms/platformvm/blocks/abort_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ func (*ApricotAbortBlock) InitCtx(ctx *snow.Context) {}
func (*ApricotAbortBlock) Txs() []*txs.Tx { return nil }
func (b *ApricotAbortBlock) Visit(v Visitor) error { return v.ApricotAbortBlock(b) }

// NewApricotAbortBlock is kept for testing purposes only.
// Following Banff activation and subsequent code cleanup, Apricot Abort blocks
// should be only verified (upon bootstrap), never created anymore
func NewApricotAbortBlock(
parentID ids.ID,
height uint64,
Expand Down
113 changes: 0 additions & 113 deletions vms/platformvm/blocks/builder/apricot_builder.go

This file was deleted.

Loading

0 comments on commit e0d84bd

Please sign in to comment.