Skip to content

Commit

Permalink
fix: Changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
OT-kraftchain committed Jan 16, 2025
1 parent 6daae26 commit b2d0e46
Show file tree
Hide file tree
Showing 10 changed files with 2,648 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lib/
src/**/resources/
src/**/resources/
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ plugins {
id "com.github.node-gradle.node" version "7.1.0"
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

group 'io.grantshares'
version '1.0.0'
Expand Down Expand Up @@ -55,6 +57,12 @@ task testSolidity(type: Exec) {
}
test.dependsOn('testSolidity')

task contract(type : Exec) {
dependsOn('npmInstall')
// use locally installed node by the gradle-node-plugin
commandLine '.gradle/nodejs/node-v20.18.1-darwin-arm64/bin/npx', 'hardhat', 'run', './src/deploy/typescript/deploy_relayer.ts'
}

neow3jCompile {
className = "com.axlabs.neo.grantshares.GrantSharesTreasury"
}
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ src = 'src/main/solidity'
test = 'src/test/solidity'
out = 'artifacts'
libs = ['lib']
solc = "0.8.28"

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const accountMnemonic =

const config: HardhatUserConfig = {
solidity: {
version: '0.8.22',
version: '0.8.28',
settings: {
optimizer: {
enabled: true,
Expand Down
Loading

0 comments on commit b2d0e46

Please sign in to comment.