Skip to content

Commit

Permalink
Initial commit of vmwithcontracts from hypersdk repo
Browse files Browse the repository at this point in the history
  • Loading branch information
kpachhai committed Sep 23, 2024
1 parent aaafb77 commit f42d023
Show file tree
Hide file tree
Showing 152 changed files with 2,456 additions and 28,622 deletions.
15 changes: 12 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ awscpu
*.exe
*.exe~
*.dll
*.so
*.dylib
*.profile

Expand All @@ -28,8 +27,6 @@ awscpu
.vscode*
.env

*.pb*

# db*

*cpu[0-9]*
Expand All @@ -55,12 +52,24 @@ genesis.json
*.test

dist/
*.pk
tmp-storage-testing
deploys/
.nuklai-cli*
*.coverage.html
data/
osxcross/

/target/
target/
Cargo.lock
**/*.rs.bk

compose-dev.yaml

# Do not ignore specific .txt files for license check
!license-header.txt
!license-style.txt

# Custom
test_accounts/
18 changes: 9 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,8 @@ linters:
- whitespace
- staticcheck
- bodyclose
# - structcheck
# - lll
# - gomnd
- goprintffuncname
# - interfacer
- typecheck
# - goerr113
- noctx

linters-settings:
Expand Down Expand Up @@ -108,8 +103,13 @@ linters-settings:
excludes:
- G107 # https://securego.io/docs/rules/g107.html
depguard:
list-type: blacklist
packages-with-error-message:
- io/ioutil: 'io/ioutil is deprecated. Use package io or os instead.'
- github.com/stretchr/testify/assert: 'github.com/stretchr/testify/require should be used instead.'
rules:
packages:
deny:
- pkg: 'github.com/stretchr/testify/assert'
desc: github.com/stretchr/testify/require should be used instead.
- pkg: 'io/ioutil'
desc: io/ioutil is deprecated. Use package io or os instead.
- pkg: 'github.com/ava-labs/hypersdk/internal'
desc: internal packages should not be used in example VMs.
include-go-root: true
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024, ANuklaillianceBlock. All rights reserved.
# Copyright (C) 2024, Nuklai. All rights reserved.
# See the file LICENSE for licensing terms.

# ref. https://goreleaser.com/customization/build/
Expand Down Expand Up @@ -71,5 +71,5 @@ release:
make_latest: false # Should be done manually
mode: 'keep-existing' # Should not override releases
github:
owner: Nuklai
name: nuklaivm
owner: kpachhai
name: KP
Loading

0 comments on commit f42d023

Please sign in to comment.