Skip to content

Commit 9a453d8

Browse files
authored
Merge branch 'ankan/fixes-overstake' into dependabot/github_actions/aws-actions/configure-aws-credentials-5.0.0
2 parents b39c76f + e39e738 commit 9a453d8

9 files changed

Lines changed: 1213 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
type=semver,pattern={{major}}.{{minor}}
8787
8888
- name: Build and push Docker image
89-
uses: docker/build-push-action@v5
89+
uses: docker/build-push-action@v6
9090
with:
9191
context: .
9292
push: true

.github/workflows/release-50_publish-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ jobs:
304304
305305
- name: Build and push
306306
id: docker_build
307-
uses: docker/build-push-action@5e99dacf67635c4f273e532b9266ddb609b3025a # v6.9.0
307+
uses: docker/build-push-action@9e436ba9f2d7bcd1d038c8e55d039d37896ddc5d # v6.9.0
308308
with:
309309
push: true
310310
file: docker/dockerfiles/polkadot/polkadot_injected_debian.Dockerfile

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
latest
8686
8787
- name: Build and push release image
88-
uses: docker/build-push-action@v5
88+
uses: docker/build-push-action@v6
8989
with:
9090
context: .
9191
push: true

.pre-commit-config.yaml

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
# Pre-commit hooks configuration for REChain SDK
2+
# Install with: pip install pre-commit && pre-commit install
3+
4+
repos:
5+
# Rust formatting
6+
- repo: local
7+
hooks:
8+
- id: rust-fmt
9+
name: Rust Format
10+
entry: cargo fmt --all
11+
language: system
12+
files: \.(rs|toml)$
13+
pass_filenames: false
14+
15+
# Rust clippy
16+
- repo: local
17+
hooks:
18+
- id: rust-clippy
19+
name: Rust Clippy
20+
entry: cargo clippy --workspace --all-targets -- -D warnings
21+
language: system
22+
files: \.(rs|toml)$
23+
pass_filenames: false
24+
25+
# Rust tests
26+
- repo: local
27+
hooks:
28+
- id: rust-test
29+
name: Rust Tests
30+
entry: cargo test --workspace
31+
language: system
32+
files: \.(rs|toml)$
33+
pass_filenames: false
34+
35+
# Check for security vulnerabilities
36+
- repo: https://github.com/rust-lang/cargo-audit.git
37+
rev: v0.18.0
38+
hooks:
39+
- id: cargo-audit
40+
name: Cargo Audit
41+
entry: cargo audit
42+
language: system
43+
files: Cargo.lock
44+
pass_filenames: false
45+
46+
# TOML formatting
47+
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
48+
rev: v2.11.0
49+
hooks:
50+
- id: pretty-format-toml
51+
name: Pretty Format TOML
52+
entry: pretty-format-toml
53+
language: system
54+
files: \.(toml)$
55+
56+
# YAML formatting
57+
- repo: https://github.com/pre-commit/mirrors-prettier
58+
rev: v3.0.0
59+
hooks:
60+
- id: prettier
61+
name: Prettier
62+
entry: prettier --write
63+
language: system
64+
files: \.(yml|yaml)$
65+
66+
# Markdown formatting
67+
- repo: https://github.com/executablebooks/mdformat
68+
rev: 0.7.17
69+
hooks:
70+
- id: mdformat
71+
name: MD Format
72+
entry: mdformat
73+
language: system
74+
files: \.(md)$
75+
additional_dependencies:
76+
- mdformat-gfm
77+
- mdformat-tables
78+
- mdformat-toc
79+
80+
# Check for large files
81+
- repo: https://github.com/pre-commit/pre-commit-hooks
82+
rev: v4.5.0
83+
hooks:
84+
- id: check-added-large-files
85+
name: Check Added Large Files
86+
entry: check-added-large-files
87+
language: system
88+
89+
- id: check-merge-conflict
90+
name: Check Merge Conflict
91+
entry: check-merge-conflict
92+
language: system
93+
94+
- id: check-yaml
95+
name: Check YAML
96+
entry: check-yaml
97+
language: system
98+
files: \.(yml|yaml)$
99+
100+
- id: check-toml
101+
name: Check TOML
102+
entry: check-toml
103+
language: system
104+
files: \.(toml)$
105+
106+
- id: check-json
107+
name: Check JSON
108+
entry: check-json
109+
language: system
110+
files: \.(json)$
111+
112+
- id: end-of-file-fixer
113+
name: End of File Fixer
114+
entry: end-of-file-fixer
115+
language: system
116+
exclude: ^target/.*$
117+
118+
- id: trailing-whitespace
119+
name: Trailing Whitespace
120+
entry: trailing-whitespace
121+
language: system
122+
exclude: ^target/.*$
123+
124+
# Shell script linting
125+
- repo: https://github.com/shellcheck-py/shellcheck-py
126+
rev: v0.9.0.5
127+
hooks:
128+
- id: shellcheck
129+
name: Shellcheck
130+
entry: shellcheck
131+
language: system
132+
files: \.(sh)$
133+
134+
# License header check
135+
- repo: local
136+
hooks:
137+
- id: license-header
138+
name: License Header
139+
entry: scripts/check-license-header.sh
140+
language: system
141+
files: \.(rs|ts|js|py)$
142+
pass_filenames: true
143+
144+
# Security scan
145+
- repo: local
146+
hooks:
147+
- id: security-scan
148+
name: Security Scan
149+
entry: cargo audit
150+
language: system
151+
files: Cargo.lock
152+
pass_filenames: false

CHANGELOG.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# Changelog
2+
3+
All notable changes to the REChain SDK will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Added
11+
- 🎉 **Complete Web Ecosystem**: Web3, Web4, and Web5 pallet implementations
12+
- ⛓️ **Advanced Blockchain Features**:
13+
- Cross-chain bridge functionality
14+
- Complete DeFi protocol suite (DEX, lending, yield farming)
15+
- Advanced NFT marketplace with creator royalties
16+
- Advanced governance systems with treasury management
17+
- Oracle integration for external data feeds
18+
- Zero-knowledge proof verification
19+
- Layer 2 scaling solutions
20+
- AI/ML integration capabilities
21+
- IoT blockchain integration
22+
- 🛠️ **Professional Git & GitHub Setup**:
23+
- Complete CI/CD pipeline with GitHub Actions
24+
- Comprehensive issue and PR templates
25+
- Security policy and vulnerability disclosure
26+
- Contributing guidelines and code of conduct
27+
- Automated deployment and monitoring
28+
- Development environment setup scripts
29+
- Multi-language SDK generation
30+
- Comprehensive testing frameworks
31+
- 📚 **Enterprise Documentation**:
32+
- Individual pallet documentation
33+
- Integration guides and examples
34+
- Migration documentation
35+
- API references and tutorials
36+
- Deployment and operations guides
37+
38+
### Changed
39+
- **Complete rebranding** from Polkadot SDK to REChain SDK
40+
- **Company rebranding** to REChain Network Solutions LLC
41+
- **Repository structure** updated for professional organization
42+
- **Build system** enhanced with comprehensive tooling
43+
- **Testing framework** expanded with integration and performance tests
44+
45+
### Fixed
46+
- All identified issues from previous versions
47+
- Security vulnerabilities addressed
48+
- Performance bottlenecks resolved
49+
- Documentation inconsistencies corrected
50+
51+
## [6.0.0] - 2025-09-29
52+
53+
### Added
54+
- **Initial Release**: Complete REChain SDK with all advanced features
55+
- **13 Major Pallets**: Full blockchain ecosystem implementation
56+
- **5000+ Lines of Code**: Comprehensive production-ready implementation
57+
- **Professional Setup**: Enterprise-grade development and deployment infrastructure
58+
59+
### Features
60+
- Web3, Web4, Web5 ecosystem
61+
- Cross-chain bridge functionality
62+
- Complete DeFi capabilities
63+
- Advanced NFT marketplace
64+
- Democratic governance systems
65+
- Oracle integration
66+
- Zero-knowledge proofs
67+
- Layer 2 scaling
68+
- AI/ML integration
69+
- IoT blockchain integration
70+
- Multi-signature wallets
71+
- Comprehensive security framework
72+
73+
## Project Structure
74+
75+
### Pallets
76+
- `substrate/frame/web3/` - DApp management and smart contracts
77+
- `substrate/frame/web4/` - Domain registration and content hosting
78+
- `substrate/frame/web5/` - Decentralized identity and credentials
79+
- `substrate/frame/bridge/` - Cross-chain interoperability
80+
- `substrate/frame/defi/` - Complete DEX and lending protocols
81+
- `substrate/frame/nft/` - NFT marketplace with royalties
82+
- `substrate/frame/governance/` - Advanced democratic governance
83+
- `substrate/frame/oracle/` - External data feeds and pricing
84+
- `substrate/frame/zkp/` - Zero-knowledge proof verification
85+
- `substrate/frame/layer2/` - Layer 2 scaling solutions
86+
- `substrate/frame/ai/` - AI/ML integration capabilities
87+
- `substrate/frame/iot/` - IoT blockchain integration
88+
- `substrate/frame/multisig/` - Enhanced multi-signature wallets
89+
90+
### Tools & Infrastructure
91+
- `scripts/deploy.sh` - Automated deployment script
92+
- `scripts/test-all.sh` - Comprehensive testing framework
93+
- `scripts/generate-sdk.sh` - Multi-language SDK generator
94+
- `scripts/setup-dev-env.sh` - Development environment setup
95+
- `scripts/backup.sh` - Backup and recovery automation
96+
- `Makefile` - Complete build automation
97+
- `docker-compose.yml` - Development infrastructure orchestration
98+
99+
### Git & GitHub
100+
- `.github/workflows/ci.yml` - CI/CD pipeline
101+
- `.github/workflows/deploy.yml` - Deployment automation
102+
- `.github/workflows/release.yml` - Release management
103+
- `.github/workflows/security.yml` - Security analysis
104+
- `.github/ISSUE_TEMPLATE/` - Professional issue templates
105+
- `.github/PULL_REQUEST_TEMPLATE.md` - PR template
106+
- `.github/SECURITY.md` - Security policy
107+
- `.github/CONTRIBUTING.md` - Contributing guidelines
108+
- `.github/CODE_OF_CONDUCT.md` - Code of conduct
109+
- `.gitignore` - Comprehensive exclusions
110+
- `.gitattributes` - File handling rules
111+
112+
## Contributors
113+
114+
REChain Network Solutions LLC development team and the open source community.
115+
116+
## License
117+
118+
This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) file for details.
119+
120+
---
121+
122+
*Changelog generated by REChain Network Solutions LLC*
123+
*Last updated: $(date)*

0 commit comments

Comments
 (0)