Skip to content

Commit

Permalink
Merge branch 'develop' into feature/NONEVM-745-logpoller-db-models
Browse files Browse the repository at this point in the history
# Conflicts:
#	go.mod
#	go.sum
#	integration-tests/go.mod
#	integration-tests/go.sum
  • Loading branch information
dhaidashenko committed Nov 22, 2024
2 parents 3186314 + c9ef4b3 commit 5688156
Show file tree
Hide file tree
Showing 112 changed files with 9,580 additions and 3,313 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Workflow is triggered daily midnight UTC
# A PR with more than 60 days of inactivity will be marked as stale
# A PR that's stale for more than 7 days will be automatically closed
# Issues are exempt from auto marking as stale but issues with manually added 'stale' label are eligible for auto closure after 7 days.
# PRs with assignees are exempt from auto stale marking, it's the responsibility of the assignee to get the PR progressed either with review/merge or closure.
name: Manage stale Issues and PRs

on:
schedule:
- cron: "0 0 * * *" # Will be triggered every day at midnight UTC

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-all-pr-assignees: true
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
days-before-issue-stale: -1 # disables marking issues as stale automatically. Issues can still be marked as stale manually, in which the closure policy applies.
42 changes: 42 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
dir: "{{ .InterfaceDir }}/mocks"
mockname: "{{ .InterfaceName }}"
outpkg: mocks
filename: "{{ .InterfaceName | snakecase }}.go"
packages:
github.com/smartcontractkit/chainlink-solana/pkg/monitoring:
interfaces:
ChainReader:
github.com/smartcontractkit/chainlink-solana/pkg/monitoring/metrics:
interfaces:
FeedBalances:
Fees:
config:
filename: "Fees.go"
NetworkFees:
NodeBalances:
NodeSuccess:
ReportObservations:
SlotHeight:
github.com/smartcontractkit/chainlink-solana/pkg/solana/client:
interfaces:
ReaderWriter:
github.com/smartcontractkit/chainlink-solana/pkg/solana/config:
interfaces:
Config:
config:
filename: config.go
case: underscore
github.com/smartcontractkit/chainlink-solana/pkg/solana/fees:
interfaces:
Estimator:
config:
filename: "Estimator.go"
github.com/smartcontractkit/chainlink-solana/pkg/solana/txm:
interfaces:
SimpleKeystore:
config:
filename: simple_keystore.go
case: underscore
github.com/smartcontractkit/chainlink-solana/pkg/solana/logpoller:
interfaces:
RPCClient:
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ rm-mocked:
.PHONY: generate
generate: mockery gomods
gomods -w go generate -x ./...
mockery

.PHONY: lint-go-integration-tests
lint-go-integration-tests:
Expand Down
12 changes: 9 additions & 3 deletions contracts/Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
[toolchain]
anchor_version = "0.29.0"

[features]
seeds = false
skip-lint = false

[registry]
url = "https://anchor.projectserum.com"

[provider]
cluster = "localnet"
# wallet = "~/.config/solana/id.json"
wallet = "id.json"
# wallet = "~/.config/solana/id.json"

[scripts]
test = "pnpm run test"
Expand All @@ -21,6 +26,7 @@ test = "pnpm run test"
# TODO: add pubkeys

[programs.localnet]
ocr_2 = "cjg3oHmg9uuPsP8D6g29NWvhySJkdYdAo9D25PRbKXJ" # need to rename the idl to satisfy anchor.js...
store = "HEvSKofvBgfaexv23kMabbYqxasxU3mQ4ibBMEmJWHny"
access_controller = "9xi644bRR8birboDGdTiwBq3C7VEeR7VuamRYYXCubUW"
log-read-test = "J1zQwrBNBngz26jRPNWsUSZMHJwBwpkoDitXRV95LdK4"
ocr_2 = "cjg3oHmg9uuPsP8D6g29NWvhySJkdYdAo9D25PRbKXJ" # need to rename the idl to satisfy anchor.js...
store = "HEvSKofvBgfaexv23kMabbYqxasxU3mQ4ibBMEmJWHny"
7 changes: 7 additions & 0 deletions contracts/Cargo.lock

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

146 changes: 146 additions & 0 deletions contracts/generated/log_read_test/CreateLog.go

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

32 changes: 32 additions & 0 deletions contracts/generated/log_read_test/CreateLog_test.go

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

3 changes: 3 additions & 0 deletions contracts/generated/log_read_test/accounts.go

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

Loading

0 comments on commit 5688156

Please sign in to comment.