Skip to content
Snippets Groups Projects
Select Git revision
  • 0bca15d6c4f1c951851802eb1ebcf940fe6e1f45
  • master default protected
  • fix_picked_up_file_in_runtime_release
  • network/gtest-1000 protected
  • upgradable-multisig
  • runtime/gtest-1000
  • network/gdev-800 protected
  • cgeek/issue-297-cpu
  • gdev-800-tests
  • update-docker-compose-rpc-squid-names
  • fix-252
  • 1000i100-test
  • hugo/tmp-0.9.1
  • network/gdev-803 protected
  • hugo/endpoint-gossip
  • network/gdev-802 protected
  • hugo/distance-precompute
  • network/gdev-900 protected
  • tuxmain/anonymous-tx
  • debug/podman
  • hugo/195-doc
  • gtest-1000-0.11.1 protected
  • gtest-1000-0.11.0 protected
  • gtest-1000 protected
  • gdev-900-0.10.1 protected
  • gdev-900-0.10.0 protected
  • gdev-900-0.9.2 protected
  • gdev-800-0.8.0 protected
  • gdev-900-0.9.1 protected
  • gdev-900-0.9.0 protected
  • gdev-803 protected
  • gdev-802 protected
  • runtime-801 protected
  • gdev-800 protected
  • runtime-800-bis protected
  • runtime-800 protected
  • runtime-800-backup protected
  • runtime-701 protected
  • runtime-700 protected
  • runtime-600 protected
  • runtime-500 protected
41 results

runtime-calls.md

Blame
    • Benjamin Gallois's avatar
      23c25376
      Automatic weights documentation (!222) · 23c25376
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix no weight
      
      * add const documentation
      
      * refactor error handling
      
      * refactor doc generation
      
      * refactor using if let chaining
      
      * add generic constructor
      
      * add automatic max block weight from metadata
      
      * remove all unwrap
      
      * update docs
      
      * add extrinsic base weight overhead
      
      * update metadata
      
      * fix readability
      
      * add weights to doc
      
      * fix  weight analyzer
      
      * add max_block_weight
      
      * add to workspace
      
      * rework as a lib
      
      * update all weights
      
      * fix overhead benchmark
      
      * add relative weight
      
      * fix weight evaluation with complexity parameters
      
      * add weights computation from weight files
      23c25376
      History
      Automatic weights documentation (!222)
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * fix no weight
      
      * add const documentation
      
      * refactor error handling
      
      * refactor doc generation
      
      * refactor using if let chaining
      
      * add generic constructor
      
      * add automatic max block weight from metadata
      
      * remove all unwrap
      
      * update docs
      
      * add extrinsic base weight overhead
      
      * update metadata
      
      * fix readability
      
      * add weights to doc
      
      * fix  weight analyzer
      
      * add max_block_weight
      
      * add to workspace
      
      * rework as a lib
      
      * update all weights
      
      * fix overhead benchmark
      
      * add relative weight
      
      * fix weight evaluation with complexity parameters
      
      * add weights computation from weight files
    build-apk.sh 1.38 KiB
    #!/bin/bash
    
    set -e
    
    fVersion=$(grep "version: " pubspec.yaml | awk '{ print $2 }')
    
    withPush=$1
    
    APPNAME="gecko"
    VERSION=$(awk -F '+' '{ print $1 }' <<<$fVersion)
    BUILD=$(awk -F '+' '{ print $2 }' <<<$fVersion)
    v7_app="app-armeabi-v7a-release.apk"
    v8_app="app-arm64-v8a-release.apk"
    x86_64_app="app-x86_64-release.apk"
    
    echo "Nom du build final: ${APPNAME}-${VERSION}+${BUILD}.apk"
    [[ $withPush == "withPush" ]] && echo "Publish after build"
    
    ## To build Rust dependancies
    # cargo br
    
    flutter clean
    flutter pub get
    if [[ $1 == "bundle" ]]; then
    	flutter build appbundle --release --build-name $VERSION --build-number $BUILD
    	exit 0
    else
    #	flutter build apk --release --split-per-abi --target-platform android-arm,android-arm64 --build-name $VERSION --build-number $BUILD
    	flutter build apk --release --split-per-abi --build-name $VERSION --build-number $BUILD
    #	flutter build apk --release --build-name $VERSION --build-number $BUILD
    fi
    
    DL="/tmp"
    appPathV7="$DL/${APPNAME}-${VERSION}+${BUILD}-v7a.apk"
    appPathV8="$DL/${APPNAME}-${VERSION}+${BUILD}-v8a.apk"
    appPathX84_64="$DL/${APPNAME}-${VERSION}+${BUILD}-x86_64.apk"
    mv build/app/outputs/flutter-apk/$v7_app "$appPathV7" || exit 1
    mv build/app/outputs/flutter-apk/$v8_app "$appPathV8" || exit 1
    mv build/app/outputs/flutter-apk/$x86_64_app "$appPathX84_64" || exit 1
    
    [[ $withPush == "withPush" ]] && /home/poka/scripts/link/pushGecko $VERSION+$BUILD
    
    exit 0