Skip to content

Anchor version support#1408

Open
yashnevatia wants to merge 9 commits intodevelopfrom
anchor-version-support
Open

Anchor version support#1408
yashnevatia wants to merge 9 commits intodevelopfrom
anchor-version-support

Conversation

@yashnevatia
Copy link
Contributor

Description

Requires Dependencies

Resolves Dependencies

@github-actions
Copy link
Contributor

⚠️ API Diff Results - Breaking changes detected

📦 Module: github-com-smartcontractkit-chainlink-solana

🔴 Breaking Changes (32)

pkg/solana/codec (29)
  • AddEntries — 🗑️ Removed

  • ChainConfig — 🗑️ Removed

  • ChainConfigType — 🗑️ Removed

  • ChainConfigTypeAccountDef — 🗑️ Removed

  • ChainConfigTypeEventDef — 🗑️ Removed

  • ChainConfigTypeInstructionDef — 🗑️ Removed

  • Config — 🗑️ Removed

  • CreateCodecEntry — Type changed:

func(
  interface{}, 
  string, 
  IDL, 
  github.com/smartcontractkit/chainlink-common/pkg/codec.Modifier
)
- (Entry, error)
+ (github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.Entry, error)
  • CrossChainAmountLength — 🗑️ Removed

  • DecodeLEToBigInt — 🗑️ Removed

  • Discriminator — 🗑️ Removed

  • DiscriminatorExtractor — 🗑️ Removed

  • Entry — 🗑️ Removed

  • EntryAsModifierRemoteCodec — 🗑️ Removed

  • FindDefinitionFromIDL — Type changed:

func(
  - ChainConfigType, 
  + github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.ChainConfigType, 
  string, 
  IDL
)
(interface{}, error)
  • MapstructureDecode — 🗑️ Removed

  • NewAccountEntry — Type changed:

func(
  string, 
  AccountIDLTypes, 
  bool, 
  github.com/smartcontractkit/chainlink-common/pkg/codec.Modifier, 
  github.com/smartcontractkit/chainlink-common/pkg/codec/encodings.Builder
)
- (Entry, error)
+ (github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.Entry, error)
  • NewCodec — Type changed:
func(
  - Config
  + github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.Config
)
(github.com/smartcontractkit/chainlink-common/pkg/types.RemoteCodec, error)
  • NewCrossChainAmount — 🗑️ Removed

  • NewDiscriminator — 🗑️ Removed

  • NewDiscriminatorExtractor — 🗑️ Removed

  • NewDiscriminatorHashPrefix — 🗑️ Removed

  • NewDuration — 🗑️ Removed

  • NewEventArgsEntry — Type changed:

func(
  string, 
  EventIDLTypes, 
  bool, 
  github.com/smartcontractkit/chainlink-common/pkg/codec.Modifier, 
  github.com/smartcontractkit/chainlink-common/pkg/codec/encodings.Builder
)
- (Entry, error)
+ (github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.Entry, error)
  • NewInstructionArgsEntry — Type changed:
func(
  string, 
  InstructionArgsIDLTypes, 
  github.com/smartcontractkit/chainlink-common/pkg/codec.Modifier, 
  github.com/smartcontractkit/chainlink-common/pkg/codec/encodings.Builder
)
- (Entry, error)
+ (github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.Entry, error)
  • NewOption — 🗑️ Removed

  • NewPDAEntry — Type changed:

func(
  string, 
  PDATypeDef, 
  github.com/smartcontractkit/chainlink-common/pkg/codec.Modifier, 
  github.com/smartcontractkit/chainlink-common/pkg/codec/encodings.Builder
)
- (Entry, error)
+ (github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.Entry, error)
  • ParsedTypes — 🗑️ Removed

  • SolanaAddressModifier — 🗑️ Removed

pkg/solana/codec/testutils.CodecDef (1)
  • ItemType — Type changed:
  - github.com/smartcontractkit/chainlink-solana/pkg/solana/codec.ChainConfigType
  + github.com/smartcontractkit/chainlink-solana/pkg/solana/commoncodec.ChainConfigType
)
pkg/solana/logpoller/types (1)
  • EventIdl — Type changed:
  - struct{Event github.com/smartcontractkit/chainlink-solana/pkg/solana/codec.IdlEvent; Types github.com/smartcontractkit/chainlink-solana/pkg/solana/codec.IdlTypeDefSlice}
  + interface{Equal(other EventIdl) bool; _is_EventIdl()}
)
pkg/solana/logpoller/types.Filter (1)
  • EventIdl — Type changed:
  - EventIdl
  + EventIdlWrapper
)

📄 View full apidiff report

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
26.0% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant