Skip to content

Alphabet enhancement#609

Open
roman-khimov wants to merge 13 commits into
masterfrom
alpha-optimization
Open

Alphabet enhancement#609
roman-khimov wants to merge 13 commits into
masterfrom
alpha-optimization

Conversation

@roman-khimov

Copy link
Copy Markdown
Member

No description provided.

Can be traced back to e9ad34b as unused,
makes no sense keeping it (it's len(validators) effectively).

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Committee doesn't have it, single chain using the same address is just
a coincidence.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Fetch nspcc-dev/neo-go#4362 fix.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov roman-khimov added this to the v0.27.0 milestone Jul 16, 2026
This doesn't fix all of them, but a subset required for alphabet contract
tests in a proper multi-key committee setup. The problems are:
 * validators, not committee account gets NEO/GAS at block 0
 * validators account is used to deploy contracts by default by Executor
 * some contracts require alpha signature and that's different from
   validators when committee and validator sets have different sizes
 * some contracts check for committee signatures for actions

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It's more realistic, alphabet is deployed per alpha node by this specific
node (different senders yield different contract hashes).

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Follow up to 78e49b3, significantly
deduplicating container contract tests.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
So stop passing them.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
container also doesn't care about proxy since b658629.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Obsolete since b658629.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
They're all autodetected (contract hashes) or set (TLD) automatically with
the same values.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
And deploy without them by default.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Prove proxy and IR receive something.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.50000% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.61%. Comparing base (f5f8f5d) to head (69c722d).

Files with missing lines Patch % Lines
contracts/alphabet/contract.go 59.45% 15 Missing ⚠️
contracts/container/contract.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #609      +/-   ##
==========================================
- Coverage   58.87%   58.61%   -0.26%     
==========================================
  Files          29       29              
  Lines        3008     3023      +15     
==========================================
+ Hits         1771     1772       +1     
- Misses       1237     1251      +14     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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